[quote userid="542779" url="~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1495866/tm4c129encpdt-jtag-programming-tm4c-failed-with-corrupted-flash-image/5765158#5765158"]You helped to verify that JTAG halt can work when the processor is running ROM bootloader in the previous comments. I understand that there is a chance the the before step 1) Halt the processor, ROM bootloader might have a chance to talk to BOOTP/TFTP server; however, I think that should not matter here, given the steps 1 to 4 will program the tm4c's flash, and there is another JTAG reset after step 4 which will set the PC to the start address. I think even if the ROM bootloader kicks in before step 1), this approach should put us back to boot from flash after the reset after step 4). [/quote] Hi Hong, What if by the time you halt the processor, the ROM bootloader has finished the firmware download from the TFTP server. Is that OK with you?
↧