Using Ubuntu 22.04, with the STM32CubeProgrammer installed, I cannot see the board after pressing the RST button. When I power cycle the board, dmesg outputs:
[27279.955110] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[27284.051256] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[27284.051421] usb usb2-port1: attempt power cycle
[27288.471376] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[27292.587556] usb usb2-port1: Cannot enable. Maybe the USB cable is bad?
[27292.587723] usb usb2-port1: unable to enumerate USB device
When I put it into bootloader mode, I do get an output from dmesg:
[27450.163973] usb 3-1: new full-speed USB device number 23 using xhci_hcd
[27450.313332] usb 3-1: New USB device found, idVendor=0483, idProduct=df11, bcdDevice=22.00
[27450.313342] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[27450.313346] usb 3-1: Product: STM32 BOOTLOADER
[27450.313348] usb 3-1: Manufacturer: STMicroelectronics
[27450.313351] usb 3-1: SerialNumber: 346E32583431
I tried to erase the flash use the STM32CubeProgrammer, to no avail. I also tried to program it using the STM32CubeProgrammer and that didn’t work either.
How can I fix this board to get some output from it when it is operating?