Flash Magic Forum

In-System Programming Support => LPC2xxx => Topic started by: canggou on October 25, 2007, 02:02:47 AM

Title: LPC2103 command line problem
Post by: canggou on October 25, 2007, 02:02:47 AM
First:My English is not so good

The problem is:
1. if you power on the LPC2103 then try to flash the AMR using command line within approximately  10 seconds
fm @a.txt
a.txt contents
COM(1, 9600)
DEVICE(LPC2103, 10.760000)
HARDWARE(BOOTEXEC, 50, 100)
HEXFILE(D:\a.hex, NOCHECKSUMS, NOFILL, PROTECTISP)
fm will succeed.
2. but if you power on the LPC2103 then try to flash the AMR using command line after approximately  10 seconds
fm @a.txt
a.txt contents
COM(1, 9600)
DEVICE(LPC2103, 10.760000)
HARDWARE(BOOTEXEC, 50, 100)
HEXFILE(D:\a.hex, NOCHECKSUMS, NOFILL, PROTECTISP)
it will failed with following msg:
connection failed:invalid command
Title: Re: LPC2103 command line problem
Post by: canggou on October 25, 2007, 02:03:18 AM
Thanks in advance for any help. Sincerely:)
Title: Re: LPC2103 command line problem
Post by: Andy Ayre on October 25, 2007, 08:30:09 AM
Please add "DEBUG" to your command line, run it so it fails, then send me the file C:\flashmagic.fmd. My email address is support @ esacademy dot com.

Andy