IVOR_8 ISSUE IN MPC5777C

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IVOR_8 ISSUE IN MPC5777C

934 次查看
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

标签 (1)
0 项奖励
0 回复数