2
\$\begingroup\$

I am a complete beginner to Microcontroller programming. I have a new STM32F4 Discovery board and I am clueless on how to begin with a simple blinking LED program.

I have installed Eclipse with the GNU ARM plugin and now I am wondering what to do next. I have found a few tutorials online but most of them use other IDEs than Eclipse. I am not sure if Eclipse is the best IDE for uC programming. If yes, could someone point me to tutorials for such programming for beginners.

\$\endgroup\$
  • \$\begingroup\$ were you able to run built in demonstration From ST \$\endgroup\$ – Umar Jul 9 '15 at 8:30
  • \$\begingroup\$ The following is stated in the user manual The STM32F4DISCOVERY firmware applications are provided in one single package and supplied in one single zip file. The extraction of the zip file generates one folder, STM32F4-Discovery_FW_VX.Y.Z, but I am unable to find the zip anywhere in this link. Am I looking at the wrong page? @Umar \$\endgroup\$ – smyslov Jul 9 '15 at 9:48
  • \$\begingroup\$ Scroll down to "Related tools and software". \$\endgroup\$ – Brian Drummond Jul 9 '15 at 9:59
  • \$\begingroup\$ Look here stm32f4-discovery.com \$\endgroup\$ – user76920 Jul 9 '15 at 14:05
1
\$\begingroup\$

Click here

and click on Download button below. Later you can extract the files..

enter image description here

That is all i can do.

\$\endgroup\$
0
\$\begingroup\$

Getting a toolchain up and running is the first step. For the STM32F4, I recommend CooCox. It's the most straightforward to get you up and running, and will use the standard CMSIS HAL for the STM32 -- which is probably the most extensible way to program the ARM Cortex processors such that what you learn will easily transfer to other ARM Cortex manifestations.

\$\endgroup\$
  • \$\begingroup\$ How about IAR workbench as the IDE. My company has a license for it. Would you recommend using IAR workbench over CooCox? \$\endgroup\$ – smyslov Jul 9 '15 at 14:00
  • \$\begingroup\$ IAR is fine. The free versions are limited in terms of the size of the application, I believe, but with reasonable limits. It's certainly not crippleware. Full versions are very good. \$\endgroup\$ – Scott Seidman Jul 9 '15 at 17:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.