Skip to content
MatixYo edited this page Mar 25, 2015 · 19 revisions

How to flash the evvgc firmware

WARNING: Do not connect motor power while plugged in to UART1. Having both connected at the same time will blow a FET and possibly damage other components.

i. Start with the usb/uart adapter disconnected from the PC.

ii. Connect UART1:

  • On most adapters (including CP2101-based) connect TX to RX and RX to TX. Some adapters work with TX and RX uncrossed.
  • Ground
  • 3.3v power (do not use 5v)*

iii. Jumper on Boot0, leave Boot1 and NRST unjumpered. You can bridge NRST any time if you want to reboot.

iv. Plug usb/uart into PC. There will be no light on the evv board.

On Windows:

Launch STM Flash Demo**:

  • Ensure the correct COM port is selected
  • Parity should be set to even (this is default).
  • 115200 baud
  • Click Next>Next>Next>Next

Note: Some people have found it's necessary to hit the nrst reboot just prior to clicking the first "next".

On Linux:

See stm32flash (requires compling, works via terminal)

When flashing is done Disconnect from UART1 when the process completes. WARNING: Do not connect motor power until UART1 is disconnected. Having both connected at the same time will blow a FET and possibly damage other components.

*Some v1.2 boards have two resistors on the back. These must be removed when using 3.3v.

**Version 2.6 may give you problems. Use v2.5 or 2.2.

Clone this wiki locally