2012-09-24 06:46 AM
Hi,
I'm migrating from 8-bit AVR to STM32. I have purchased already a STM3220G-EVAL board with STM32F207 CPU. The first task I want to accomplish is to get a ''Hello World'' application running on this board via RS232 port. I plan to use YAGARTO GCC Toolchain on Windows PC. To progrma the board I want to use DFU Util. Now I'm looking for really simple sample for Yagarto which will include all required files like C source, Makefile and if required others. I worked a lot with GSS and familiar with make. Can you please help me to find something simple? Thanks.2012-09-24 01:06 PM
The packages I attached earlier are GNU/GCC Yagarto based, so yes the STM32F2 firmware library works just fine. You could build the library portion independently of the application. The CMSIS based firmwares seem to mash everything together, the older 2.x version for the F1 basically pulled in a .a/.lib file.
I've built F2 projects under Eclipse using the Code Sourcery chain, and when it starting squawking about licencing, I just pointed it at the Yagarto chain, which I've used for some time, along with WinARM, to build GNU/GCC related code trees. My FreeRTOS projects are under Keil, but having them run with Yagarto or GNU/GCC is a simple port. Here's the Keil one I did for the STM32F4-Discoveryhttps://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/FreeRTOS to STM32F4DISCOVERY - Crossstudio&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=134
IAR is quite similar to Keil, has a couple of nuances that annoy me, I'd work/port things to it if someone bought me a licence. Debugging is a challenge with Open Source tool solutions, worked on by a lot of well meaning folk, but ultimately driven by their preferences/commitment. I honestly don't use debuggers much, if I have to single step my code to understand code flow I've already failed. Much prefer to stream telemetry via the serial port to understand real-time dynamics, not freeze the machine in a non-functional state. So classically when I need a debugger it's AXD/RealView/Keil. I'd imagine GDB would be similar, just not sufficiently familiar with it for it to be immediately usable for me.2012-09-24 02:13 PM
answer to all question
in this forum you are good man. who are you2012-09-28 04:29 AM
2012-09-28 05:08 AM
I mean to ask following:
I'm going to buy J-Link EDU. Do you think this is a good option to start?2012-09-28 07:15 AM
I'm going to buy J-Link EDU. Do you think this is a good option to start?
If you are eligible, this price does look good, and they are the most versatile pods. Used, and clone/bootleg, pods are also available via places like eBay.