How to use FreeRTOS and FATFS together in S32_SDK_MPC574xx_EAR_0.8.1

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use FreeRTOS and FATFS together in S32_SDK_MPC574xx_EAR_0.8.1

407 Views
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 Kudos
1 Reply

215 Views
jeromeli
Contributor II

Anyone can help?

0 Kudos