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.
Zyp_0-1758700061019.png
however , i also write
,so What could be the problem?
It's highly recommended to use RTD version which is mentioned in the release notes file:
lukaszadrapa_0-1760337760732.png
lukaszadrapa_1-1760337770459.png
Regards,
Lukas
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.
I can see in your code that core 1 is enabled right in the boot configuration word, so it's started immediately after reset:
lukaszadrapa_0-1759233303641.png
lukaszadrapa_1-1759233330324.png
However, you are trying to enable core 1 in main function of core 0 again with some delay loop after that:
lukaszadrapa_2-1759233386909.png
Isn't this the root cause of your troubles?
This is my project,I hope you can help me take a look. I used the method of starting from the kernel in the demo, but I feel that the kernel did not start successfully
I disabled the D_CACHE_ENABLE,but the program is still stuck there.
Zyp_1-1758790020092.png
Zyp_2-1758790049111.png
You can tell me what additional information is needed to solve this 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:
lukaszadrapa_0-1758786383313.png
Regards,
Lukas