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.

TM4C1294KCPDT: Tiva stops working after flash update

Part Number: TM4C1294KCPDT


I have been updating the Tiva flash using LM flash over Ethernet. I found a strange issue that if I change the static IP address that I have used in my program, then after an update the board doesnt function any more. Its as though the program stops running. The only change seems to be if the new IP address in the new flash file is different to the one I am using to connect and update the board. 

  • Hi Jon,

      - Can you confirm if the update is truly successful?

      - If you were to use the same static address in your program and after the update, will it run?

      - After the update, can you do a reset? Does that make a difference?

      - What is the difference between the two static addresses? Is the new one in conflict with any other nodes on the network using the same address?

      - Suppose the original address is X and the new address is Y. What if you start your program with address Y? Will address Y work before the update? You can program the flash via JTAG with the address Y and see if it runs. If you update your program via Ethernet with address X, will the address X work?

  • Hi Charles

    What I am seeing is that if the IP address of the board is something like 192.168.30.200, then I update with a flash file with an IP like 192.168.50.200, then I get the issue. It seems as though the program isnt running any longer as I have a terminal that stops working.

    I am not sure how I can verify the update. I use LM flash and it programs without any issues. But then no response from the board. 

    The problem is that the board is in a remote location, so the only connection I have is the Ethernet. There is no JTAG connected.

    I havent had any issues using any of the IP if I just program using JTAG. 

    Regards

    Jon 

  • Hi Jon,

      Is it possible that the new IP address is in a different subnet than the PC that is running the LM flash programmer or any node that it is communicating with? Can you try 255.255.0.0 for both the subnet mask and gateway mask in the LwIPInit?

      You didn't answer me if a reset will make a difference after you finished the update.

      I understand your board is in a remote location which makes it quite difficult to debug. Can you use the wireshark to see what is going on? I will suggest you use a LaunchPad and try out the concept of flash update with a different static IP address on your local network. If it works, then it is probably some network issue on your remote network. If you can repeat the same problem on your local network using the launchPad then you can debug the problem faster with the wireshark.