our stm32mp157F based custom board will not boot up, we see the panic error message on the uart interface.
hi,
we are trying to flash our yocto build on our custom board using the stm32cubeprogrammer via usb in dfu mode. the flashing fails w/ the following message:
19:33:39 : Opening and parsing file: tf-a-stm32mp157f-nff-mx-usb.stm32
19:33:39 : File : tf-a-stm32mp157f-nff-mx-usb.stm32
19:33:39 : Size : 225596 Bytes
19:33:39 : Partition ID : 0x01
19:33:39 : Download in Progress:
19:33:39 : File download complete
19:33:39 : Time elapsed during download operation: 00:00:00.550
19:33:39 : RUNNING Program ...
19:33:39 : PartID: :0x01
19:35:29 : Error: an error occured while uploading data from the virtual partition 0xF1
on the console we see the following message:
on the console we see the following log:
PANIC at PC : 0x2ffea97f
Exception mode=0x00000016 at: 0x2ffea97f
we've looked at the following troubleshooting guide:
https://community.st.com/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guide
we have tried all three of the configurations for the HSE clock but nothing has worked.
we looked at the i2c4 lines connected to the pmic and see that the bootrom does try to communicate w/ the pmic. it configures register 0x10 by writing a 4 into it. and then it reads register 0x20. it seems that several microseconds after reading the pmic's register 0x20 the bootrom sends a panic error the console.
any suggestion on how to debug the problem would be appreciated.
cheers,
vince
