Main Menu

Recent posts

#81
LPC2xxx / FlashMagic 12.75 doesn't erase...
Last post by Werner - January 29, 2020, 05:24:47 AM
Hallo,

i found that FlashMagic 12.75 cannot erase/program an LPC2129 anymore. Reading device signature works well.

I took a terminal program in order to watch for differences between FlashMagic 11.20 (erase/program works well) and FlashMagic 12.75 and found that FlashMagic 12.75 sends an oscillator frequency of 0. With that the erase command stalls inside the LPC2129.

FlashMagic 11.20 has a field for an adjustble oscillator frequency which is filled with 12.000 MHz by default. The LPC2129 has no internal RC-oscillator but always runs on the external crystal. So the LPC2129 needs this number for the erase/program timing.
I tried to set the oscillator frequency to 0 in FlashMagic 11.20. Then the LPC2129 stalls again. Setting a frequency of 100 MHz makes erasing very slow.


FlashMagic 11.20 LPC2129 Erase all command, sent:
?Synchronized<\r><\n>12000<\r><\n>J<\r><\n>U 23130<\r><\n>P 0 16<\r><\n>E 0 16<\r><\n>

FlashMagic 12.75 LPC2129 Erase all command, sent:
?Synchronized<\r><\n>0<\r><\n>J<\r><\n>U 23130<\r><\n>P 0 16<\r><\n>E 0 16<\r><\n>
#82
General Discussion / Re: Starting FlashMagic 12.70 ...
Last post by Andy Ayre - January 24, 2020, 12:20:21 PM
This is fixed in version 12.75.

Andy
#83
General Discussion / Re: Starting FlashMagic 12.70 ...
Last post by Andy Ayre - January 17, 2020, 09:22:42 AM
Thanks for reporting this - we will look into it. Andy
#84
General Discussion / Starting FlashMagic 12.70 by d...
Last post by Werner - January 16, 2020, 03:18:11 AM
Hi,

When I start FlashMagic by double-clicking an .fmx-file a message comes up ("The project has been modified. Do you want to save it?"). I have to click "No", then the settings of the double-clicked .fmx-file are loaded. Is this the wanted behavior of FlashMagic? Older versions of FlashMagic worked well by double-clicking the old .fms-file.

Best regards
Werner
#85
General / Re: Parentheses in path for co...
Last post by FlashMagicUser - May 07, 2019, 07:47:43 AM
Thank you for your answers.

Is it possible to export the command line directive from GUI V12?
#86
General / Re: Parentheses in path for co...
Last post by Andy Ayre - May 07, 2019, 07:29:27 AM
Parentheses are not allowed inside path names. Page 57 of the manual lists what is allowed. The V12 command line is all-new and doesn't have this restriction.

Andy
#87
General / Re: Parentheses in path for co...
Last post by FlashMagicUser - May 07, 2019, 07:24:30 AM
This is the entire command line directive:
COM(6, 115200)
DEVICE(LPC2368, 4.000000, 0)
HARDWARE(BOOTEXEC, 50, 100)
ERASE(DEVICE, PROTECTISP)
HEXFILE(C:\Program Files (x86)\My Company\My Software\myfile.hex, NOCHECKSUMS, NOFILL, PROTECTISP)


Just to clarify: this is the exact same string I get if I export Command Line Directive from the Flash Magic GUI software.
Just to clarify more: if I use any other path without parentheses (even with spaces, but no parentheses), the command executes fine.
#88
General / Re: Parentheses in path for co...
Last post by Andy Ayre - May 07, 2019, 07:16:11 AM
Please post the entire HEXFILE directive you are using.

Andy
#89
General / Re: Parentheses in path for co...
Last post by FlashMagicUser - May 07, 2019, 07:08:37 AM
Oh, the irony.
I setup via GUI my desired function and it works fine.
But if I export the command line directives, I see that the string is exactly the same  as the one that gives me the error.
#90
General / Re: Parentheses in path for co...
Last post by Andy Ayre - May 07, 2019, 06:39:10 AM
Export the command line directives from the GUI version (File menu). That will show you the valid syntax.

Andy