Yahoo Groups archive

Lpc2000

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

Thread

Philips FLASH facility Problem

Philips FLASH facility Problem

2005-08-29 by dave_baker_100

Hi all,

I'm using the Philips LPC2000 FLASH utility (v2.21) & I'm getting a 
"Invalid or unsupported HEX file" message when trying to download to a 
device. I'm using GCC (WinARM v4.0) to generate an elf file & using 
objcopy to create the hex file from it. 

Has anyone come across this message or know what I'm doing wrong ?

Thanks
Dave

Re: [lpc2000] Philips FLASH facility Problem

2005-08-30 by Charles Manning

On Tuesday 30 August 2005 11:05, dave_baker_100 wrote:
> Hi all,
>
> I'm using the Philips LPC2000 FLASH utility (v2.21) & I'm getting a
> "Invalid or unsupported HEX file" message when trying to download to a
> device. I'm using GCC (WinARM v4.0) to generate an elf file & using
> objcopy to create the hex file from it.

Look at the hex file format. Does it look like the same formatting as some of 
the hex files on the files area. eg this one:

:10000000050000EA040000EA030000EA020000EA3A
:10001000010000EA000000EAFFFFFFEA08009FE598
:1000200008109FE5041080E5FEFFFFEA00C002E033
:040030000000405537
:00000001FF

Also, try the lpc21isp tool.

Re: Philips FLASH facility Problem

2005-08-30 by theothervmax

--- In lpc2000@yahoogroups.com, "dave_baker_100" <dave_baker_100@y...> wrote:
> Hi all,
> 
> I'm using the Philips LPC2000 FLASH utility (v2.21) & I'm getting a 
> "Invalid or unsupported HEX file" message when trying to download to a 
> device. I'm using GCC (WinARM v4.0) to generate an elf file & using 
> objcopy to create the hex file from it. 
> 
> Has anyone come across this message or know what I'm doing wrong ?
> 
> Thanks
> Dave

Once I got the same message from Flash Utility. The problem was that the HEX file didn't terminated with ":00000001FF". So, when I set my IAR linker format variant to "end only with :00000001FF" everything started working.

Re: Philips FLASH facility Problem

2005-08-30 by dave_baker_100

Thanks for the suggestions.
It turned out that my hex file was mapped to external RAM not internal 
FLASH so I guess the LPC2000 utility was objecting to that. An error 
message indicating this would have been nice though! 

Dave

> --- In lpc2000@yahoogroups.com, "dave_baker_100" <dave_baker_100@y.
..> wrote:
> > Hi all,
> > 
> > I'm using the Philips LPC2000 FLASH utility (v2.21) & I'm getting 
a 
> > "Invalid or unsupported HEX file" message when trying to download 
to a 
> > device. I'm using GCC (WinARM v4.0) to generate an elf file & 
using 
> > objcopy to create the hex file from it. 
> > 
> > Has anyone come across this message or know what I'm doing wrong ?
> > 
> > Thanks
> > Dave
> 
> Once I got the same message from Flash Utility. The problem was that 
the HEX file didn't terminated with ":00000001FF". So, when I set my 
IAR linker format variant to "end only with :00000001FF" everything 
started working.

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.