CX3 Debugging with JTAG Lauterbach is not possible if SPI is flashed

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

cross mob
JeaPhiMO
Level 1
Level 1
10 likes given 10 sign-ins 10 replies posted

I am using a lauterbach JTAG model LA-3500 DEBUG-USB3 for ARM9 with Denebola board based on CX3.

When I flash my own bootloader in SPI, It is not possible to debug with JTAG  using the following command:

D.LOAD D:\Dev\SmileFW\Bootloader_v2\CX3\Bootloader_v2\Release\Bootloader_v2.elf /NOCODE

On the other hand if the spi is empty (full of 0xff) It is possible to step , put break point .

I don't figure out why it is not possible to debug with SPI flash loaded ?

0 Likes
1 Solution

Hi,

>> My question is how to debug a bootloader loaded in Flash and above all is it possible?

Not possible, JTAG cannot debug if the bootloader/application firmware is loaded into Flash.

You can debug the same bootloader (which is loaded into Flash) by loading into RAM through JTAG.

.

View solution in original post

0 Likes
5 Replies