Home

Awesome

VCC GND STM32F407ZGT6 Mini

MicroPython board definition files for the STM32F407ZGT6 Mini board from VCC-GND.

board

You can buy one for around $30 AUD (Oct 2019) on AliExpress.

Build the firmware

Clone the board definitions to your MicroPython ports/stm32/boards folder.

cd micropython/ports/stm32/boards
git clone https://github.com/mcauser/VCC_GND_F407ZG.git

cd ..
make BOARD=VCC_GND_F407ZG

Flashing via DFU

This board can be flashed using DFU. To put the board in DFU mode, disconnect USB, slide the BOOT0 DIP switch to the ON position (towards USB) and reconnect USB.

Now you can flash the board using USB with the command:

make BOARD=VCC_GND_F407ZG deploy

Once the upload is complete, disconnect USB, slide BOOT0 back to the original position and reconnect USB.

Alternatively, you can use the MicroPython command pyb.bootloader() to get into DFU mode without needing to use the switch.

Currently, you need to unplug and replug the board in order to switch from DFU mode back to regular mode.

Accessing the board

Once built and deployed, you can access the MicroPython REPL (the Python prompt) via USB serial.

screen /dev/tty.usbmodem1422 115200
# or
screen /dev/ttyACM0 115200

Specifications

Modifications

This board has a 25MHz system crystal oscillator.

Exposed Port Pins

Peripherals

SPI Flash W25X40 (U5)

NandFlash K9F5608 (U8)

AT24C08 8K EEPROM (U6)

SWD debug (P4)

USB (U3)

Micro SD

User LED

Links

Related boards

License

Licensed under the MIT License.