# Debug Help!

**URL:** <https://forums.digi.com/t/debug-help/4718>\
**Category:** NET+OS\
**Created:** [March 14, 2003, 9:27am UTC](https://forums.digi.com/t/debug-help/4718 "2003-03-14T09:27:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harold](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@Harold](https://forums.digi.com/u/Harold)\
**Post date:** [March 14, 2003, 9:27am UTC](https://forums.digi.com/t/debug-help/4718/1 "2003-03-14T09:27:36Z")

</div>

I have debuged the application with visual X-tools debugger on the 7520 Board. It need to modify the .ini file. But I still have some questions.I can’t debug the .s file. In the ComboBox ,there is only the \*.c files no \*.s files. And I can’t not read the register in the cpu.Such as the SCR,MCR…

---

<div class="post-metadata">

**Author:** ![muscleman](https://avatars.discourse-cdn.com/v4/letter/m/f1d935/32.png) [@muscleman](https://forums.digi.com/u/muscleman)\
**Post date:** [March 18, 2003, 5:05pm UTC](https://forums.digi.com/t/debug-help/4718/2 "2003-03-18T17:05:35Z")

</div>

bsp needs to be rebuilt

---

<div class="post-metadata">

**Author:** ![Harold](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@Harold](https://forums.digi.com/u/Harold)\
**Post date:** [March 19, 2003, 5:24am UTC](https://forums.digi.com/t/debug-help/4718/3 "2003-03-19T05:24:57Z")

</div>

I have rebuild the bsp file.Also i rebuild the gnusrc. But i still can’t debut the assemble file. Is there some setting i havn’t to set? For example,I debug the template project.After loading, I type si; the screen print: \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> (netsilicon-gdb) si 0x816630 in Reset\_Handler\_ROM () (netsilicon-gdb) si 0x816634 in Reset\_Handler\_ROM () (netsilicon-gdb) si 0x816638 in Reset\_Handler\_ROM () (netsilicon-gdb) si 0x81663c in Reset\_Handler\_ROM () \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> But if i type s,the result is \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> (netsilicon-gdb) s Single stepping until exit from function Reset\_Handler\_ROM,which has no line number information.\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> Also i can’t read the register value of the NS7520. follow is my result \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> (netsilicon-gdb) x 0x0 0x0: 0x55aaaa55 (netsilicon-gdb) x 0xfb000000 0xfb000000: Cannot access memory at address 0xfb000000 \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> At the same time the remote shell window is: \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> $./netsiliconLibRemote.exe & [1] 1006 $Started listening socket on port 8888. OCDemon : RAVEN via LPT 1 at speed : 1 Accepted gdb connection. Memory Read fb000000 Error : Target Bus Error Memory Read fb000000 Error : Target Bus Error \>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\>\> I have study the debug for a few days.If you can resolve the problem,please share it with me.Thanks a lot.
