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.
I am using the Tiva Launchpad and the demo programs in Tivaware.
My bootloader uses the BL_CHECK_UPDATE_FN_HOOK to check for boot condition, which is the presence of a magic number in eeprom. The loading medium is DFU.
My bootloadable application is a mixture of blinyk/boot_demo1 with the addition of pressing SW1, That switch writes the magic number to eeprom then resets the CPU.
The system works fine, I can make different versions of blinky with different colored leds, load them via LM Flash and see the result.
It goes wrong when I increase the stacksize of the blinky application from the 64 words as in the original Tiva source to any number above 70. On pressing SW1 I enter the bootloader but the DFU device does not appear in Device Manager.
By playing with the stack size I can get the DFU to appear in Device Manager but LM Flash can't find it.
I do not understand how the stacksize of the application can have any effect upon the bootloader. Once I reset the CPU, its CPU state from the application is lost, history, no longer relevant.