Reply by Tom Walsh November 1, 20062006-11-01
Ioannis wrote:
>
> Dear All,
>
> I'm planning to use LPC2106 for a new design. My question is how big
> program could be up-loaded via ISP/IAP.
> I know that for Atmel SAM7 is restricted to 64 KB (due to RAM), as
> also for STR7 up to 128 KB (due to Flash). So, do you know if any
> limitation about size of program uploading is in LPC2106.
>
Well, with ISP, it is written in small chunks: 256, 512, 1024 or 4096
bytes. It is true that some LPC2000 Flash sectors are 32K in size,
but you don't have to write all 32K at once! You can erase the entire
32K sector, then incrementally program it in smaller block chunks.

Look at the LPC2138 user manual, the information on the Flash
programming via ISP or IAP is very clearly written about. What I found
to be difficult to write (for the ISP uploader) was uuencoder for the
byte strings. The data does not get sent to the resident bootloader as
binary data, but as "triplets" of ascii characters. With the IAP, you do
it differently, IAP is more like what you've seen before for a processor
to program its' Flash devices.
TomW

--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net http://cyberiansoftware.com http://openzipit.org
"Windows? No thanks, I have work to do..."
----------------

An Engineer's Guide to the LPC2100 Series

Reply by Ioannis November 1, 20062006-11-01
Dear All,

I'm planning to use LPC2106 for a new design. My question is how big
program could be up-loaded via ISP/IAP.
I know that for Atmel SAM7 is restricted to 64 KB (due to RAM), as
also for STR7 up to 128 KB (due to Flash). So, do you know if any
limitation about size of program uploading is in LPC2106.

Thank you, and kind Regards
Ioannis