Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: rew1 on October 27, 2011, 05:43:25 AM

Title: error while downloading hex file to lpc2478
Post by: rew1 on October 27, 2011, 05:43:25 AM
Dear All,

I am teaching an embedded systems course and it is the first time for me to use the KEIL NXP LPC2478 board
I have followed the steps in the board's manual to download the "blinky project" onto the board, but I get this error:
"invalid hexfile directive (#H,NOCHECKSUMS,NOFILL,PROTECTISP) !!"

I would strongly appreciate it if somebody can help me out of this. Here are a few details:
Device: KEIL NXP LPC2478 EVAL BOARD.
PC OS: windows XP
Keil uV: version 1.13.0.0
flash magic: version 5.91.2465

this error came while following the steps illustrated in the following link to start the blinky example:
http://www.keil.com/support/man/docs/mcb2470/mcb2470_fp_flash_external.htm

may by there is a problem with the arguments:
Arguments: DEVICE($D,$X) ERASE(DEVICE,PROTECTISP) HEXFILE(#H,NOCHECKSUMS,NOFILL,PROTECTISP) COM(4,115200) HARDWARE(BOOTEXEC,100,50)


Thanks in advance!
Title: Re: error while downloading hex file to lpc2478
Post by: Andy Ayre on October 28, 2011, 01:27:56 AM
$D, $X and #H are replaced by uVision into real values. If you look at the last image on the page you referenced you can see that uVision shows you the actual command line that was used. Please post that.

Andy