Hi Everyone ,
i am trying to run FreeRTOS run in S32k328, i created a single task and try to run it , at first time runs properly , but after that code stuck at one
Hi Everyone ,
i am trying to run FreeRTOS run in S32k328, i created a single task and try to run it , at first time runs properly , but after that code stuck at one prvPortStartFirstTask(),
i changed the svc handler name in vector table , we got this error, posted the images for your reference,
do anything needs to change?
(),
i changed the svc handler name in vector table , we got this error, posted the images for your reference,
do anything needs to change?
Hello @AntoZ ,
Thank you for the additional information and screenshots.
From the register view, I can see that the VTOR (Vector Table Offset Register) is set to 0x20000000, which means the vector table is relocated to RAM. This is a valid configuration, but it requires that the vector table in RAM is correctly initialized, including the entry for the SVC_Handler.
Since you mentioned that you renamed the SVC_Handler, please ensure the following:
The vector table in RAM at 0x20000000 must contain the correct address of your renamed SVC_Handler.
If the table was copied from flash, make sure it reflects the updated symbol name.
If you are using C++, ensure the handler is declared with extern "C" to avoid name mangling:
Verify that the vector table is correctly copied to RAM before setting VTOR.
This is typically done early in SystemInit() or main().
Double-check that the renamed handler is correctly linked and not discarded by the linker.
If the issue persists, could you please share a minimal version of your project that reproduces the problem? This would help us analyze the vector table setup and handler linkage in more detail.
Best regards,
Pavel