Hi Martin,
I use an old version but I verified that also the 1.27 does not
implement the 0x04 record type (it is not a bug, only not implemented
record type).
Bye,
Stefano.
Martin Maurer wrote:
> Hello,
>
> which version have you tried and found this bug ?
>
> Regards,
>
> Martin
>
> ----- Original Message -----
> From: "Stefano Coluccini" <s.coluccini@...>
> To: <lpc2000@yahoogroups.com>
> Sent: Friday, September 30, 2005 12:33 PM
> Subject: [lpc2000] lpcisp program
>
>
>> 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.
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>Message
Re: [lpc2000] lpcisp program
2005-10-03 by Stefano Coluccini
Attachments
- No local attachments were found for this message.