Understanding TCP/IP Protocol: The Four-Way Handshake

Understanding TCP/IP Protocol: The Four-Way Handshake

TCP/IP is not a single protocol, but a collective term for a suite of protocols. It includes the IP protocol, ICMP protocol, and TCP protocol. 1 Here are a few key points to note: Internet Address: This is the IP address, generally consisting of the network number + subnet number + host number.Domain Name System: … Read more

Tips for Parameter Storage in Embedded Devices

Click on the “Embedded Application Research Institute” above, select “Pin/Star the Official Account“ Practical Benefits, Delivered First-Hand! Source | CSDN Passing Bear Compiled & Formatted | Embedded Application Research Institute 1. Introduction Those involved in embedded product development must have encountered the need to save device parameters. A common approach is to manage parameters using … Read more

Considerations for Using IAR Development Environment with AVR Microcontroller

Considerations for Using IAR Development Environment with AVR Microcontroller

Header File Meanings avr_macros.h includes simplified writing for reading and writing 16-bit registers, along with several bit manipulation functions. comp_a90.h provides brief writing for a large number of intrinsic functions. ina90.h includes the “inavr.h” and “comp_A90.h” files. intrinsics.h provides intrinsic functions that offer the simplest operations for handling the processor’s low-level features: sleep, watchdog, FLASH … Read more

Detailed Analysis of KEIL C51 Code Optimization

Detailed Analysis of KEIL C51 Code Optimization

In-depth analysis of Keil C51 bus peripheral operation issues. 1 Problem Review and Analysis In actual work, encountering repeated consecutive reads of the same port, the Keil C51 compiler did not achieve the expected results. Analyzing the assembly program generated by the C compiler found that the second read statement of the same port was … Read more

Resolving Link Errors in Keil Compilation

Resolving Link Errors in Keil Compilation

Using Keil MDK, I tried an example for STM32F107. After opening and compiling, the compilation succeeded, but the linker indicated that there were 5 functions undeclared. However, upon reviewing the files, it was clear that the header files were included. Why was it still not working? I also tried using extern declarations, but that did … Read more

What Does an Embedded BSP Engineer Do?

What Does an Embedded BSP Engineer Do?

Today we will learn what a BSP engineer is. 1. Embedded Systems To understand what an embedded software engineer is, we must first discuss embedded systems (embedded devices). The definition of embedded systems on Wikipedia is as follows: An embedded system (<span>Embedded System</span>) is a computer system that is embedded within mechanical or electrical systems, … Read more

Effective Approaches for Rust Newcomers

Effective Approaches for Rust Newcomers

Mozilla RustThe official team provides an extensive and high-quality eBook and technical documentation, which is enough for us to read directly.Moreover, I guarantee you won’t finish it because they are continuously updated with newrust versions, and occasionally there are new books on specific topics (for example, async programming, macros, cargo book, rustc book, etc.).I feel … Read more

Essential Skills for Linux Experts: A Comprehensive Guide to Environment Variables

Essential Skills for Linux Experts: A Comprehensive Guide to Environment Variables

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the 1000-person technical communication QQ group. Note: [Public Account] for faster approval 1. Basic Concepts Environment variables (environment variables) generally refer to parameters used to specify the operating environment of the operating system. For example: when we write C/C++ code, we never … Read more

Implementing Partial Screen Clear on LCD

Implementing Partial Screen Clear on LCD

Graphic Control Uncle Composition conveys ideas Reading has never been this easy!!! 01 Introduction When developing multifunctional applications for an LCD screen, there are times when you need to clear the screen. Clearing can be done in two ways: full screen clear and partial screen clear. Today, I will document the code for partial screen … Read more