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.

MSP430F2234: Device unknown with Uniflash and IAR Workbench MSP430

Part Number: MSP430F2234
Other Parts Discussed in Thread: MSP-TS430DA38, , MSP-FET, UNIFLASH

Hi guys,


I am working with MSP-TS430DA38 where I connect a MSP430F2234 and program it with IAR through MSP-FET programmer.

The first time it worked fine I was able to download the code and debug it.

After a year working fine I have to make some changes to the code but when I go to connect through IAR it cannot debug the device.

Try to load the code through Uniflash also and it can't detect the device.

I have tried (making proper connection on MSP-TS430DA38) 4-wire JTAG and 2-wire "SpyBiWire", external and internal power , IAR and Uniflash.

Any combination of these ways does not work to connect to the device .. but the original code still works.


What's wrong? Is there any JTAG protection on MSP devices? How can I solve this problem?


Best regards,

Miguel.

  • Hi,

    You can try using the bsl function to reprogram the chip when the SBW is not accessible. 

    Best regards,

    Cash Hao

  • Hi Cash Hao,

    Sorry i don't know about BSL function.

    Is it possible to use this function with uniflash?

    Could you please share the document or steps on how I can use the bsl function?

    A lot of thanks.

    Regards,

    Miguel

  • HI,

    Yes, the uniflash should support the bsl function. You can refer to this link about the bsl https://www.ti.com/lit/pdf/SLAU319

    Best regards,

    Cash Hao

  • Hi Cash Hao,

    I've just tried with Uniflahs and I cannot read the memory.

    [2/27/2023, 12:40:24 PM] [INFO] MSP430: MSP430F2234(Bootloader)
    [2/27/2023, 12:40:24 PM] [INFO] MSP430: ..... Invoking the bootloader .....
    [2/27/2023, 12:40:24 PM] [INFO] MSP430: Opening COM PORT is successful!
    [2/27/2023, 12:40:24 PM] [INFO] MSP430: Applying invoke sequence through DTR and RTS pin based on shared JTAG
    [2/27/2023, 12:40:27 PM] [ERROR] MSP430: Response byte for sync command from bootloader is not received!
    [2/27/2023, 12:40:27 PM] [INFO] MSP430: Applying invoke sequence through DTR and RTS pin based on dedicated JTAG
    [2/27/2023, 12:40:29 PM] [ERROR] MSP430: Response byte for sync command from bootloader is not received!

    Is there something that I'm missing?

    I also check with the .bat to detect device->

    C:\ti\uniflash_8.0.0>detect-devices.bat
    Error: {"msg":"COM4: Could not open the device.","name":"COM4","type":"error"}

    The MSP-FET works as I check it on other board and could detect device on other board.

    Best regards,

    Miguel.

  • Hi,

    The error reports "COM4: Could not open the device.". Could you open the device manager in our computer with the board plug in? Send the screenshot of the device manager and perhaps some of the hardware connection pictures. 

    Best regards,

    Cash Hao

  • Hi Cash Hao,

    There was a Hardware problem, I haven't catch it yet.

    When I remove all the external connections then I could start to debug the micro.

    Thanks for your help.

    Best regards,

    Miguel.

**Attention** This is a public forum