Using Dave as Download Tool

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

cross mob
Not applicable
Any idea how to use Dave to just download an elf or hex to the target.

J-Link lite is to be used.

Debugging is not needed.
Source of the Project may not be available.

So, do not start maling of Project, just pick .elf and download.
0 Likes
5 Replies
Not applicable
Hi Volker,

You may try to use J-Link Commander ("loadbin" command) to download binary file into the target.

BR,
Zain
0 Likes
Not applicable
Thanks Zain,

i think this is probably the way. Can you be a Little more specific ?

from j-link I tried:

device XMC4500-1024
loadbin test.elf 0xc000000

It did something that looked like Programming from Dave, but it was icredibly slow ( 180 seconds ) and not working after download
0 Likes
Not applicable
Hi Volker,

I didn't try to download the .elf file using "loadbin" command since no debug is required. I just tried to download the .bin file into the target device.

BR,
Zain
0 Likes
Not applicable
here is the way to do it:

convert the elf to bin

- C:\DAVE-3.1.8\ARM-GCC\bin\arm-none-eabi-objcopy -O binary test.elf test.bin

start the j-link commander. in the terminalwindow enter:

J-Link>device XMC4500-1024
J-Link>loadbin test.bin 0xc000000

thats all
0 Likes
Not applicable
Hi Volker,

Thanks for the info.

BR,
Zain
0 Likes