How to Flash an STM32 Using KEIL UVISION.

How to Flash an STM32 Using KEIL UVISION.
STM32

Once a friend scolded me because I sent him a hex file instead of a project, and he couldn't manage to load it into the microcontroller. Honestly, I never understood why he was scolding me, since he was the one who couldn't do it))) This situation prompted me to write this article. So, we have firmware that we want to load into the MCU. First, we need to create an empty project, selecting the MCU...

How to Detect Stack Overflow in KEIL UVISION.

How to Detect Stack Overflow in KEIL UVISION.
STM32

There is plenty of information about the stack on the internet, so I probably can't tell you anything new. If someone still doesn't know, the stack is an area of RAM that works like a stack of plates. What kind of principle is that? The principle is that if there is a stack of identical plates in front of us and we need to take one, we take the top one, since it's the easiest to take. The same...

Creating a Project in Keil uVision.

Creating a Project in Keil uVision.
STM32

One of the questions that comes up when switching to STM32 is: "Which development environment should I choose?" The most popular ones are probably Coocox, IAR and Keil uVision; I use the last one. Its main advantage over the others is a powerful simulator with peripheral support and many virtual instruments. All these goodies "make life easier" for an experienced developer and help a beginner figure out the rich...