Tech Support > Computer Hardware > Microprocessors > Help with Zilog ZDS II: need debugging tips
Help with Zilog ZDS II: need debugging tips
Posted by smazzux@gmail.com on June 30th, 2008


Hi to everybody and thanks for your time and effort.

I already posted to the Zilog support, but they are not answering me.
And I think that if anybody would ever post a reply to this thread it
could possibly be useful to somebody else too.

I'm developing a software with RZK and ZTP (both version 2.1.0) with
ZDS II version 4.11 for a Zilog eZ80 processor. I'm facing failures
during code execution (reboot/cpu hang).

I would like to know If you could give me some hints on how to debug
this kind of errors.
I wasn't able to use the call stack debug window (it always shows
"Call stack data unavailable") and I'm not even sure where to put the
breakpoints, anyway.
Another issue I'm facing is the incapacity to know the state of each
thread currently running (ex. the function where a thread stopped
waiting for an event) - maybe a fault of mine.

I'm trying to manually insert canaries to investigate buffer overflows
and putting serial prints at the entry and exit points of every
function.

I would be glad if you could suggest me any useful tecnique to debug
my problem.

Any help is greatly appreciated.

Giulio Mazzoleni


Similar Posts