Author Topic: LPC938 programming problem  (Read 2039 times)

JulianCox

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
LPC938 programming problem
« on: March 06, 2014, 11:24:10 am »
I am using a USB-ICP dongle from FDI to program a LPC938.  I am developing new code on the target machine and all electrical loads on the chip are isolated for programming) After several successful attempts it suddenly failed. Specifically: - at address 0x0740 it hangs up, waits and then issues a "failed to communicate" error message. I then cancel, carry out an Erase operation and then try again to program the chip - which is always successful. If I then re-program the chip with the same code, it is also successful. This is not a disaster, but it is very annoying.

Andy Ayre

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2099
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: LPC938 programming problem
« Reply #1 on: March 07, 2014, 09:58:19 am »
So it only gets stuck the first time after changing the hex file in any way? Very bizarre.

The FDI interface appears as a black box to Flash Magic. In there they are parsing the hex records and converting them into ICP pulses. Perhaps it is some kind of issue with that parsing process?

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

JulianCox

  • Jr. Member
  • **
  • Posts: 2
    • View Profile
Re: LPC938 programming problem
« Reply #2 on: March 10, 2014, 12:37:07 pm »
NO!  Since this problem started it gets stuck every time - unless I first erase the chip.