2012-06-09 11:15 AM
how to use STM324xG-EVAL projects on STM32F4 discovery board????
friends i am new to discovery board...nd i want to use SDIO of discovery....bt example progrms for discovry doesnt contain SDIO program bt for STM324xG-EVAL board all examples are there...so is there any way to use those STM324xG-EVAL examples on discovery board....help needed...plz #stm32f4discovery-stm3240g-sdio2012-06-09 03:32 PM
You have to make sure that the pin definition match those of your board, and the defines match either the board you're trying to emulate, or create another board definition.
The trick with making a project is to either be very aware of the settings, or to clone/duplicate an example/template project, and then add in the groups and files required. Pay attention also to the include paths that the project needs. As you attempt to build the project it may be come clear that you need to pull in additional files or add additional include paths. How easy this is will depend on your IDE, and your familiarity with driving it. Once you have a building project you will have a more complete idea about the components needed. Another tip is to actually read the README.TXT files as they contain useful directions about the firmware example projects.2012-06-10 09:32 PM
Yes, this Project is workable.
I have it working on Atrollic Lite Compiler for the Stm32F4Discovery Brd. And, I am trying to port it over to the Code Sourcery Lite / WinArm. - I would suggest Not using Keil - it uses messy Header Libraries. * You need to download the Stm32F4_Lib * and the Stm3240g_Firmware. * Most Pinouts are the same. * You need to disable many of the extra features (like LCD and FSMC). * You need to modify the CLK settings.2012-06-27 10:32 AM
2012-06-27 11:18 AM
Here's the code I ported to the STM32F4 Discovery during the conversations with JLC, I'm waiting on some breakout boards to test on the Discovery, my test platform is a custom STM32F2 board. There is some discussion as to whether PC.02 is usable on a Discovery board, it's listed as unused.
There is a README.TXT file that describes my pin expectations. Review schematics for the STM3240G board for additional insight. I also have this as a Keil 4 project. Project source has been posted here [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Where is the UsbMassStorage Examples Supt for stm32f4xx&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/AllItems.aspx¤tviews=249]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fcortex_mx_stm32%2fWhere%20is%20the%20UsbMassStorage%20Examples%20%20Supt%20for%20stm32f4xx&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&TopicsView=https%3A%2F%2Fmy.st.com%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FAllItems.aspx¤tviews=249