hello,NXP’s engineer, when i debug s32K324 some problem occurs. i use the freertos6.0.0 and open SMP ,Sync_flags occurs when using SMP in multi-core controllers.
however , i also write
,so What could be the problem?
Hi @Zyp
Isn't that just data cache issue? Did you follow user manual for Freertos package? Here's a screenshot from page 7:
Regards,
Lukas
I can see in your code that core 1 is enabled right in the boot configuration word, so it's started immediately after reset:
However, you are trying to enable core 1 in main function of core 0 again with some delay loop after that:
Isn't this the root cause of your troubles?
I have tried your method, but it is still stuck in sync_flag. I have a question, does freertos 11.0 only need to use RTD 6.0 version? My version is RTD4.0.
It's highly recommended to use RTD version which is mentioned in the release notes file:
Regards,
Lukas
I disabled the D_CACHE_ENABLE,but the program is still stuck there.
You can tell me what additional information is needed to solve this problem?