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
Dennis; I am running V7.06 but I feel the BS will be the same. In the command line enter: BS I:0x7F, 1 The command is not case sensitive. Or you can enter the BreakSet dialog from Debug -> Breakpoints. In the expression window enter I:0x7F. In the count window enter 1. In the Access window select Write, Size 1 and Bytes. Click the Define button and the expression will show in the Current Breakpoints window as follows: (C Mark) (A write I:0x7F len=1), 'i:0x7f'. This same definition will appear with the definition from the command line. Don't expect to see the Red Flag indicating a breakpoint. That only shows on an execute breakpoint. Bradford
When I enter the BS command in the command window I get the following error: BS Write I:0x7f, 1 *** error 73: unsupported breakpoint type I am running on a Triscend TE505 processor using flash for program storage. Are there any reason this hardware should not support break points of this type?
I have not managed to get data breakpoints to work at all with the E5 via uVision. :-( Anyway, because IDATA is internal to the 8032 core it is not accessible to the E5's on-chip breakpoint hardware. See http://portal.knowledgebase.net/article.asp?article=16770&p=171
View all questions in Keil forum