Author Topic: error while downloading hex file to lpc2478  (Read 4486 times)

rew1

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
error while downloading hex file to lpc2478
« 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!

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: error while downloading hex file to lpc2478
« Reply #1 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
Embedded Systems Academy, Inc.
support at esacademy dot com