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.

LM3S1811 Can not run after reset

Dear team,

My customer is using LM3S1811.

It shows that LM3S1811 serial upgrade normal. But it does not run after reset. It can be recognized by H-JTAG kernel, but can not recognize flash.

The protection of Flash's read and write is not turned on.

Besides, does it need to use an internal 16MHz clock to identify the kernel through H-JTAG ?

The customer tested the power ripple, power-on timing, pin iv curve, everything is fine.

Please help.

  • Hi Susan,

      Can you elaborate the problem with more information?

       How do you know if the serial update is successful? 

       Are you saying you can connect to the target by H-JTAG debug probe? 

       If you can connect to the target, then can you try to see if you can program a simple program like the blinky program? 

  • Hi Charles,

    1. As long as all data is written to flash, it is judged as successful, and then restart the new program to replace the original program.
    2. The software I use is h-flasher, which can recognize the ID of the kernel, but can't check it to flash.
    3. Unable to upgrade because the flash cannot be checked. In addition, I have tried LM flash programmer, which can't be upgraded.
    4. My question is similar to the question in the following link.

    https://embdev.net/topic/241644

    Thanks!

  • As the customer said,it gave the following error which was similar like the link.

    Cant halt target and make it enter debug.

    The equipment is a rack switch, and the MCU  is upgraded through the master control.All data should be written into the second half of the flash.

    There was a flag bit when restart, set it to 1 to overwrite the original program with the new program. The customer upgraded a total of ten cards, four of them were restarted and unable to run, but the other six were fine.

  • Hi Linjie,

      I have never used H-JTAG or H-Flasher. It is actually the first time I'm hearing about this product. 

      I guess I'm still not very clear about your setup. I will ask some questions here.

    linjie Feng said:
    1. As long as all data is written to flash, it is judged as successful, and then restart the new program to replace the original program.

       How do you update the firmware? Are you updating the firmware by some serial interface such as UART, SPI or something else? Or you merely try to update the firmware via the JTAG interface using the H-JTAG debug probe? Reading Susan's comment, it seems like you are programming some data to the second half of the flash. I just don't know what interface method (JTAG, UART, SPI or etc) you are using to program to the second half of the flash. Please clarify. 

    linjie Feng said:
    2. The software I use is h-flasher, which can recognize the ID of the kernel, but can't check it to flash.

      Since I'm not familiar with the H-flash, can you show a picture what will display for the ID of the kernel on a good device and the flash? What do you mean by kernel? Is this the MCU Device ID you are are trying to read?

    linjie Feng said:
    3. Unable to upgrade because the flash cannot be checked. In addition, I have tried LM flash programmer, which can't be upgraded.

      Can you use H-JTAG to program a simple program such as the blinky example? Can you successfully program the example and run it?

      What do you mean the LM flash programmer cannot be upgraded? 

      Can you please answer all of my questions so I have a better understanding of your environment and setup.