Author Topic: FlashMagic 12.75 doesn't erase/program LPC2129  (Read 616 times)

Werner

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
FlashMagic 12.75 doesn't erase/program LPC2129
« on: 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>

Werner

  • Jr. Member
  • **
  • Posts: 11
    • View Profile
Re: FlashMagic 12.75 doesn't erase/program LPC2129
« Reply #1 on: January 29, 2020, 06:28:12 am »
Ok, I found the oscilator frequency field has moved to View->Preferences->Hardware.
Unfortunately the import of an old .fms file doesn't fill this field.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2167
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: FlashMagic 12.75 doesn't erase/program LPC2129
« Reply #2 on: February 03, 2020, 08:32:24 am »
OK, that is something we can address for the next release - thanks for letting us know. Andy
Embedded Systems Academy, Inc.
support at esacademy dot com