JTAG Debugger

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

cross mob
Anonymous
Not applicable

Hi,

   

I amusing Segger J-Link to debug the firmware. I followed the steps outlined in section 12.3 of Programmer's Manual but I end up with the following error: 

   

 

   

660^done
(gdb)
661-data-disassemble -s 0x0 -e 0x3c -- 1
661^error,msg="Cannot access memory at address 0x40010758"
(gdb)
662-data-disassemble -s 0x1 -e 0x45 -- 1
662^error,msg="Cannot access memory at address 0x40010758"
(gdb)
663-data-disassemble -s 0x2 -e 0x46 -- 1
663^error,msg="Cannot access memory at address 0x40010758"
(gdb)
...............

   

 

   

How do I resolve this one?

   

 

   

Thanks!

0 Likes
6 Replies
Anonymous
Not applicable

 Hi,

   

Please check if the ARM 9 CPU is been detected in the GDB Server. If not, please check for any loose connections.

   

Regards,

   

-Madhu Sudhan

0 Likes
Anonymous
Not applicable

 Madhu, 

   

So when I plug in debugger, it should automatically detect the core? I didn't see any option, so I manually selected ARM9. 

   

 

   

Thanks. 

0 Likes
Anonymous
Not applicable

I am attaching screenshots for the issue. From what I understand, the device is being recognised. I don't know if its an error - but I end up with - No source found for "".

   

How do I debug the firmware from this point?

   

 

   

Thanks.

0 Likes
Anonymous
Not applicable

Figured out, I have to run "Resume".

   

But I had another query, should the firmware be loaded on RAM/I2C/EEPROM? Or I can run the debugger using the Eclipse interface itself?

0 Likes
Anonymous
Not applicable

You should run it from the Eclipse interface itself.

   

The firmware is downloaded through JTAG into the chip. Its essentially a RAM download, but you do it through JTAG pins.

0 Likes
Anonymous
Not applicable

Thanks!

0 Likes