error while using flash magic(4.14) with keil for LPC954

Started by jdave, January 11, 2008, 11:05:32 AM

Previous topic - Next topic

jdave

I was using flash magic with keil to download my hex files in to LPC952 and it was working great.

but when i tried to use with LPC954, i am getting following error:

"C:\Program Files\Flash Magic\FM.EXE" "DEVICE(P89LPC954,18.0) ERASE(DEVICE,PROTECTISP) HEXFILE("H:\Projects\Venaflow MOD 8\Examples\NXP LPC954\serial_IRQ\123.HEX",NOCHECKSUMS,NOFILL,PROTECTISP) COM(3,9600) HARDWARE(KEILMCB900)"

Flash Magic Version 4.14.269

8051/XA Driver Version 2.41.267

ARM Driver Version 1.41.267

(C) Embedded Systems Academy 2000-2008 All rights reserved

NON PRODUCTION USE ONLY

ERROR: Invalid parameters for DEVICE directive: DEVICE(P89LPC954,18.0)

am i missing something ?

thanks for your help in advance.

Je Gold

The FM Manual   in the command line section most (but not all)  LPC900's not requiring frequency as part of the device command.

The examples shown for device selection do not show an example where frequency is not used.


Joe

Andy Ayre

Get it working with the graphical interface to Flash Magic, then go to the File menu and choose Save Command Line Directives. Then try using those. Post back if you still have problems.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

jdave

Still it gives me following error,

Program Size: data=9.0 xdata=0 code=146
creating hex file from "123"...
"123" - 0 Error(s), 0 Warning(s).
"C:\Program Files\Flash Magic\FM.EXE" "DEVICE(P89LPC954,18.0) ERASE(DEVICE,PROTECTISP) HEXFILE("H:\Projects\Venaflow MOD 8\Examples\NXP LPC954\serial_IRQ\123.HEX",NOCHECKSUMS,NOFILL,PROTECTISP) COM(3,9600) HARDWARE(KEILMCB900, 250,120)"
Flash Magic Version 4.14.269
8051/XA Driver Version 2.41.267
ARM Driver Version 1.41.267
(C) Embedded Systems Academy 2000-2008 All rights reserved
NON PRODUCTION USE ONLY
ERROR: Invalid parameters for DEVICE directive: DEVICE(P89LPC954,18.0)


here is the copy of the command line paramenters
COM(3, 9600)
DEVICE(89LPC954, 3.686400)
HARDWARE(KEILMCB900, 250, 120)
ERASE(DEVICE, PROTECTISP)
HEXFILE(H:\Projects\Venaflow MOD 8\Examples\Philips LPC95x\Mod8_0_0_2\Mod8_1.hex, NOCHECKSUMS, NOFILL, PROTECTISP)

Andy Ayre

Please download and try version 4.15. Post back if you still have a problem with this.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com