Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Just got an STM32F4 discovery board.. Needing a little help :-)
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
7752 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Just got an STM32F4 discovery board.. Needing a little help :-)
Joseph Villa
over 12 years ago
Note: This was originally posted on 17th June 2012 at
http://forums.arm.com
Hi everyone!
I'm new to the world of microcontrollers. After some research, I bought my first ARM based Microcontroller; the STM32F4 Discovery.
Now, I have a few questions for the community, hopefully someone can answer me.
The first question has to do with the memory on the STM32F4. I was wondering if there was a way to expand the memory? Maybe have the memory on CPU, but then secondary dynamic memory (non flash) that could be added to the 192KB as extended memory.
the second question is which compiler should I start with? I normally run Ubuntu Linux 12.04, but I also have Windows on a virtual machine via Virtualbox that I'm able to load up Keil, and some of the other compilers on. I would personally like to have something that I can run on Ubuntu 12.04. Then again, I'd like to start with something that I can focus less on the software and more on the coding. I'm doing this independantly, so I'm on a budget. Which compiler would be best for me?
the third question is where should I start? I was a little confused as to what I should do first or how to set up a project. Where should I start to figure out how to code for this microcontroller? Are there any great books to read on this?
Thanks,
3vix6
Parents
Joseph Yiu
over 12 years ago
Note: This was originally posted on 17th June 2012 at
http://forums.arm.com
Hi 3vix6,
Welcome!
First, download the firmware package from ST web site:
http://www.st.com/internet/evalboard/product/252419.jsp
(there is a 32.MB zip file in the Design Support section).
This contains many example in the Project folder. There are examples for:
- Keil Microcontroller Dvelopment Kit
- IAR Embedded Workbench
-Tasking C compiler
-Atollic TrueStudio
You should also download user manual of the board:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/DM00039084.pdf
and the user manual for this chip (RM0090)
http://www.st.com/internet/mcu/product/252140.jsp
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/DM00031020.pdf
This chip has 1MB flash and 192K SRAM(3 blocks : 112KB + 16KB + 64KB). For begineers it is not that often that you need to expand the memory. Most of the projects only need a small memory size. But in case you need to, there is an FSMC external memory controller on this chip. However, whether all the signals you need are connected to the connector of the board is another question (I don't know the answer on this either).
Regarding toolchains, both Keil MDK, IAR and Atollic Trusestudio has free version with 32KB limited. Keil MDK is windows only, and I think this is the same for IAR and TrueStudio. I don't think TASKING has a free version (you can get the evaluation version which is time limited). There are other tool chains that work in Linux, but the STM32F4 examples package is limited to these 4 toolchains.
Once you decide which toolchain to use, install the software, you can then open the project files from ST web site and start trying out different example projects.
You can download the Cortex-M4 Generic Device user guide from ARM:
http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf
Hope this helps.
regards,
Joseph
Cancel
Vote up
0
Vote down
Cancel
Reply
Joseph Yiu
over 12 years ago
Note: This was originally posted on 17th June 2012 at
http://forums.arm.com
Hi 3vix6,
Welcome!
First, download the firmware package from ST web site:
http://www.st.com/internet/evalboard/product/252419.jsp
(there is a 32.MB zip file in the Design Support section).
This contains many example in the Project folder. There are examples for:
- Keil Microcontroller Dvelopment Kit
- IAR Embedded Workbench
-Tasking C compiler
-Atollic TrueStudio
You should also download user manual of the board:
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/USER_MANUAL/DM00039084.pdf
and the user manual for this chip (RM0090)
http://www.st.com/internet/mcu/product/252140.jsp
http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/REFERENCE_MANUAL/DM00031020.pdf
This chip has 1MB flash and 192K SRAM(3 blocks : 112KB + 16KB + 64KB). For begineers it is not that often that you need to expand the memory. Most of the projects only need a small memory size. But in case you need to, there is an FSMC external memory controller on this chip. However, whether all the signals you need are connected to the connector of the board is another question (I don't know the answer on this either).
Regarding toolchains, both Keil MDK, IAR and Atollic Trusestudio has free version with 32KB limited. Keil MDK is windows only, and I think this is the same for IAR and TrueStudio. I don't think TASKING has a free version (you can get the evaluation version which is time limited). There are other tool chains that work in Linux, but the STM32F4 examples package is limited to these 4 toolchains.
Once you decide which toolchain to use, install the software, you can then open the project files from ST web site and start trying out different example projects.
You can download the Cortex-M4 Generic Device user guide from ARM:
http://infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf
Hope this helps.
regards,
Joseph
Cancel
Vote up
0
Vote down
Cancel
Children
No data