- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!