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 - Gabe

#1
LPC9xx/LPC9xxx / Re: usb-icp and lpc934
July 12, 2006, 04:58:54 AM
One suggestion is to double check that the pins are correct on your target board.  Pins 2 and 4 were a little confusing to me when I first looked into this part.  Pin 4 has to go directly to the micro's power line with no other connections to it.  Pin 2 is jumpered to pin 4 during normal operation to power the board using whatever regulator and capacitance you have on the board.  

I ended up not going with the FDI programmer because having to the jumper for the micro's power was undesirable.
#2
I figured out the problem.  I took the 1 nF caps off of the clock and data lines and it started working.

ESD protection + ICP = correct device ID, incorrect CRC

For future reference, reading device ID doesn't guarantee proper ICP circuitry.  The read device signature was a short command, while the calculate CRC involved much more data.

The board still isn't working, but at least the checksum matches now.
#3
LPC9xx/LPC9xxx / MCB900 ISP-ICP CRC Check Failure
May 31, 2006, 07:10:57 AM
I've got a problem programming the LPC9107 using an MCB900 using FM 3.0 (just upgraded from 2.52 - no change in the problem) with bridge code 1.7.

FM appears to program the device, but the CRC is not correct.  Programming the same hex file consistantly gives the same incorrect CRC, it is not different every time the device is reprogrammed.  Simply erasing all flash gives 0x00FF00FF in every block.  I do not have the fill unused flash button checked.  Setting the device configuration to double internal RC clock speed and then reprogramming has no effect on the CRC read from the device.

The MCB900 is set up using an NPN exactly as in the ApNote, which I know some people had problems with, but I'm not confident that's the problem in this case as I am able to read the correct device signature every time.  From my interpretation, the device signature will read all FF's at least occasionally when there is a hardware/power problem.  I'll order some parts in case I am wrong on this aspect, but I'll have to wait until they come in to try, so I'm hoping someone may have a suggestion other than the power problem.

Thank you,
Gabe