2025-06-02 5:28 AM
Hi,
I'm trying to enter bootloader mode but fails in the process.
Things i have done:
Shield powered with 3.3V
FTDI attached to RXD, TXD, GND
JP1 changed from User Flash -> Bootloader
Measured that PA10 is high at boot
I send 0x7F but doesn't receive anything.
Oscilloscope used to be sure that 0x7F is transmitted
Any suggestions on next steps?
2025-06-02 5:50 AM - edited 2025-06-02 5:53 AM
Hello @CBras
Could you please try to access bootloader using the STM32CubeProgrammer V2.19.0 and give as the logs (with verbosity level 3). Also, what are the setting that you are using (are you using PA1 as TX and PB0 as RX for USART configured to 8-bit, no parity).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-06-02 6:01 AM
I should have mentioned that i already try in STM32CubeProgrammer.
Yes I use PA1 and PB0 which from what I see on schematic for shield is available on the arduino pins.
Serial is set to 8-bit no parity, 9600 bps and 115200 are tried.
I have attached the logs
14:55:35:651 : UR connection mode is defined with the HWrst reset mode
14:55:35:661 : RTS low
14:55:35:661 : DTR low
14:55:35:674 : Serial Port COM5 is successfully opened.
14:55:35:674 : Port configuration: parity = none, baudrate = 115200, data-bit = 8, stop-bit = 1.0, flow-control = off
14:55:35:674 : No Init bits value is : 0
14:55:35:674 : Sending init command:
14:55:35:676 : #byte 0x7F sent successfully to target
14:55:37:677 : Wait ends after 1 loop, dataready = 0, delay = 2000
14:55:37:677 : Timeout error occured while waiting for acknowledgement.
14:55:37:678 : No response from target received
14:55:37:678 : Retrying UART init connection...
14:55:37:680 : #byte 0x7F sent successfully to target
14:55:37:778 : Wait ends after 1 loop, dataready = 0, delay = 100
14:55:37:779 : Timeout error occured while waiting for acknowledgement.
14:55:37:781 : No response from target received
14:55:37:781 : Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...
14:55:37:894 : UART PORT CLOSE
2025-06-02 9:03 PM
@STTwo-32 when I have changed the jumper from User Flash -> Bootloader, it no longer work in my application with SPI so I assume it is in bootloader mode.