STM32MP1 ECO 5.0.0. CubeProgrammer flashing image 0x1 result in no USB response after download
- September 4, 2023
- 2 replies
- 1780 views
After compiling TF-A, uboot and optee, the flashing of the first mage xxx-usb.stm2 using the CLI tool ends with a wait for completion of the download this fails. The UART report a panic. Any idea how to look further. is this a problems with TF-A device tree or could it be from uboot or optee as the binaries in and output pf those build depend on each other ? Any way to reduce or isolate where it it going wrong to reduce the effort for looking around and trial and errors ? Could it just be .dtb file TF-A generated ?
This board ran fine with a previous ECO system.
CubeProgrammer:
File download complete
Time elapsed during download operation: 00:00:03.039
RUNNING Program ...
Address: : 0x1
DFU status = 0
DFU State = 5
bwPollTimeout = 1
sending a dfu end of download request
DFU status = 0
DFU State = 7
bwPollTimeout = 1
libusb get status error [-7] : LIBUSB_ERROR_TIMEOUT
libusb get status error [-7] : LIBUSB_ERROR_TIMEOUT
libusb control transfer error [-7] : LIBUSB_ERROR_TIMEOUT
Reconnecting...
Error:
Unable to reconnect the target device: time out expired
Error: Start operation failed
UARTS:
PANIC at PC : 0x2fff1a71
Exception mode=0x00000016 at: 0x2fff1a71
