FTFx_ERR_ACCERR by calling FlashInit (fsl_flash_driver)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FTFx_ERR_ACCERR by calling FlashInit (fsl_flash_driver)

955件の閲覧回数
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 件の賞賛
2 返答(返信)

781件の閲覧回数
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 件の賞賛

781件の閲覧回数
paul_klarhoefer
Contributor II

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

0 件の賞賛