Help! JTAG/SWD Download FW to CF won't running!

Firmware/software/electronics/mechanics
Post Reply
gl516
Member
Posts: 35
Joined: Thu May 30, 2013 1:43 am

Help! JTAG/SWD Download FW to CF won't running!

Post by gl516 »

hi ...guys :)
I try to use the JTAG/SWD download directly "cflie - 2013.4.bin" firmware , but found the CF won't run (led no state)?
But I try to load a" cloader. hex "firmware, success! System can run normally (double led constantly flashing), isn't this Application program FW (cflie - 2013.4. Bin) download firmware must pass cloader's FW guide? Or must specify FLASH space to download directly. The TKS!
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Help! JTAG/SWD Download FW to CF won't running!

Post by tobias »

When you flash with a JTAG/SWD the FW must be compiled with CLOAD=0 so the addressing will be correct. It will overwrite the bootloader so you will have to flash that back if you want to use that instead.

Code: Select all

make CLOAD=0
gl516
Member
Posts: 35
Joined: Thu May 30, 2013 1:43 am

Re: Help! JTAG/SWD Download FW to CF won't running!

Post by gl516 »

tobias wrote:When you flash with a JTAG/SWD the FW must be compiled with CLOAD=0 so the addressing will be correct. It will overwrite the bootloader so you will have to flash that back if you want to use that instead.

Code: Select all

make CLOAD=0
============
tks!!! i will try to do it ..................:)--------------------5 minutes later............ Success! Thank you very much!!!!...
In addition! By the way .............I want to ask a question, how do I modify the source code ? What needs to be in a platform?
tobias
Bitcraze
Posts: 2339
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

Re: Help! JTAG/SWD Download FW to CF won't running!

Post by tobias »

To get a quick start I would recommend to test the virtual machine.
Post Reply