Implementation method and principle of STM32 OTA
OTA introduction: The full name of OTA is over the air. In embedded systems, it refers to the online software upgrade of an embedded system. As for MCU system, it is an online update of Firmware for the whole MCU, so it is also called FOTA. DFU is also called Device firmware upgrade. All have the same meaning. OTA is used here. General MCU gene ...
Posted by alecodonnell on Mon, 06 Dec 2021 15:53:22 -0800
STM32F103C8T6 porting uCOS based on HAL Library
preface
All operations during the experiment must be careful and careful. Do not rush to operate. The error of the final experiment operation is often caused by the error of a small step.
Experimental requirements
Learn the embedded real-time operating system (RTOS), take uc/OS-III as an example, transplant it to stm32F103, and build at ...
Posted by wcsoft on Mon, 06 Dec 2021 12:42:16 -0800
Porting uC/OS-III operating system based on stm32cubemx and waveform observation
catalogue
1, Get uC/OS-III source code
2, Create folder
2.1 new folder
2.2 create an empty file
2.3 import source code
2.4 creating a basic stm32 framework
2.5 import file and add header function path
two point six Open keil and add item
3, Rewrite code
3.1 modify startup file
3.2 modify CONFIG/app_cfg.h
3.3 modify C ...
Posted by Azarian on Sun, 05 Dec 2021 05:35:31 -0800
STM32F103 transplantation uCOS-III
This paper mainly describes how to use STM32F103C8T6 to transplant uCOSIII operating system, build three tasks, control the LED on-off in 1s and 3s, and send "hello uc/OS! Welcome to RTOS multitasking environment" through serial port in 2s cycle. In addition to mastering the Keil simulation and debugging code function, SaleaeLogic16 i ...
Posted by annette on Sat, 04 Dec 2021 23:23:57 -0800
STM32F103C8T6 Porting uC/OS-III Based on HAL Library
1. Get uC/OS-III source code
1. Download on the official website
Enter the download center of Micrium's official website: Micrium Software and Documentation - Silicon Labs Select the ST series and click View all STMicroelectronics.
2. Building stm32 hal Library Project
Open stm32 cubeMX, select the chip stm32f103c8, configure the syst ...
Posted by hadingrh on Sat, 04 Dec 2021 11:13:47 -0800
STM32F103C8T6 uCOS migration based on HAL Library
Based on HAL library, this paper realizes the transplantation of uCOS by using STM32CubeMX software and STM32F103C8T6 software.
1, CubeMX establishes STM32F103C8T6HAL Library
For details about the use of CubeMX here, please refer to my previous articles. Here you can operate directly without too much introduction. Installation and light ...
Posted by GuiltyGear on Fri, 03 Dec 2021 21:50:08 -0800
[STM32] PWM driven steering gear (TIM3CH2)
**
[STM32]PWM driven steering gear
thinking
1. Output pulse signal with PB5 2. Understand the principle of PWM 3. Understand the relevant settings of steering gear 4. Knock the code to correct the bug
Related hardware
STM32C8T6 Minimum system board
SG90 steering engine
Jlink
DuPont line
Relevant knowledge
steering engine
High leve ...
Posted by happyhappy on Fri, 03 Dec 2021 13:43:33 -0800
Making RTC clock based on STM32CubeMX (HAL Library)
1, RTC overview
The abbreviation of real-time clock is RTC(Real_Time Clock). RTC is an integrated circuit, usually called clock chip. Real time clock chip is one of the most widely used consumer electronic products in daily life. It provides accurate real-time time for people, or provides accurate time reference for electronic systems. ...
Posted by cueball2000uk on Thu, 02 Dec 2021 23:01:23 -0800
C Primer Plus sixth edition programming exercise Chapter 7 answers
1. Write a program to read the input, stop reading the # characters, and then report the number of spaces, line breaks and all other characters.
/*7.12*/
#include<stdio.h>
#define STOP '#'
#define BLACK ' '
#define NEWLINE '\n'
int main()
{
char ch;
int n_black = 0;
int n_NEWLINE = 0;
int n_others = 0;
printf("please enter the char: ...
Posted by allexx_d on Thu, 02 Dec 2021 17:49:53 -0800
[untitled] OLED screen display experiment (STM32)
1, Experimental requirements
Understand the principle of OLED screen display and Chinese character dot matrix coding, and use the SPI or IIC interface of STM32F103 to realize the following functions:
Display your student number and name; Display the temperature and humidity of AHT20; Slide up and down or left and right to display long ...
Posted by unknown1 on Tue, 30 Nov 2021 21:37:50 -0800