Other Parts Discussed in Thread: EK-TM4C1294XL
Hi,
I have the following problem related with the ROM Bootloader:
Firstly, my firmware works perfectly, if i load it up with a Debugger.
However i upload it using ROM Bootloader, right after the reset, it leads to imprecise exception. (NVIC_FAULT_STAT = 0x400)
If i do a power cycle after that, it works perfectly.
If i make a reset using the function SysCtlReset(), during any point of the firmwares life, it also always works perfectly, device always initializes without any problem.
I have read the https://www.ti.com/lit/an/spma043/spma043.pdf?ts=1658473901542 but i am still unable to tackle the problem.
I check the SP, R3 is there as expected, but r2-r1-r0 are not ok. Also the 3rd register in 2nd row leads me to a completely irrelevant position.
Can you please help to figure out what is wrong ?
Best regards,
Erman