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
Jon; Thanks for the correction. A typo on my part. My orignal entry was BS Write I:0x7F,1 I dropped the write access in typing but both entries in my previous reply worked with external memory simulation. Yes, I know that IDATA will always be in internal ram but I was trying to simulate Dennis setup. Bradford
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!