The IAP interface supports programming of blocks that are 512, 1024,
2048, 4096, 8192 bytes.
Since the IAP routines are used by most programmers this means that your
application is padded with zeros, 0xFF or junk depending on the
implementation of the programmer. The size of the padding depends on the
block size used by the programmer.
Regards,
Richard.
Tom Walsh wrote:
> Saravanakumar S wrote:
>
> >Hi all,
> > I am newbie to this field.I am using LPC 2106 for my application.
> >
> >I write the code to test the unused ROM data.My program size is 500
> >bytes.After 500 bytes, remaining bytes are unused ROM space only
> >
> >May be the unused ROM data will be either 0x00 or 0xFF ?
> >
> >My code :
> >
> >void main (void)
> >{
> > unsigned int Output=0,Pass=0;
> > Output=ROM_Check(0x00000800,10);
> > if(Output == 0)
> > Pass=0;
> > else
> > Pass=1;
> >}
> >unsigned int ROM_Check(unsigned int *Start_address,unsigned int ROM_Size)
> >{
> > unsigned int c;
> > for (c = 0; 0 < ROM_Size; ROM_Size- -)
> > {
> > c += *Start_address;
> > Start_address++;
> > }
> > return (c);
> >}
> >
> >But, when I check the ROM data, I am getting different kind of data like
> >this EF D5 EA E4 EE D0 F6 D0 E3 FA
> >
> >I want to know whether it is correct or not ?
> >What will be the unused ROM data?
> >
> >
> Unprogragmmed Flash memory is $ff, same as "normal" flash.
>
> TomW
>
> --
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------------------------------------------
>
>
>Message
Re: [lpc2000] Unused ROM data-0 or 0xFF?
2006-04-06 by Richard Duits
Attachments
- No local attachments were found for this message.