2018-07-10 07:49 AM
How to download the code to the microcontroller?
I am a beginner in stm32f429 and I don't understand that how to download the code to the microcontroller.
i am using eclipse(the IDE) on windows. i hope you can help because i am new a this
https://community.st.com/tags♯/?tags=quadrature%20encoder%20stm32f429
#stm32 #quadrature-encoder-stm32f429 #stm32f4292018-07-10 12:13 PM
On a truly 'Integrated' Development Environment you'd press a button and it would download and run/debug?
People usually download to the chip via a JTAG/SWD debug pod.
Is your STM32F429 on a Nucleo or Discovery board? Those have an on-board ST-LINK.
2018-07-12 12:47 AM
I would suggest to start with a free version of Keil uVision, IAR WB, or Atollic TrueStudio. They support the MCU and the discovery board out of the box, and you don't need to struggle with things like toolchain and debug pod integration.
Atollic is Eclipse based as well, and available for free since bought up by ST.
Battling with too many issues at once will only yield frustration.
2018-07-12 01:38 AM
It is a Discovery board i have
2018-07-12 02:11 AM
You should be able to configure the debugger being used (ST-LINK via OpenOCD I'd presume, sorry using Keil here)
The alternate method to download .HEX and .BIN files is the ST-LINK Utilities.
2018-07-12 03:31 AM
Hello Mikkel,
The debug / download of your code is done by the STLinkV2 integrated into your STM32F429 Discovery.
You must therefore connect a mini USB cable to the CN1 mini USB
As described in the UM1670 (link below)
https://www.st.com/resource/en/user_manual/dm00093903.pdf
I advise you to test the connection between your PC and your target using the STM32-STLink Utility software that you can download in the link:
This will allow you to read the memory of your card and program it too.
Then assuming you use Atollic (Eclipse IDE for STM32) you can find tutorial videos for debugging here.
http://info.atollic.com/resources/video-tutorials
BR
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.