S32K314 chip on-chip Flash reading error issue

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

S32K314 chip on-chip Flash reading error issue

502件の閲覧回数
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 返答(返信)

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

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

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