Can you flash your target device with 'make' and not provide source code?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I have a testing vendor who will need the latest firmware to be flashed to our device.

Now, I know you can use the 'make' utility, running in a Windows DOS prompt, in the WICED_SDK directory to flash a device.

It works just fine if the app's source is in its associated directory.

But, I tried just providing the vendor the "build" subdirectory for the app, but then the 'make' doesn't work.

Do I have to provide the source or is there a better way to do this?

(I'm using WICED 3.1.1 on a Windows machine).

-- Cheers, Robert

0 Likes
1 Solution
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

try add VERBOSE=1 in your make command line

which will show how the openOCD download image into target flash!

View solution in original post

0 Likes
6 Replies
JoYi_1844281
Level 6
Level 6
100 sign-ins 100 replies posted 50 likes received

try add VERBOSE=1 in your make command line

which will show how the openOCD download image into target flash!

0 Likes
Anonymous
Not applicable

I tried the VERBOSE=1 switch on the make line.  No difference, it ignored it.

However, I tried a '-n' switch and did see the make sequence echoed.  Thanks for the idea!

It would be REALLY nice if there was a simple utility that moved the binaries to the target's flash and you're done!

Don't like the idea of having source laying around for the folks that are just flashing devices.

0 Likes
Anonymous
Not applicable

Sorry about that!  I needed to place the VERBOSE=1 at the end of the make command, not right after the word 'make'.

So, using either VERBOSE=1 or the -n switch, I extracted the three OpenOCD lines that I needed (Bootloader, DCT and Application) and now I have a DOS .bat file that directly flashes the target device without the requirement for source code.  Super!

Thanks for your help!

You are welcome!

0 Likes
Anonymous
Not applicable

hi  idicrc

could you please share your bat file with me, even in private ?

thanks a lot !

best regards

Etienne

0 Likes
Anonymous
Not applicable

Etienne:

   Of course!  Shoot me an email to "robertmoore@coca-cola.com" and I'll send you the .bat file text.

   Cheers, Robert