S32K314 chip on-chip Flash reading error issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K314 chip on-chip Flash reading error issue

1,162 次查看
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 项奖励
回复
3 回复数

1,139 次查看
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 项奖励
回复

1,131 次查看
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 项奖励
回复

1,071 次查看
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 项奖励
回复