oddWires: Getting Started with the STM32F4 Discovery Board using Keil Mehr Nächster Blog» Blog erstellen Anmelden oddWires This blog is the blog of oddWires(www.oddwires.com) and is primarily focused on Arduino, audio and electronics. Thursday, May 16, 2013 Blog Archive ▼ 2013 (4) Getting Started with the STM32F4 Discovery Board using Keil ▼ May (3) Getting Started with the STM32F4 Discovery Board u... Getting Started with Raspberry Pi Understanding AVRDude Output This short post is deigned to help you get started with Keil and the STM32F4 Discovery board. By the end of this post you should be able to download the pre-reqs, install the software, open up the demo program and debug it using the Keil IDE. The key things to note are: ► March (1) ► 2012 (2) 1. You must install the ST-LINK driver. 2. By default Keil is naturally setup for ULink rather than ST-Link so that has to be changed 3. The default device will be incorrect and must be changed Here's the steps: Download user manual Download board support package Install Keil Install ST-LINK Driver Plug in Discovery board using a mini-USB cable ST-Link driver completes install and demo program should be flashing lights Open up the demo project from the board support package: STM32F4-Discovery_FW_V1.1.0\Project\Demonstration\MDKARM\STM32F4-Discovery_Demo.uvproj Configure Keil for ST-Link and Discovery - Project Options (ALT-F7) 1. Device: STM32F407VG 2. Debug: use ST-Link Debugger (NOT the deprecated one) 3. Debug settings: add STM32F4xx Flash 4. Utilities: select ST-Link Debugger 5. Utilities settings: add STM32F4xx Flash 6. Utilities: Update target before debugging · Build the project from the Project menu – Build target (F7) · You should now be able to debug the demo program from the debug menu (Ctrl-F5) Posted by oddWire at 12:37 PM Recommend this on Google 1 comment: Harvs September 15, 2013 at 3:29 AM Thanks for the post. A quick addition, while on step 3, change JTAG to the SWD as that's what the disco board implements. Reply http://oddwires.blogspot.de/2013/05/getting-started-with-stm32f4-discovery.html[05.03.2014 10:12:20] About Me oddWire oddWire is someone who has spent time in software, hardware and electronics both professionally and personally. He is the founder of www.oddWires.com. oddWires is focused on the broad intersection of technologies that include Open Source Hardware, Arduino and embedded microcontroller development, and electronics as a whole. In particular re-invention is a mantra. Frankly, most of what we use today has a yesterday feel about it. If you haven't already taken a look at it, look at Nest, the new home thermostat that sells for more than its target retail price. It's a thermostat you never actively set - it works out how you want to heat or cool your home. Think how that principle could be applied to the devices you use and you'll come up with a long list. View my complete profile
* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project
advertisement