Author Topic: ERROR: Invalid parameters for DEVICE directive:  (Read 4835 times)

phezo

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
    • Email
ERROR: Invalid parameters for DEVICE directive:
« on: November 20, 2012, 03:45:02 pm »
Hi All,
I am attempting to program an NXP PXAG49KBA using your command line tool FM.exe
I have saved the directive from a successfull flash and found when I ran the command line verification I received the following...
Flash Magic Version 7.01.2924
8051/XA Driver Version 3.02.2805
ARM UART Driver Version 3.03.2727
ARM Cortex UART Driver Version 4.21.2924
ARM Ethernet Driver Version 2.03.2911
ARM Cortex Ethernet Driver Version 2.05.2911
ARM CAN Driver Version 2.03.2727
(C) Embedded Systems Academy 2000-2012 All rights reserved
NON PRODUCTION USE ONLY

ERROR: Invalid parameters for DEVICE directive: DEVICE(XA-G49, 20.000000, 0)

My Directive file is below
COM(3, 9600)
DEVICE(XA-G49, 20.000000, 0)
HARDWARE(BOOTEXEC, 50, 100)
ERASEUSED(C:\Documents and Settings\xxxxxx\Desktop\PY Auto DownLoad\Flash Magic\XY IBT SERIAL SNOOPER.HEX, PROTECTISP)
HEXFILE(C:\Documents and Settings\xxxxxx\Desktop\PY Auto DownLoad\Flash Magic\XY IBT SERIAL SNOOPER.HEX, NOCHECKSUMS, NOFILL, PROTECTISP)

If possible can someone please assist... Many thanks in advance..

BR
Phezo

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: ERROR: Invalid parameters for DEVICE directive:
« Reply #1 on: November 21, 2012, 10:01:26 am »
There is a bug in the command line version which means you have to use XAG49 instead of XA-G49. The next release will support both versions on the command line.

Thanks for letting us know.

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