hello
boot memory configure:
APP memory configure:
erase code:
if code run here,the S32K144 reset:
Hi,friend
Did you have close interrupt? if you operate FLASH, you must close interrupt .
/* Erase the two PFlash sector */
address =ccp_save_address;
size = FEATURE_FLS_PF_BLOCK_SECTOR_SIZE*2;
ret = FLASH_DRV_EraseSector(&flashSSDConfig, address, size);
EnableInterrupts
if (ret != STATUS_SUCCESS)
{
while(1);
}
hi,
I'm having a similar problem,when I use the EEE partition,I jump to the Reset_Handler ,and I disable interrupt by use "cpsid i".
I see the RCM->SRS and I found Core lock up occurs when jump to the Reset_Handler.
Hi jinshuai:
yes,you are right,thank you!
another problem:
do you know the jump to APP code ?I don't how to jump,if you know send me mail: xiexingying@eautopower.com ,thank you very much!
hi:
like this?
If 0x8004 is address of reset vector then yes.
Regards,
Lukas
hi:
is right?
Hi,
have you disabled interrupts before jumping to user app? It is also good idea to reconfigure the device to default reset state. Or the user app must be aware that not everything is in default reset state.
If you step the asm code, are you able to get to start up code of user app? Where does it crash?
Regards,
Lukas