Is Embedded Real-Time Operating System Truly Real-Time?

Is Embedded Real-Time Operating System Truly Real-Time?

We often say RTOS (Real Time Operating System) real-time operating system, but what exactly is a real-time operating system? Is it truly real-time?I believe many beginners have this question. Brief Introduction to RTOS RTOS:Real Time Operating System, which meansreal-time operating system. According to Baidu Baike’s explanation: A real-time operating system is one that can accept … Read more

How to Access Hard Drives Using Assembly Language

How to Access Hard Drives Using Assembly Language

Accessing the hard drive in assembly language involves direct programming of the hardware, particularly the hard drive controller. This typically includes setting specific ports and registers, as well as sending the appropriate commands and data to read from or write to the hard drive. Here are the basic steps for accessing the hard drive (using … Read more

Using Interrupts to Send Data with dsPIC33CK and I2C

Using Interrupts to Send Data with dsPIC33CK and I2C

Functionality: Use interrupts to send data, efficiently utilizing the I2C peripheral.First, refer to the manual’s I2C section to understand the basic functions and usage of I2C. Then choose the appropriate operational method based on the functionality you want to implement.Obtaining information about OLED: Search for “0.96 inch OLED screen” on Taobao, where you can find … Read more

Embedded Programming Experience

Embedded Programming Experience

Wu Jianying’s Microcontroller Development Board Address Shop:【Wu Jianying’s Shop】 Address:【https://item.taobao.com/item.htm?_u=ukgdp5a7629&id=524088004171】 Mastering three languages in embedded programming is considered unbeatable: Assembly, C, and C++. With limited energy, mastering the first two is sufficient. If not, one must be proficient in C; otherwise, one can only be a leader, haha. I’ve been in this industry for over … Read more

Five Considerations for Microcontroller Embedded Programming

Five Considerations for Microcontroller Embedded Programming

In the process of microcontroller programming, if a designer can master multiple programming languages at the same time, then this designer is definitely a very talented individual. However, mastering assembly, C, and C++ simultaneously is quite difficult, and many beginners encounter numerous obstacles while learning just one of these languages, leading to frustration. This article … Read more

STM32 M4 External Interrupt Issues with CubeIDE

STM32 M4 External Interrupt Issues with CubeIDE

Today, we mainly completed the M4 core interrupt operations of the STM32MP157AAA3 chip. Last week, STM32CubeIDE 1.11.1 was functioning normally, but today there was an issue with creating a project. After searching for the reason without success, I planned to go to the official website to find the software installation package again. I found that … Read more

Working Principle and Usage of 51 Microcontroller Timer

Working Principle and Usage of 51 Microcontroller Timer

Working Principle and Usage of 51 Microcontroller Timer TMOD: Controls the working mode of the timer. 8 bits, the high four bits control T1, and the low four bits control T0. There are four working modes for the timer; TMOD = 0x00 (Mode 0), TMOD = 0x01 (Mode 1), TMOD = 0x02 (Mode 2), TMOD … Read more

PLC Interrupt Instructions and Examples

PLC Interrupt Instructions and Examples

1. Concept of Interrupts and Interrupt Events In our daily work, we follow a normal workflow. If an emergency occurs or we need to attend to another task after a certain period, we must first stop our current work to handle the emergency or the other task. This stopping of work is called an interrupt, … Read more

Linux Kernel Learning Notes

Linux Kernel Learning Notes

This article is an excellent piece from the Kanxue Forum. Kanxue Forum Author ID: e*16 a The following is based on the code of linux0.11. 1 Kernel's Five Major Structures 2 Interrupt Workflow 1. ARM Memory (1) Convert CPU working mode (2) Copy and stack registers (3) Set interrupt vector table (4) Save the return … Read more

Detailed Explanation of Interrupts in ARMv8/ARMv9 – Interrupt Examples (Virtualization Part)

Detailed Explanation of Interrupts in ARMv8/ARMv9 - Interrupt Examples (Virtualization Part)

Click the blue "Arm Selected" in the top left corner and select "Set as Star" Drainage Keywords: armv8, armv9, gic, gicv2, gicv3, exceptions, interrupts, irq, fiq, serror, sync, synchronous exceptions, asynchronous exceptions, vector table, vector table base address, VBAR, vbar_el3, interrupt nesting, interrupt cascading, Linux Kernel, optee, ATF, TF-A, optee, hypervisor, SPM The relevant control … Read more