I'm having quite strange behavior on our custom K20DX256VLH7 based board. When debugging the project everything works fine, but when running from internal flash nothing works.
* OpenSDA debugger found on FRDM-K20D50M board (also tested with Segger JTAG)
* KDS IDE
* Project created through KDS wizard, flash debug configuration.
* Tried few examples provided with KDS/PE.
Tried all possible combinations of pull up/down resistors (10K) on JTAG/SWD pins.
Tried to remove the usage of "printf()" in case of semi-hosting issue, but nothing helps.
What makes things really strange is when run it from the debugger and then manually reset the MCU it works.
Any clue/idea will be appreciated!