No STM32CubeMX gerar o projecto no formato Makefile.
Usar o GNU ARM Embedded Toolchain.
É preciso usar um programador ST-Link V2 e o software stlink.
st-flash write build/blinky.bin 0x8000000
Correr o st-util num terminal separado. E depois corre-se o gdb com:
arm-none-eabi-gdb --eval-command="tar extended-remote :4242" build/blinky.elf
Core407V is a small STM32 development board that features an STM32F407VET6 device as the microcontroller, supports further expansion. It is ideal for starting application development with STM32F family.
- Onboard: SD card slot
- RTC Battery: CR1220
- Wireless Communication: NRF2401 Interface
- Data storage: W25Q16
- Support FMSC LCD Interface
- Multi-user keys
- All the CPU-10 lead
- 2.54mm integer multiples spacing pin
- Core: Cortex-M4 32-bit RISC
- Feature: a full set of single-cycle DSP instructions
- Operating Frequency: 168MHz, 210 DMIPS/1.25 DMIPS/MHz
- Operating Voltage: 1.8V-3.6V
- Package: LQFP100
- Storage Resources: 512kB Flash, 192+4kB SRAM
- 3 x SPI
- 3 x USART
- 2 x UART
- 2 x I2S
- 3 x I2C
- 1 x FSMC
- 1 x SDIO
- 2 x CAN
- 1 x USB 2.0
- FS/HS Controler(with DMA)
- 1 x USB HS ULPI (used for external USB HS PHY)
- 1 x 10/100 Ethernet MAC
- 1 x 8 to 12-bit parallel camera interface
- 3 x AD(12 bit,1us)
- 2 x DA(12 bit)
Board marked "STM32F4XX STM32_F4VE V2.0 1509" on the back.
Brief summary of the features
- Two GPIO headers each with a double row of pins (2 x 30). 54 + 56 = 110 GPIOs in all.
- Header pins for 5V, 3.3V & GND.
- A specialised 16 x 2 header marked "TFT" (16 data pins + strobes, and SPI).
- A 2 x 10 JTAG IDE header.
- An 8 pin female header for NRF24L01 RF (not WiFi) module.
- A 4 x 1 header for Serial (Serial 1?).
- Links for BOOT0 and BOOT1 (PB2)
- Mini SD slot.
- Mini USB which provides USB Serial (VCP) via the ST VCP driver (Read ALL the instructions when installing the driver - it's a 2-step process.)
- 4 buttons (RST, K..UP, K0, K1)
- KEY1 PE0 (TBC?)
- LEDs: "D3" = PA5 & "D2" = PA6
- Power LED = "D1"
- force re-enum is PD6 (TBC?)
- RTC and 8MHz crystals.
- RTC backup battery (CR 1220)
Many boards are fitted with additional flash - often a Winbond W25Q16 chip (16M-bit, 4KB erasable sectors & 32KB/64KB erasable blocks). Flash memory is on SPI1 - CS permanently enabled.
Some boards may have SDRAM pads on the underside, as per the ZET6 variant.
STM32F4 documentation from ST Microelectronics.
Board schematic: Media:STM32F407ZET6_sch-1.pdf (This is the ZET6 board - all appears correct, other than:
- Pin numbers on MCU will be different
- Extend I/O connectors are different (less pins)
- SDRAM is not implemented on my board)
Another board schematic (PCB and components list included): Media:STM32_F4VE_SCHEMATIC.PDF
Translated manual describes the demo software Media:STM32F407_example_manual.ja.en.pdf