AM3352: SVC_Handler

Part Number: AM3352


I'm using AM3352 to work on a project.      window + CCS +stareware

now  I need to implement certain functions through SVC.  

   The problem is that after entering the SVC, the corresponding code was not executed and the SVC was exited directly.

  • Generate SVC through the following statement

          #define portYIELD() __asm volatile ( " SWI #0" );

  • SVC_Handler is implemented in the.asm file.     exceptionhandler.asm 
  •   startup.c file  is following picture  

image.png