When trigger the PendSV exception, the context switches with Cortex-M0 is wrong. but the program without the bootloader, the app can run ok.
View all questions in Cortex-M / M-Profile forum