2022-02-16 09:44 PM
In stm32L4, I have set the starting address at 0x0802F800, and length 10K. When start execution, I encounter the above issue. If i execute in steps in debug mode in cudeIDE, it is executing.
2022-02-17 01:03 AM
This should be the result of a branch or call or interrupt where the target address is not programmed in the flash, i.e. flash content is 0xffffffff. The MCU interprets the LBS as "tumb mode" and ignores it. So you see 0xfffffffe. If you only changed the address in the .ld file, thats not enough. Look for "custom bootloader" to get some ideas.
hth
KnarfB