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.

LM3S2965: Program flash LM3S2965

Part Number: LM3S2965
Other Parts Discussed in Thread: EK-TM4C123GXL, LMFLASHPROGRAMMER, LM3S1968

Hi All,

Our company need still support to the obsolete LM3S2965 MCU. To program the flash memory we were always using the development board EK-LM3S1968-03 (with LM Flash programmer). Unfortunately the board is broken now. 

Because is obsolete we cannot buy a new one anymore. I tried to use the TM4C123 launchpad to program the flash but that did not work.

What are the options to program the MCU now? 

  • Using the EK-TM4C123GXL and LMFlashProgrammer are your best bet. Did you follow the instructions of section 4.6 in: https://www.ti.com/lit/an/spma075/spma075.pdf#page=14

  • I followed the instructions. I use the EK-TM4C123GXL also to program our boards with the TM4C123 MCU on board. This works fine.

    When I connect to the board with the LM3S2965 board LMFlashProgrammer reports errors. I looks to me there is no connection. I also tried different PC's but that did not help also. The board I used is programmed before with development board EK-LM3S1968-03.

    I tried also other functions like flash erase and blank check but I get the same error by each function. I also tried the unlock procedure, this function is working and the MCU is set to factory now. After this I still cannot program or erase.

    The following error I received from LMFlashProgrammer:


    I used the following settings: (I also tried different settings but this makes no sense)

  • Try connecting all of the JTAG pins and using this setting;

  • I have the following pins connected now:

    - TCK

    - TMS

    - GND

    - TDI

    - TDO

    Reset pin is not connected now, for next try I should solder a wire to TRST then. 

    When I try the configuration of the LM3S2965 as your suggestion I get a message from the LMFlashProgrammer: 'Unable to find a target'

  • I have to admit I am at a loss. Since you did the unlock procedure, the flash is now erased. Can you use the ROM based serial boot loader to program the device?

  • I tried to use. I used LMFlashProgrammer to program over the serial port. After the unlock procedure my COM port cannot be opened anymore. Which means the UART pins are not configurated. I tried this also on the TM4C123 (unlock and try to program over serial port) but result was the same, can not open the com port.

    Can this problem be coursed by the ICDI firmware on the EK-TM4C123-XL? Some MCU's blocked for example or timing? I remember with LM3S1968 development board it was also possible to program the TM4C123 MCU.

  • Yes, unfortunately there is no ROM on this part (unlike the newer parts). You need to get JTAG or SWD to work. Unfortunately the people who worked on this old part are no longer available and I am out of ideas.