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.
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
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.
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