This blog describes the software, firmware environment and development
recommendations required to build an application around the STM32F4DISCOVERY board.
It presents the firmware applications package provided within this board with details on its
architecture and contents. It provides guidelines to novice users on how to build and run a
sample application and allows them to create and build their own application.
System requirements
-install the new release of KEIL C Compiler
-install the new driver for ST-Link-v2
-for testing your installation and bulding your first project download STM32CubeF4
-Before running your application, you should establish the connection with the STM32F4DISCOVERY board as following.
If your project is successfully compiled, the following Build Output window is displayed.
In the MDK-ARM µVision4 IDE, click the magnifying glass to program the Flash memory
and begin debugging as shown below
recommendations required to build an application around the STM32F4DISCOVERY board.
It presents the firmware applications package provided within this board with details on its
architecture and contents. It provides guidelines to novice users on how to build and run a
sample application and allows them to create and build their own application.
System requirements
-install the new release of KEIL C Compiler
-install the new driver for ST-Link-v2
-for testing your installation and bulding your first project download STM32CubeF4
-Before running your application, you should establish the connection with the STM32F4DISCOVERY board as following.
unzip the file and open any project , for example GPIO EXTI , click on Project.uvproj
or use an existing project on your pc : C:\Keil\ARM\Boards\ST\STM32F4-Discovery\Blinky
Select Target Options and select the Debug tab. In the drop-down menu box select ST-Link
Debugger as shown here:
In the Project menu, select Rebuild all target files to compile your project
and begin debugging as shown below
run and see the leds blinking
Aucun commentaire:
Enregistrer un commentaire