Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: yuligar on December 22, 2008, 04:17:57 AM

Poll
Question: Hex file programming failed: invalid command
Option 1: LPC2368 votes: 0
Option 2: Hex file programming votes: 0
Title: LPC2368
Post by: yuligar on December 22, 2008, 04:17:57 AM
Hello
I'm working with LPC2368, I have a script so I'm doing all operations from command line.
sometimes I get the message: "Hex file programming failed: invalid command..."
although the Hex file is located in the path position, and on second run the script will find that Hex file.
What can be the reason for that error?
Thanks in advance
Title: Re: LPC2368
Post by: Andy Ayre on December 22, 2008, 07:45:27 AM
Typically that means the device didn't like one of the commands sent. Please add the DEBUG directive to the command line. This will generate C:\flashmagic.fmd (on XP). Once you have that file please email it to us.