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.

MSP430F2274 programming issue

Other Parts Discussed in Thread: MSP430F2274, MSP-TS430DA38, MSP430F5528, MSP430F2370, MSP430-FLASHER, MSP-FET

Hi,

I've restarted some development on MSP430F2274 (chip revision E populated on my board) and I'm facing some strange data corruption when programming trough MSP-FETU430IF (HW V1.4A, FW upgraded to 3.08.00.000).

I've tested latest MSP flasher command line tool (Exit: 60, Error: Verification error) and also FET-Pro430 programing tool (verification error). Both are returning verification error occasionally.

I'm flashing main memory only.

I've tested two physical MSP-FETU430IF programmers, both behaves the same.

I've tested FlashPro430 programming HW and it works perfectly fine, no errors.

For information here is snapshot comparison from FET-Pro430 tool (it seems there is some shift in data):

: ============ Data Result Comparation. =============
: == Only data from the code file that does not match==
: == with the Flash Memory data is displayed. ==
: == Extra data from the Flash Memory is ignored. ==

: First Line - Data from the Code File.
: Second Line - Data from the Flash Memory.

0x93B0: .. .. .. .. .. .. .. .. 58 02 1C 41 02 00 .. 4C | ........X..A...L
0x93B0: .. .. .. .. .. .. .. .. EF BE 58 02 1C 41 .. 00 | ..........X..A..

0x93C0: 03 43 0C 42 81 4C 00 00 03 43 31 50 06 00 30 41 | .C.B.L...C1P..0A
0x93C0: 02 4C 03 43 0C 42 81 4C 00 00 03 43 31 50 06 00 | .L.C.B.L...C1P..

0x93D0: 5C 42 58 02 5C 93 3B 20 5C 42 19 00 7C F0 7F 00 | \BX.\.; \B..|..
0x93D0: 30 41 5C 42 58 02 5C 93 3B 20 5C 42 19 00 7C F0 | 0A\BX.\.; \B..|.

0x93E0: 3C F0 FF 00 C2 4C 19 00 03 43 5C 42 18 00 6C F2 | <....L...C\B..l.
0x93E0: 7F 00 3C F0 FF 00 C2 4C 19 00 03 43 5C 42 18 00 | .<....L...C\B..

0x93F0: 0C 93 FB 23 5C 42 19 00 7C D0 80 FF 3C F0 FF 00 | ...#\B..|...<...
0x93F0: 6C F2 0C 93 FB 23 5C 42 19 00 7C D0 80 FF 3C F0 | l....#\B..|...<.

0x9400: C2 4C 19 00 7D 40 88 FF 7C 40 2C 00 B0 12 34 99 | .L..}@..|@,...4.
0x9400: FF 00 C2 4C C2 4C 7D 40 88 FF 7C 40 2C 00 B0 12 | ...L.L}@..|@,...

0x9410: 7D 40 31 00 7C 40 2D 00 B0 12 34 99 7D 40 09 00 | }@1.|@-...4.}@..
0x9410: 34 99 7D 40 31 00 7C 40 2D 00 B0 12 34 99 7D 40 | 4.}@1.|@-...4.}@

0x9420: 7C 40 2E 00 B0 12 34 99 E2 43 58 02 7C 40 36 00 | |@....4..CX.|@6.
0x9420: 09 00 7C 40 2E 00 B0 12 34 99 E2 43 58 02 7C 40 | ..|@....4..CX.|@

0x9430: B0 12 4A 98 03 43 7C 40 3D 00 B0 12 4A 98 3C F0 | ..J..C|@=...J.<.
0x9430: 36 00 B0 12 4A 98 03 43 EF BE 3D 00 B0 12 4A 98 | 6...J..C..=...J.

0x9440: FF 00 7C F0 F0 00 0C 93 F6 23 30 40 50 94 03 43 | ..|......#0@P..C
0x9440: 3C F0 FF 00 7C F0 F0 00 0C 93 F6 23 30 40 50 94 | <...|......#0@P.

0x9450: 30 41 5C 42 25 00 6C F2 0C 93 0E 24 5C 42 23 00 | 0A\B%.l....$\B#.
0x9450: 03 43 30 41 5C 42 25 00 6C F2 0C 93 0E 24 5C 42 | .C0A\B%.l....$\B

Any idea what could be wrong? 

Thanks.

  • Hi JC50030,

    The issue is most likely not due to the MSP-FET430UIF devices, if the HW works perfectly fine after programming using FET-Pro430 then I would assume that the main memory read data is incorrect. The FLASH26 errata indicates that this is possible due to the supply voltages and addressing mode: www.ti.com/.../slaz169j.pdf

    Could you try using an external power supply instead of the MSP-FET430UIF to power the MSP430 and comment on its effect? Are you only able to test on one board/device or do you have multiple available? Do you have a MSP-TS430DA38 to debug on?  Additional E2E threads for some light reading:

    https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/273446 

    https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/243408  

    Regards,
    Ryan

  • Hi, thanks for reply,

    I've done further testing. Another board populated with the same micro (2274 die rev E), the same problem. Another board with MSP430F2370 die rev. C, the same problem. Another board with MSP430F5528 die rev H. and different binary, works without error.

    I've also tried different computer - the same behavior.

    Also tried to flash different binary (production - I'm sure there is no error in it) and the same behavior. Also tried spy-bi-wire, the same behavior.

    What is interresting - I downgraded one of my MSP-FET430UIF to 2.04.09.001 FW and it worked (in FET-Pro430)! Unfortunately MSP Flasher is not compatible with this old rev.

    To your answer:

    I'm powering it always from the target, not from the adapter.

    FLASH26 errata should not be present in E die.

    One important thing - it is working perfectly fine with FlashPro430 - it is different programming HW and dll. With FET-Pro430 it behaves the same as with MSP Flasher.

    Unfortunately I don't have MSP-TS430DA38 nor newer revision material.

    Thanks.

  • Based on your FET FW findings this definitely appears to be a DLL issue most likely pertaining to previous versions accounting for errata existing on older revision devices. I would recommend you find an old release of MSP430-FLASHER that supports the necessary FW downgrade. In the future you should consider switching to a newer die and using the MSP-FET.

    Regards,
    Ryan

**Attention** This is a public forum