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.

TM4C1299KCZAD: Can't download the firmware by the LM Flash Program works on Windows 11

Part Number: TM4C1299KCZAD

I have a trouble about the LM Flash Programmer with version 1613 on Windows 11 platform.

The USB driver of JTAG is installed and shown in the windows device manager correctly.

When I click the program button of LM Flash Programmer to download the firmware, I get the error "unable to connect to target" from the LM Flash Programmer.

Then, I retry this step several times and can be successful one time.

Is there any bug or compatible issue in the LM Flash Programmer on Windows 11?

  • Hello Bear,

    Are you trying to download to a custom PCB? If so, through what debug interface? JTAG? Are you using a LaunchPad as an external ICDI interface? Trying to program a device through a boot loader?

    I haven't heard of any bugs on Windows 11, so I first want to understand how you are trying to program the TM4C1299KCZAD because the reported error could be attributed to other reasons.

    Best Regards,

    Ralph Jacobi

  • Dear Ralph, 

        The PCB is designed by our company, and download tool designed by us which follows the EVM download interface.

        I have downloaded the firmware successfully into the same PCB more than hundred of times in my old notebook which is windows 7 platform.

       (The firmware is still under developed and the development schedule starts in January of this year) 

       Recently, the old notebook is dead and need to change to new one which is windows 11 platform. 

       The download tool, PCB and USB cable are still the same as before, just the notebook is changed.

       And, the download may be successfully one time after failure several times. Do you have any idea for this situation? 

  • Hello Bear,

    Understood - I still need to know which interface you are trying to program with however as my suggestion on what steps to try to resolve this depends on which interface is being used.

    Since you mention USB I'm guessing either it's a USB to UART bridge or USB DFU?

    Best Regards,

    Ralph Jacobi

  • Hi Ralph, 

       It is not USB to UART bridge. The download interface is ICDT with JTAG port. The pins TCK, TMS, TDI, TDO, and /RST of TM4C1299KCZAD are used.

       In the LM Flash Programmer, the qucik set 'TM4C129X Development Board' is configured.

  • Hi Bear,

    Thanks for the clarity about the interface, with that understood here are my initial suggestions for what can be tried to resolve this issue.

    Have the ICDI drivers been installed on the Windows 11 laptop? https://www.ti.com/tool/STELLARIS_ICDI_DRIVERS

    Also see if installing the latest USB drivers from TivaWare helps as well. You can do so from either using the drivers in 2.2.0.295, or from this link if using an older TivaWare: https://software-dl.ti.com/tiva-c/SW-TM4C/2.1.4.178/exports/SW-TM4C-2.1.4.178.PATCH-1.0.zip

    In Device Manager do you see the Stellaris ICDI interface being displayed at all?

    Also, I have seen for Windows 10 before that in some cases the LM Flash Programmer needs to be run in compatibility mode for Windows 7 - can you try that as well? I could see the same being true for Windows 11.

    Best Regards,

    Ralph Jacobi

  • Dear Ralph,

        After updating driver of USB, the situation seems be better but not always successful to download the firmware every time. I have also tried to open the LM Flash Programmer by the Windows 7 mode. The problem is still not solved. I can accept the result of this situation and not going to try any method again. Thanks for your help. 

  • Hello Bear,

    Thanks for the feedback on the status of this.

    I currently don't have access to any Windows 11 development environment to try and test the reliability of that on my end so I have no further suggestions at this time. I'll make note of this as something we need to investigate however.

    Best Regards,

    Ralph Jacobi