Hi,
I am using S32DS with SDk version S32_SDK_MPC574xx_RTM_1.0.0. Our HW platform is MPC5748G EVK.
If we use FreeRTOS component on 1st z4 core, there's no issue. However, if I use FreeRTOS component in 2nd z4 core and keep 1st z4 baremetal code, the OS tick on 2nd z4 core doesn't work at all.
Any comment about FreeRTOS support on 2nd z4 core of MPC5748G? Attached my code.
Or any multi-core FreeRTOS example available?
已解决! 转到解答。
Already solved. For 2nd core, manually modify
SDK\rtos\FreeRTOS_C55\Source\portable\GCC\PowerPC_Z4\cpu_defines.h
#define INTC_CPR_ADDR 0xFC040010
#define INTC_IACKR_PRC_ADDR 0xFC040020
#define INTC_EOIR_PRC_ADDR 0xFC040030
To
#define INTC_CPR_ADDR 0xFC040014
#define INTC_IACKR_PRC_ADDR 0xFC040024
#define INTC_EOIR_PRC_ADDR 0xFC040034
Already solved. For 2nd core, manually modify
SDK\rtos\FreeRTOS_C55\Source\portable\GCC\PowerPC_Z4\cpu_defines.h
#define INTC_CPR_ADDR 0xFC040010
#define INTC_IACKR_PRC_ADDR 0xFC040020
#define INTC_EOIR_PRC_ADDR 0xFC040030
To
#define INTC_CPR_ADDR 0xFC040014
#define INTC_IACKR_PRC_ADDR 0xFC040024
#define INTC_EOIR_PRC_ADDR 0xFC040034