cancel
Showing results for 
Search instead for 
Did you mean: 

Custom STM32MP157A board not booting - OTG_VBUS needed? Red LED constantly on.

Elektronomikon
Visitor

Hello,

i'm currently trying to boot a custom board which has the bare minimum of STPMIC1, SDRAM and USB closely resembling the STM32MP15-DISCO evaluation board except on power delivery (VBUS from USB-C is switched via STUSB4500 but _not_ connected to OTG_VBUS at the CPU, STPMIC1 is powered from a Li-Ion battery).

STM32CubeProg finds the DFU connection over USB-C and can connect, but fails programming showing:

18:45:29 : UR connection mode is defined with the HWrst reset mode
18:45:29 : USB speed : Full Speed (12MBit/s)
18:45:29 : Manuf. ID : STMicroelectronics
18:45:29 : Product ID : DFU in FS Mode @Device ID /0x500, @Revision ID /0x0000
18:45:29 : SN : 003600443431510130343630
18:45:29 : DFU protocol: 1.1
18:45:29 : Board : --
18:45:29 : Device ID : 0x0500

18:45:53 : Start Embedded Flashing service
18:45:53 : Memory Programming ...
18:45:53 : Opening and parsing file: tf-a-stm32mp157a-dk1-usb.stm32
18:45:53 : File : tf-a-stm32mp157a-dk1-usb.stm32
18:45:53 : Size : 220.41 KB
18:45:53 : Partition ID : 0x01
18:45:53 : Download in Progress:
18:45:55 : File download complete
18:45:55 : Time elapsed during download operation: 00:00:02.239
18:45:55 : RUNNING Program ...
18:45:55 : PartID: :0x01
18:46:25 : Error: Start operation failed at partition 0x01
18:46:25 : Error: TSV flashing service failed

 

I also tried flashing the sdcard directly and boot from there, but no matter what it wont boot and the red light on PA13 stays on.

 

In the wiki is stated that this shows either:

ERROR USB TYPE-C connection in unattached mode

Check that USB TYPE-C cable is correctly plugged

or

USB TYPE-C charger not compliant with USB specification

 

As the "engineering boot mode" [100] also does not blink the LED but just turns it on i'm now looking for more information which might trigger this behavior..

 

Thanks in advance,

Thomas

0 REPLIES 0