EmbDev.net

Forum: ARM programming with GCC/GNU tools MP3 player step by step debug using eclipse & openocd


von Guillet D. (djdav)


Rate this post
useful
not useful
i would like to step by step Andrea's Code code under eclipse using ocd
as described in "Using Open Source Tools for AT91SAM7S Cross
Development" document.

I follow the document and enter the following lines in "Run command" for
the debug configuration. I choosed the Ram debug because it seems that
Andrea's MP3 player is loaded in RAM.

"monitor soft_reset_halt
monitor armv4_5 core_state arm
monitor mww 0xffffff60 0x00320100
monitor mww 0xfffffd44 0xa0008000
monitor mww 0xfffffc20 0xa0000601
monitor wait 100
monitor mww 0xfffffc2c 0x00480a0e
monitor wait 200
monitor mww 0xfffffc30 0x7
monitor wait 100
monitor mww 0xfffffd08 0xa5000401
set remote memory-write-packet-size 1024
set remote memory-write-packet-size fixed
set remote memory-read-packet-size 1024
set remote memory-read-packet-size fixed
monitor mww 0xfffffd00 0xa5000004
monitor mww 0xffffff00 0x01
monitor reg pc 0x00000000
monitor arm7_9 sw_bkpts enable
load
continue"

However when starting the debug, it stops at 20% loading. My debug
configuration seems to have a problem ... Does anybody has a working
debug configuration ?

(When using basic example such as blinking led, I can debug well)

Thanks ,
David

von James L. (lynchzilla)


Rate this post
useful
not useful
Hi David.

Just how big is this MP3 application? I would imagine that it's huge and
exceeds the RAM space by quite a bit. You can inspect the map file and
see just how big the compiled ap is in regard to the available RAM.

Cheers,
Jim Lynch

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.