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.

MSP430G2553: MSP430G2 Launchpad driver problem with windows 10

Part Number: MSP430G2553
Other Parts Discussed in Thread: ENERGIA

Hello there,

I have read on other threads there is a problem with MSP430G2 launchpad board drivers with Windows 10, the problem I have is unstable USB-to-UART driver operation, it works and stops randomly. While the debugging/programming feature works fine, I can still program and debug the LP, but using the USB-to-UART is quite bothersome because of this issue, so far I have tried all TUSB4310 drivers from TI and MSP430G2 LP drivers from Energia with no luck. I tried to disable driver signature enforcement in Windows 10 but no luck either, still the USB-to-UART works randomly. On one of the threads on the e2e forum it was mentioned to wait for some time (3-10 seconds) before communicating with the board, I tried that as well without any luck. 

Any more suggestions on the matter?. (Board rev.: 1.5, OS: Windows 10 x64)

Cheers,

Karim 

  • Hi Karim,

    Can you ensure that the port you're using is not USB3.0? The EZ-430 debugger onboard the MSP-EXP430G2 launchpad doesn't work well with USB 3.0 ports.

    Also, please ensure you're not using a USB hub and are instead connecting the device directly to your PC.

    Best regards,
    Caleb Overbay

  • Hi Caleb,

    It's USB 2.0, and no hub in between the board and the laptop. Something to note, the debugger onboard the LP works fine, I can program my LP without issues.

    Thanks,
    Karim
  • Hi Karim,

    Thanks for verifying that for me. Have you tried a different USB cable in case the one you're using may be damaged? Also, do you have a windows 7 PC to test it out on and see if the issue is still present?

    The fact that you're able to program the MSP430 and debug it normally makes me think this could be a bug in your code. Are you using any low power modes in your UART communication code? What baud rate are you using? It may be helpful if I could see the code.

    Additionally, you may find the UART section of the Solutions to Common eUSCI and USCI Serial Communication Issues on MSP430 MCUs helpful when debugging UART communication issues.

    Best regards,

    Caleb Overbay

  • Hi Caleb,

    Thanks for the prompt response.

    I have tested the LP on a Windows 7 machine and it works fine, and the cable isn't the problem because (I tried different ones as well, even different boards since I have two of this board), so the code is fine. Just to clarify, the USB-to-UART work "sometimes" on Windows 10, but it's very random, one moment it works fine and once you unplug then re-plug the LP it stops working.

    The baud rate I'm using is 9600, so nothing unusual. The problem is most probably with the Virtual COM Port driver settings on windows 10.

    Thanks,
    Karim
  • Hi Karim,

    Unfortunately, Windows 10 handles drivers differently than previous versions of Windows and issues like the one you're experiencing are particularly difficult to resolve.

    If the problem persists, I recommend looking into another MSP430 launchpad that contains an ez-FET debugger instead of the ez-430 on the MSP-EXP430G2 launchpad. This debugger has better support and works well with all versions of Windows. A popular options is the MSP-EXP340F5529LP.

    Best regards,

    Caleb Overbay

  • Hi Caleb,

    Thanks for the response, that makes sense with the random behavior of the USB driver handling in Windows 10, I will look into other LPs.

    Cheers,

    Karim

**Attention** This is a public forum