Construction of development environment
- STM32CubeMX development tool-download-install-configuration (in addition, you need to install the chip-related software package pack )
This tool is used to graphically configure the chip pins, and automatically open MDK5 after configuration - MDK5 development environment-download-install-configuration
- Install J-Link driver, USB2TTL driver
Blink the LED light on the development board
Generate an MDK5 project
Write code
Configure the J-Link emulator and flash the program to the chip
c/c++ mixed programming