Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: STM32 F4 Discovery tutorial using open source tools
bandit
Administrator
Posts: 321
Permalink
Post STM32 F4 Discovery tutorial using open source tools
on: September 27, 2012, 18:03
Quote

Post : STM32 F4 Discovery tutorial using open source tools
URL : http://hackaday.com/2012/09/27/stm32-f4-discovery-tutorial-using-open-source-tools/
Posted : September 27, 2012 at 11:01 am
Author : Mike Szczys
Tags : compiler, discovery, f3, gcc, openocd, sourcery codebench lite, stm32
Categories : ARM

http://hackadaycom.files.wordpress.com/2012/09/stm32f3_discovery_kit_p3323big.jpg

[Pulko Mandy] got his hands on the new STM32 F3 Discovery board. He's a fan of the open source tools just like we are, so he posted a guide covering the use of an open source toolchain with the F3 hardware (http://pulkomandy.tk/_/_Electronique/_Discovering%20the%20STM32F3%20Discovery) .

This board was just announced earlier this month (http://hackaday.com/2012/09/12/stm32-f3-discovery-dev-board-includes-some-extras/) but there is already support for it in OpenOCD. It's not all that different from the F4 board, which we would think made the process a bit easier. [Pulko] is using the Sourcery CodeBench Lite toolchain, which works for pretty much all of the ARM chips out there. It is GCC based and comes with GDB for debugging (along with all the other tools you would expect). He did created his own Linker script and startup code. These are crucial for ARM so it's nice that he provided them for us. He finishes up the guide by showing how OpenOCD can be used to flash the code to the chip and how it works with the debugger.

[Photo source (http://www.st.com/internet/com/press_release/p3323.jsp) ]

Add a comment to this post: http://hackaday.com/2012/09/27/stm32-f4-discovery-tutorial-using-open-source-tools/#respond

--
WordPress.com | Thanks for flying with WordPress!
Image

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.014 seconds.

 

Comments are closed.