At 02:30 AM 10/28/05 +0000, timothymarknorton wrote: >We've just started making the move to Philips ARM7 (LPC213x). I have >a IAR Kickstart kit and starting my first project with the 32K limit >compiler. We've been toying with the idea of using the GNU compiler. >However, from what I've found so far, it looks as though none of the >free tools allow you to program and debug from flash. Is this correct >or am I missing something? Not true, or at least incomplete. There is certainly plenty of free support for programming flash. There is Philips own utility and two others that I am aware of for programming the flash via the serial port. And IAP works whether you use GNU or a commercial compiler. As far as debugging goes, it is quite possible to debug GNU code from flash either using commercial debuggers or even a wiggler. The problem with using the wiggler for this is at the moment the higher level views don't support the use of the HW breakpoints so you can't single step or set breakpoints from Insights C source window. You can use the assembly view to do so though. It's also rather slow. What I haven't seen in any of the descriptions of ANY available debugger for the ARM microcontrollers is one with a decent watchpoint facility. One that would allow you to set a break when a certain value was written to a certain location or range of locations for instance (while running at full speed of course). Robert " 'Freedom' has no meaning of itself. There are always restrictions, be they legal, genetic, or physical. If you don't believe me, try to chew a radio signal. " -- Kelvin Throop, III http://www.aeolusdevelopment.com/
Message
Re: [lpc2000] Debugging from flash
2005-10-28 by Robert Adsett
Attachments
- No local attachments were found for this message.