Discussion Forum

ISD51, and IDATA segment definition

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Peter Williams
Posted
30-Sep-2004 17:12 GMT
Toolset
C51
New! ISD51, and IDATA segment definition
ISD51 manuals indicates that a break point requires 2 bytes of idata. In what segment are these declared?

I supect that my call return stack is getting corrupted, causing a reset0.

Single Stepping works fine, until the code attempts to return from either an assembler or C call.

Depending on the how the code is built pattern, some projects have this behaviour: others do not, despite the same setup.
Read-Only
Author
Peter Williams
Posted
30-Sep-2004 17:28 GMT
Toolset
C51
New! RE: ISD51, and IDATA segment definition
I can be more precise, that my previous message:

if one single steps through a RET instruction, things are fine.

However, If one steps OVER a CALL, then the reset0 hangs. The call performs its work, however. The hang occurs upon RET, or shortly thereafter.
Read-Only
Author
Peter Williams
Posted
30-Sep-2004 17:58 GMT
Toolset
C51
New! RE: ISD51, and IDATA segment definition
Well,

The behaviour I cited in the thread goes away - if I lower the baud rate!

My conclusion, from several months of ISD51
observation and use.

(A) if windows is too loaded, it can be too slow to allow proper debugging, at higher ISD51's breakpoint handling baud rates.A reboot has sorted hangs, before now.

(B) Even though cables can transfer code and check application ROM at high baud rates, this does not mean the break point management process can also work effecitively at the same data rate.

Next Thread | Thread List | Previous Thread Start a Thread | Settings