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.
I have programmed MSP430F149 target board with MSP430-GANG. It was fine.
Recently I am trying to use MSP-GANG instead MSP430-GANG. However, the following error appeared.
ERROR 23: MCU device initialization failed.
ERROR 385: Nothing to program / verify - empty code in selected memory space.
What should I check?
C6607670_V0201.hex is actually 60 kB, but it is not recognized in the GUI.
Hello,
Have you searched the forum for this error? There are several related threads with some things to check. Perhaps the target board only supports SBW and I see that you've selected (or it was selected by default) 4-wire JTAG. MSP430-GANG could have been configured to use SBW.
MSP-GANG: ERROR #23 with M430F5418/5418A - MSP low-power microcontroller forum - MSP low-power microcontrollers...
MSP-GANG: MSP-Gang programmer shows Error 23: MCU device init - MSP low-power microcontroller forum ...
MSP GANG ERROR 23: MCU device init programing a MSP430G2210 - MSP low-power microcontroller forum - MSP...
MSP-GANG ERROR23: MCU device init - MSP low-power microcontroller forum - MSP low-power microcontrollers...
Regards,
James
MSP Customer Applications
Hi,
Please check the communication connection and power supplied to MCU. The F149 supports only 4 wires JTAG communication and the interface communication is selected OK. Also let me know if the hex file is the Intel hex file? If it is TI hex file then extension must be txt. If Motorola hex file - then extension is srec. If you provide more info about the connection between MSP-GANG and your target device then I can help you more.
Best regards,
Gregory Czajkowski
Elprotronic Inc.
Thank you so much for your support.
The following is the contents of the file.
This seems to be "TI-TXT Hex Format".
Change the extension from. Hex to. Txt and try again.
@ 1100
0 A 12 0 9 12 0 8 12 0 7 12 0 6 12 0 5 12 0 4 12 31 80
34 00 B 0 12 84 17 91 41 44 00 12 00 91 41 46 00
:
:
30 0 A 04 00 0 A 00 00 00 02 5 B FE 5 B 3 C 5 B 00 00
A 6 00 A 0 5 C 00 02 4 E 5 D C 4 03
@ ffe 2
E 0 5 B E 0 5 B E 0 5 B E 0 5 B E 0 5 B 6 C 37 7 E 40 4 A 58
E 6 54 E 0 5 B E 0 5 B E 0 5 B E 0 5 B E 0 5 B 7 E 5 A
q
This is the connection between the microcontroller and the programmer.
Could you give me some advice?
Thank you.
Hi,
When you change extension to txt of your file than file should be read correctly.
In hardware you have the external reset IC that is extending/generating long reset pulse. You should know about it to MSP-GANG. Please set the reset delay in MSP-GANG and all should be OK. From Setup pull-down menu select Device Reset and make the following selection and setup. The setup below assume that the reset pulse generated by IC is no longer than 800 ms. If it is longer or much shorter then change the Idle time value. See below.
Let me know if that helps.
Best regards,
Gregory Czajkowski
Elprotronic Inc.
Hello Shifu,
Thanks for letting us know that you resolved the issue! I'm sure your solution will help other community members with the same issue. Please let us know if you have any other issues.
Regards,
James
MSP Customer Applications
**Attention** This is a public forum