Author Topic: error while using flash magic(4.14) with keil for LPC954  (Read 7632 times)

jdave

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
error while using flash magic(4.14) with keil for LPC954
« on: January 11, 2008, 11:05:32 am »
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

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: error while using flash magic(4.14) with keil for LPC954
« Reply #1 on: January 13, 2008, 05:46:24 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: error while using flash magic(4.14) with keil for LPC954
« Reply #2 on: January 14, 2008, 08:24:42 am »
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

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: error while using flash magic(4.14) with keil for LPC954
« Reply #3 on: January 14, 2008, 09:37:29 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: error while using flash magic(4.14) with keil for LPC954
« Reply #4 on: January 15, 2008, 08:22:20 am »
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