This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP-GANG: MSP-GANG issue with the latest firmware but not on earlier versions

Part Number: MSP-GANG
Other Parts Discussed in Thread: MSP430F2418,

Hi team,

 

I am helping a customer on some GANG issues and don’t have an answer for this one.

Using the latest version (1.2.6.0) to program a MSP430F2418 they get Global Verification – 100 error 58 on the gang programmer LCD screen.

These parameters are set: ERASE_INFO, ERASE_MAIN, ERASE_CHECK_INFO, ERASE_CHECK_MAIN, PROGRAM_MASS and Verify sequence.

But changing only the DLL version to 1.1.4.0 or 1.1.5.0 works fine and doesn’t show this error.

 

They are uneasy about that as they want to stay with the latest. Do you have any ideas about what may be going on?

 

Thanks,

Billy

  • Hi Billy,

    Thanks for providing all these details. The error 58 means that the Flash PSA verification failed. Since this issue wasn't observed using DLL v1.1.5.0, I checked the release notes for v1.1.6.0, and this version added the “Global Verification” Feature to verify that unwritten memory is not changed, which seems to be happening here.

    Please have the customer read through Section 2.1.1.5 in the MSP-GANG User's Guide. The snapshot below summarizes what they can check. I suspect that their firmware is modifying the Flash memory in an unused area, which is causing the observed MSP-GANG error.

    Regards,

    James

    MSP Customer Applications

  • Thanks a lot for that James!

    -Billy
  • Hi James,

    Well we thought that was it, until they scaled back to 1 line only for a quick test on a single address. They’ve explained:

    I modified the hex file to program only one line and I got this issue again. I wonder why I got this issue for only one line at address 0x3FF0. GI verification error for one line only. I tested with the version 1.1.6.0


    Please let me know your thoughts when you can.

    Thanks,
    Billy
  • Hi Billy,

    With this new information, I suspect that errata JTAG23 is causing this issue on the MSP430F2418. Basically, the PSA checksum calculation may not work over the JTAG interface.

    The customer can read more about Marginal Read Mode in Section 7.3.6 in the MSP430x2xx User's Guide. If an insufficiently programmed Flash memory location has been indicated, it's possible to refresh the affected Flash memory segment by disabling Marginal Read Mode, copying the affected segment into RAM, erasing the affected segment, and then writing back that segment from RAM to Flash. Keep in mind that the program checking the Flash memory contents must be executed from RAM.

    Hopefully this helps.

    Regards,

    James

    MSP Customer Applications

  • Hi Billy,

    Can you check with the customer to see if this issue is observed when they erase the device and then perform the verification/blank check?

    Thanks.

    Regards,

    James

    MSP Customer Applications
  • Thanks for all the help on this James. They ended up taking that last bit about errata item JTAG23 and ran with it last Wednesday.

    Thanks!
    Billy

**Attention** This is a public forum