> I have a weird problem (hmmm, what problems aren't weird?) > regarding the optimization flag in GCC. > ... > > So my idea was to try to debug the uC-code from Eclipse with > OCD Remote. If I do it with the code compiled with -03 (as it > shouldn't be according to James P. Lynch's excellent guide) > it starts up alright and the app talks with the PC. But when > I set a breakpoint and try to single-step through the code I > get the error "Target request failed: Target is not > responding (timed out).". I get this error message now as well in Insight (or it thinks the target has continued running) I think it correlates with moving to the newer OCDremote which handles hardware breakpoints. So one step forward (hardware breakpoint support) and one back (stuffed after 1 breakpoint). I haven't had time to investigate further; it may be a hardware problem with the PC I'm using as someone stole the PC I was using for debugging. Cheers, Bruce
Message
RE: [lpc2000] Optimization problem
2006-01-18 by Bruce Paterson
Attachments
- No local attachments were found for this message.