S32K314 chip on-chip Flash reading error issue

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

S32K314 chip on-chip Flash reading error issue

501 Views
OTliupeng
Contributor I

Currently, there are two instances where the on-chip Flash cannot be read, resulting in code errors and a watchdog reset.

When erasing code, it is also impossible to erase it properly; How can this confirm what issues are with the current Flash?

What can be confirmed is that there was no problem with the chip at the beginning, but there were problems during subsequent use; But there were no other abnormal operations.

0 Kudos
Reply
3 Replies

478 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @OTliupeng,

What are the regions that cannot be accessed?

Have you installed the HSE_FW?

What status error do the APIs return?

 

Regards,

Daniel

0 Kudos
Reply

470 Views
OTliupeng
Contributor I

hello,

What are the regions that cannot be accessed?

Flash address 0x600000

Have you installed the HSE_FW?

I will confirm this and reply later; What will happen if this installation or not installation occurs?

What status error do the APIs return?

This is reading the saved IMU calibration parameters from memory, and once read, the code crashes; Because a watchdog was used externally, it has been constantly resetting.

 

0 Kudos
Reply

410 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @OTliupeng,

Please make sure the system clock is configured precisely to one of the clock options, RM, Section 24.7.2 Clocking use case examples.

Can you use the C40_Ip_Read() API to read the flash?

Do you have HardFault_Handler() implemented in the project?

 

Regards,

Daniel

0 Kudos
Reply