Hej I am using uVision 2.37 with C51 version 7.05C. I would like to set a break point in a stack overflow. Can anyone tell me how to set a break point on write access to I:0x7f Thank you
Something must be differente on my system because when I execute the
bs write i:0x70
if you use the triscend driver for debug purpose you can't make a breakpoint on data, idata and or sfr. The problem is that the breakpoint unit cann't break on this because the 8051 core make a DIRECTY access to this resource and doesn't use the CSI bus, so the breakpoint unit can't see the access !! You can read this triscend note. http://portal.knowledgebase.net/display/1/kb/article.asp?aid=16770 christophe.
OK, I understand the limitation now. Thank you for the help.
GRUN Christophe wrote: "if you use the triscend driver for debug purpose you can't make a breakpoint on data, idata and or sfr." Actually, that's non-exported SFRs - see the knowledgebase article that we have both cited!