Processor frezzes after Enabled the Interrupt source

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Processor frezzes after Enabled the Interrupt source

      Hello,

      I moved project from Keil to Segger Embedded studio and now while i debugging my processor freezes after enabled the interrupt sources.
      When i used keil the whole program worked correctly. What can i do to make debug work correctly at Segger?

      I flash via j-link and use STM32F103VC

      First, I imported using the internal toolchain. When building, I got 2 errors:

      Source Code

      1. 1> error: undefined symbol: __RESETPRIMASK
      2. 1> error: undefined symbol: __SETPRIMASK

      and want to change the following functions:

      C Source Code

      1. /*******************************************************************************
      2. * Function Name : NVIC_SETPRIMASK
      3. * Description : Enables the PRIMASK priority: Raises the execution priority to 0.
      4. * Input : None
      5. * Output : None
      6. * Return : None
      7. *******************************************************************************/
      8. void NVIC_SETPRIMASK(void)
      9. {
      10. __SETPRIMASK();
      11. }
      12. /*******************************************************************************
      13. * Function Name : NVIC_RESETPRIMASK
      14. * Description : Disables the PRIMASK priority.
      15. * Input : None
      16. * Output : None
      17. * Return : None
      18. *******************************************************************************/
      19. void NVIC_RESETPRIMASK(void)
      20. {
      21. __RESETPRIMASK();
      22. }
      Display All

      I have tried to use assembler instructions that replicate the functions but with no avail.



      Does anyone have a similar experience?

      The post was edited 2 times, last by Akatosh ().