FTFx_ERR_ACCERR by calling FlashInit (fsl_flash_driver)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FTFx_ERR_ACCERR by calling FlashInit (fsl_flash_driver)

930 Views
paul_klarhoefer
Contributor II

Hi,

I'm using a S32K144HAMLL processor.

I got a bootloader example project and have the following problem:

The call of the flash init function results in an FTFx_ERR_ACCERR error.

The error occurs in the following line:

ret = pFlashCommandSequence(pSSDConfig);

Does someone has a clue what might be wrong?

I attached a screenshot, where you can also see the values of the pSSDConfig variable.

In the specific line, where the error occurs, I don't find the function or macro for that, so I don't understand what is actually done in that line.

I hope you can help, I'm a little bit desperate figure this out. If you need more informations, let me know. I will provide them.

With best regards

Paul

0 Kudos
2 Replies

756 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hi Paul,

The result of FlashInit function is FTFx_ERR_ACCERR (Access Error) because a command (0x03) FTFx_READ_RESOURCE is used in the code and this command is not available for the S32K devices. 

Unfortunately, it is an unofficial project and the code was provided just for inspiration.

Best Regards,

Diana

0 Kudos

756 Views
paul_klarhoefer
Contributor II

No one got an idea? If you need more info, just let me know...

0 Kudos