Section _ Understanding and building a programmer and programming micros

Review and analysis of STM microcontroller programmers (how they work and their applications)  _ internal structure and construction 

  Researcher  and author: Dr.   (   Afshin Rashid)


Note: The ST microelectronics programmer has the ability to program STM32 and STM8 microcontrollers and programs and debugs these microcontrollers using the SWIM method for STM8 microcontrollers and the SWD method for STM32 microcontrollers.

untitled-100077_nlfx.jpg

cubemonitow_writing_values_hnot.gif

The STM series microcontroller programmer is a device that, with the help of a PC or alone, is able to transfer the program or change the settings of the STM microcontroller as a programmable electronic component. Of course,  by default, there is a program in part of the memory of the 32-bit chips of the ST company, by using which, and without the need for a programmer device, the user will be able to program the chip through software. The ST microcontroller programmer is hardware that is used to program the STM series microcontroller. In fact, the programmer places the " HEX  " file produced by the compiler inside the chip. The ST Flash loader  software    is suitable for communicating between the programmer and the computer. 

Programming using the SWD protocol for STM32 microcontrollers

The SWD protocol, which is specific to ST, provides the ability to program and debug microcontrollers with 4 pins. These pins are as follows.

  • SWCLK
  • SWEDING
  • GND
  • VCC

As a result, connect only the same pins (top 4 pins) that are present in all STM32 microcontrollers to the programmer and easily perform debugging and programming operations.

 RISC and    Embedded Memory Microcontroller  capabilities in STM microcontrollers

RISC stands for Reduced Instruction Set Computers. RISC reduces the operation time by shortening the instruction clock cycle.  Embedded Memory Microcontroller Feature A microcontroller with embedded memory is a type of chip that has all the function blocks embedded inside it. The STM microcontroller has all the programs, data memory, timers, interrupts, and I/O ports embedded inside it. And it is suitable for small general projects; industrial; robotics

  Researcher  and author: Dr.   (   Afshin Rashid)

Specialized PhD in Nano-Microelectronics