Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Debugging from flash

2005-10-28 by Joel Winarske

> 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?

Take a look at the Phillips LPC213x example:
[default install]
C:\Program Files\IAR Systems\Embedded Workbench 4.0 
Kickstart\arm\src\examples\Philips\LPC213x\IAR-P213x\Lpc213x_demo.eww

The J-Link is setup as the debugger driver for this project and is ready to 
go.  Connect your J-Link to your target, make sure all is powered on 
correctly, and click debug.  It will load part and break on main().

The 32k Free tool covers most projects.  When you start hitting the wall 
switch to thumb mode, then start optimizing.  I'm currently running Segger's 
embOS RTOS, a SD FAT-16 implementation, six interrupt driven proprietary 
comm lines, fourteen I/O, and an RS-232 interface well within the 32k 
window.  Once I add the USB code I will most likely exceed the 32k CODE/DATA 
window.  The LPC2148 is a really nice part.  Nice work Phillips.


Joel

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.