Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Adum

Pages: [1]
1
ARM Cortex / LPC1768 Command Line
« on: September 02, 2015, 08:02:50 am »
Hi everybody,

I'm trying to flash my code into a LPC1768 with the command line. I have no problem with the exe and used the command line below extract from the soft :
FM COM(80, 57600) HIGHSPEED(0,115200) DEVICE(LPC1768, 5353470392624945514000000000000000000.000, 0) HARDWARE(BOOTEXEC, 30, 1000) ERASE(DEVICE, PROTECTISP) HEXFILE(C:\Program Files\Flash Magic\projets\DAG_COM_Bootloader.hex, NOCHECKSUMS, NOFILL, PROTECTISP) VERIFY(C:\Program Files\Flash Magic\projets\DAG_COM_Bootloader.hex, NOCHECKSUMS)

(5353470392624945514000000000000000000.000 is curious, I agree)

In fact, if I left RTS and DTR connect, I always have a fatal error that crash the program :
AppName: fm.exe    AppVer: 0.0.0.0    ModName: flashmagicarmcortex.dll
ModVer: 0.0.0.0    Offset: 00015a51

After a crash, if I disconnect RTS and DTR, and send the same command, erase, program and verify works well.

But everytime I want to program, I have to crash it first .

Is this a know problem ? Is there a link with a bad entry in ISP mode ? How could I fix that ?

Thanks in advance

Pages: [1]