The code of app is freertos , the chip has a bootloader, The chip run on Cortex M0

When trigger the PendSV exception, the context switches with Cortex-M0 is wrong.  but the program without the bootloader, the app can run ok.

Parents
  • Most likely the vector table is not correct. The M0 does not allow remapping of the vector table and perhaps with bootloader it is expecting that it can. 

    Check your bootloader to see how it does the vector table remapping and make sure your chip supports this. 

Reply
  • Most likely the vector table is not correct. The M0 does not allow remapping of the vector table and perhaps with bootloader it is expecting that it can. 

    Check your bootloader to see how it does the vector table remapping and make sure your chip supports this. 

Children
More questions in this forum