IVOR_8 ISSUE IN MPC5777C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IVOR_8 ISSUE IN MPC5777C

1,208 Views
karthikk1
Contributor I

Hi ,

i am using mpc5777c in power management. As i have developed non freertos code.

As per requirement we need to develop freertos. i reused the freertos files in example code given in s32ds IDE.

after integration the code is going to IVOR_8 exception which i system calls instruction.

I am getting no idea whether there is a problem in memory allocation or the freertos files with any systemcalls.

In portasm.s file 

.func vPortStartFirstTask, vPortStartFirstTask
vPortStartFirstTask:
portUPDATE_SYSTEM_STACK_POINTER # Init pxSystemStackPointer
portPOP_TASK # pxCurrentTCB should already point to the highest priority task
mbar # Ensure MPU config writes complete before switching context

portCLEAR_INTERRUPT_PRIORITY_CEILING # Set current priority to 0

portRESTORE_CONTEXT
se_rfi
.endfunc

se_rfi in this part code is going to IVOR_8.

Also vPortISRHandler function:

se_blrl                                 # Branch to ISR with return to next instruction (epilogue)

is also causing issue.

 can anyone help me regarding this issue for system calls.

Thanks,

karthik.k

Labels (1)
0 Kudos
Reply
0 Replies