2024-10-08 10:42 PM - last edited on 2024-10-09 04:49 AM by SofLit
Tried flashing stm32f412 custom controller using uart but facing error while going to boot mode.
Tried flashing using stlink, connected but failed to erase memory and application exiting automatically.
2024-10-10 01:48 AM - edited 2024-10-10 01:49 AM
Hello @SofLit
I have attached the schematic,
This is using stlink to flash my hex file to stm32f412, PA13-SWDIO and PA14-SWCLK
2024-10-10 02:05 AM - edited 2024-10-10 02:48 AM
Where is the schematic? This is a picture of the error, you established this in your initial post. The thread is trying to establish WHY this is happening, not to dispute that you're seeing an issue.
The failure is more indicative of a power (charge) issue as electrons are being redeployed
2024-10-10 02:08 AM
Here i have attached my schematic
I have removed green and blue LED's which are connected to PA10 and PA9 pins, and connected those pins to Tx and Rx of usb-to-uart adapter.
2024-10-10 02:15 AM - edited 2024-10-10 02:17 AM
That's not a complete schematic - it's just the STM32 and a load of signal names.
You need to show the schematic - how everything is connected.
@Vaishnavi wrote:I have removed green and blue LED's which are connected to PA10 and PA9 pins, and connected those pins to Tx and Rx of usb-to-uart adapter.
Show the actual schematic as it now stands.
2024-10-10 02:15 AM
Show POWER SUPPLY connections.
Answer VCAP question. Double check placed components.
2024-10-10 02:21 AM - edited 2024-10-10 03:01 AM
The important thing here is the power supply part of the MCU.
For help efficiency and to avoid unnecessary ping pongs, please share all the schematics you have.
Thank you for your understanding.
2024-10-13 10:55 PM
Hello @SofLit
As I shared in previous schematic, UART1 pins are connected to GPS(PA15 and PB3) will it make any difference?
Power supply, I have connected external supply to board i.e., 5v
I couldn't able to flash through PA9 and PA10 pins
While reading in serial debugger I'm receiving FF continuously.