How to use FreeRTOS and FATFS together in S32_SDK_MPC574xx_EAR_0.8.1

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

How to use FreeRTOS and FATFS together in S32_SDK_MPC574xx_EAR_0.8.1

652 次查看
jeromeli
Contributor II

Hi,

I've got some problem when trying to use FreeRTOS and FATFS together in S32_SDK_MPC574xx_EAR_0.8.1.

1. If I add "USING_OS_FREERTOS" into "Properties->C/C++ Build->Settings->Standard S32DS Assembler->Symbols", FreeRTOS works properly. However, when I run f_mount(), the program is stuck at the following location. And I found that's because sdhc interrupts are not serviced.

pastedImage_1.png

2. If I delete the "USING_OS_FREERTOS" symbol, f_mount() can be completed without any error. But the program is stuck at IVOR8, as follows:

pastedImage_2.png

 

What can I do to make them both work correctly? by the way, My IDE is "S32DS Power 2017.R1", and MCU is MPC5748G.

0 项奖励
1 回复

460 次查看
jeromeli
Contributor II

Anyone can help?

0 项奖励