Flash Magic Forum

In-System Programming Support => LPC9xx/LPC9xxx => Topic started by: JulianCox on March 06, 2014, 02:24:10 am

Title: LPC938 programming problem
Post by: JulianCox on March 06, 2014, 02: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.
Title: Re: LPC938 programming problem
Post by: Andy Ayre on March 07, 2014, 12: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
Title: Re: LPC938 programming problem
Post by: JulianCox on March 10, 2014, 04:37:07 am
NO!  Since this problem started it gets stuck every time - unless I first erase the chip.