2023-12-08 05:24 AM - edited 2023-12-08 05:40 AM
Hi All,
Today I received two NUCLEO-H503RB boards, but when trying to get the ADC calibration values the processor HardFaults. According to the datasheet it's the correct address:
Also when trying to access it with the debugger it fails
Also the temperature sensor calibration seems defective.
Something I'm doing wrong or are Nucleo's not calibrated or something?
Solved! Go to Solution.
2024-04-25 12:38 PM
Hello @Torin
By debugging your code I found that you fall into a bus fault.
According to RM0499 section 7.3.9 (OTP and RO memory access) this is expected:
If the OTP address you accessing is virgin, it is expected that the embedded flash memory detects ECC errors and NMI is raised. Because if you read addresses already programmed such as TRIM values of TSCAL1/2 or VREFINT (example 0x08FF_F814 of TSCAL1) there is no issues seen.
In my understanding the NMI is escalated to a bus-fault. I'm checking internally how is it possible to read virgin OTP values without any issues.
Best regards,
Younes
2024-07-02 07:02 AM - edited 2024-07-02 07:06 AM
Hello @CMYL
I'm using a STM32H562VG and I'm having the same issue.
Do you have any news about this point?
Also, when I try to read a non-virgin OTP block, I'm still having a bus hard-fault.
Regards,
Gianluca.