Hi all,
i am facing the issue with s32k324 controller.
After jumping from boot loader to application code, pointer stuckup with one particular location. Application is not running.
My code is below:
#define APP_START_ADDRESS 0x00504000 /*This is application memory address*/
JumpToUserApplication(*((uint32_t*)APP_START_ADDRESS), *((uint32_t*)(APP_START_ADDRESS + 0x4))); (Note: Instead of 0x04, i have tried offset address of 0xC also,the same is not working)
Pointer stuckup with below location and not moving further.
Kindly provide the solution for the same.
Check the following community post. It has information related to the topic that you might find useful.
S32K312 Bootloader jump to application address
B.R.
VaneB
HI @VaneB
I am tried your suggested solution. But it is giving Hard Fault Handler.
Shall we need to write a more code to jump the application address by assembly level language.
If yes means, please provide the code for s32k324 controller.
The only bootloader example available for S32K3 devices is the Unified bootloader Demo.
Hi @VaneB ,
i am trying to check the bootloader example code "S32K324_CAN_Bootloader_RTD2d0" given in Unified bootloader Demo.
My RTD version is 3.0.0 but Demo code vertion is 2.0.0.
I am unable to build. It is showing the below error.
As per "Solved: S32K342 CAN bootloader sample code implement problem - NXP Community " community post, i am trying to create the new project.
To see driver configuration in "S32K324_CAN_Bootloader_RTD2d0" , I am trying to open the "S32K324_CAN_Bootloader_RTD200_M7_0.mex" file. It shows below error.
Kinldy suggest the solution for the above to run the bootloader example code.
This project was created using S32DS v3.4 and RTD v2.0.0. To open this project without any problem you can use that tool version and the SW version or install RTD v2.0.0. on S32DS v3.5.
The S32K3 Real Time Drivers Version 2.0.0 can be downloaded from S32K3 Standard Software -> Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M and can be installed through Help -> Install New Software...
NOTE: This SW version was created with a previous IDE version the correct functionality is not guaranteed.