Window / Command line

Started by Joze, March 03, 2009, 05:31:21 AM

Previous topic - Next topic

Joze

Hello!

I have problem with programming LPC2368 throught ISP.
In Flash Magic window works excellent, but in command line doesn't.
I use next steps in command line:
     FM COM(1, 57600)
     FM DEVICE(LPC2368, 14.7456)
     FM HARDWARE(BOOTEXEC, 50, 100)
     FM ERASE(DEVICE, PROTECTISP)
After this command is answer:
     Connection failed: unable to connect (no response from device)

Did I miss any directive or command before executing "FM ERASE(DEVICE, PROTECTISP)"?

Andy Ayre

Get it working in the GUI version of Flash Magic. Then go to File -> Save Command Line Directives. Save the file with a name like directives.txt. Then run Flash Magic with:

  FM @directives.txt

Your problem is that you are only giving Flash Magic one directive at a time.

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

Joze

Thank you!

Now I understand the concept.
I should call:

FM COM(1, 57600) DEVICE(LPC2368, 14.7456) HARDWARE(BOOTEXEC, 50, 100) ERASE(DEVICE, PROTECTISP)

It is working now.

Joze