Hi all,
I'm using part of the lpc21isp to program lpc2106 and I've found that
there is a problem with binary images larger that 64k. I'm using Keil
uVision 3 and hex files. I've seen that hex file contains record type 04
to jump the 64k limit of the adresses. With the follow change it works
for me:
else if(RecordType == 0x04) // 04 - Extended linear
address record, used by IAR
{
unsigned long app;
app = Ascii2Hex(FileContent[Pos++]);
app <<= 4;
app = Ascii2Hex(FileContent[Pos++]);
app <<= 4;
app = Ascii2Hex(FileContent[Pos++]);
app <<= 4;
app = Ascii2Hex(FileContent[Pos++]);
app <<= 16;
RealAddress |= app;
DebugPrintf( 1, "RecordType %02X: New RealAddress =
%08X\n", RecordType, RealAddress);
}
I hope this can help other users.
Cheers,
Stefano.Message
lpcisp program
2005-09-30 by Stefano Coluccini
Attachments
- No local attachments were found for this message.