Main Menu
Menu

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.

Show posts Menu

Messages - Adum

#1
ARM Cortex / Re: LPC1768 Command Line
September 04, 2015, 01:59:00 AM
Hi Andy,

Updating the version of FlashMagic AND changing the oscillator frequency solves my problem. A lot of thanks !

For your information, you can find enclose my configuration of FM which generate the strange frequency number (always with the last version).


QuoteDEVICE(LPC1768, 5353470392624945514000000000000000000.000, 0)
HARDWARE(BOOTEXEC, 50, 50)
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)


#2
ARM Cortex / LPC1768 Command Line
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