Hi all,
I'm working on my application that involves the On Board Programming of the MSP430F5151 device.
I'm developing a driver for a costumer using the SBW interface (2 wire JTAG).
I followed the SLAU320m application note (pdf document and source code) and I used our hardware instead of the Replicator430Xv2 board as we had already done for other MSP devices.
We program and verify correctly 16 device, but I cannot access anymore to half of this device.
If I program a PASS board 100 times, it always pass; while a FAIL board it blocks itself after the first erase/write/verify cicle.
The code stucks in the GetCoreipIdXv2 function
- With a working board I receive 0x01A00 from the device
- With a fail board I receive 0xFFFF
The fuses aren't blown and I can correctly start the communication with JTAG port.
I tried to connect the device with officials programmers:
- MSP430 USB debugger doesn't connect anymore with the fail boards
- Gang-Programmer, which our costumer use, can re-program the device.
What could be the problem?
Why some device work and other don't?
Thank in advance
Fabio Rocca