2019-05-01 06:02 PM
Hi guys, I have a project where I need to use STM32 ARM processors I want to be able to program a bare chip of STM32's ARM Microcontrollers on my breadboard. I have a ST link V2 as the programmer. I would like to know what software (for free only)/application I need to install on my computer to code and upload it to this bare chip of mine. What are the steps I need to take to successfully write code and dump it on my STM32 ARM Microcontroller.
To basically sum it up, I have a LCD display, and I want to display characters from a sensor's readings, so which software do I use to write and upload code and it should be used with my ST link v2.
Thank you.
2019-05-07 02:20 PM
What is the STM32 model ? From what you describe it's a simple application so if it's a supported model Arduino might be a far easier to use IDE/programmer than STMCube.
2019-05-07 07:51 PM
Not a problem
But my only worry is will the code he writes, will it be accepted by Keil MDK-ARM? I know both are C and should work, I just wanted to confirm with you. Can I just copy paste the code in the video and upload it on Keil? Will it still work?
And this guy doesn't use STM32CUBEMX, which is to generate code for the register initialisation and GPIO etc, also we can write it by hand right? Isn't that what the guy in the tutorial is essentially doing? Not using auto generated code and typing it out by hand?
2019-05-07 07:53 PM
May I know what is firmware programming? And how can I upload this via the USB from my comp to the STM32 microprocessor?
Is this a way of uploading code from a comp app to your STM32 chip?
2019-05-07 08:29 PM
I am looking at seeing all cortex ARM processors from M0 to M7 and program them to find which is best suited.
2019-05-07 10:56 PM
Yes you right he is not using such file but he is using only startup files file which is sufficient for handling a micro-controller. When you see his all videos then you see that he work with only registers and their bits.
2019-05-07 11:00 PM
But is the code the same for what he uses? Can I just copy the code and will it be executable? And what about setting up ST Link V2 on Keil?