OpenWRT Plugin: Bandwidth Limiting with QoS Mate

The main function of the QoS plugin is to manage the network traffic between the local area network and the public network. By using different algorithms, it allocates priorities to different types of traffic, thereby improving overall network performance. In my long-term environment where both upload and download are fully utilized (BT, PCDN, etc.), configuring … Read more

Modifying Default IP Address During OpenWrt Compilation

Modify the following file openwrt/imx_openwrt/package/base-files/files/bin/config_generate as follows: case "$protocol" in static) local ipad case "$1" in #lan) ipad=${ipaddr:-"192.168.1.1"} ;; #*) ipad=${ipaddr:-"192.168.$((addr_offset++)).1"} ;; lan) ipad=${ipaddr:-"10.168.103.129"} ;; *) ipad=${ipaddr:-"10.168.$((addr_offset++)).1"} ;; esac netm=${netmask:-"255.255.255.0"} uci -q batch <<-EOF set network.$1.proto='static' set network.$1.ipaddr='$ipad' set network.$1.netmask='$netm' EOF [ -e /proc/sys/net/ipv6 ] && uci set network.$1.ip6assign='60' ;; The actual effect is OK: … Read more

Unlocking the Potential of LwIP: Easily Implementing Multi-NIC on MCU

1. Introduction Recently, while communicating with developers, there was a request to implement multi-NIC functionality (Ethernet + USB 4G NIC) on the Xianji platform. I sent a reference to an article from nearly two years ago titled “[hpm_application] How to Easily Implement Multi-NIC (Ethernet + USB 4G) on Xianji MCU in RT-Thread” and reflected on … Read more

Do Embedded MCU Software Development Projects Really Need Architecture Engineers?

In the field of embedded development, MCUs (Microcontrollers) have always been the core hardware platform in industrial control, automotive electronics, and smart home applications due to their low power consumption, high cost-effectiveness, and wide range of applications. However, as the complexity of MCU functions increases (such as automotive-grade chips supporting multi-bus communication and real-time control … Read more

The Collision of MCU and LLM: Exploring the Possibilities of AIoT

Click below👇“AI Knowledge Exchange”Follow our official account “The table lamp at home suddenly understands human speech, factory machines proactively report faults, and children’s toys can assist with homework… These scenarios are no longer science fiction! Recently, a technological trend has been quietly brewing—connecting the traditionally ‘silent’ Microcontroller Units (MCUs) with large AI models. What possibilities … Read more

Analysis of Local MCU Companies’ 2024 Financial Reports: Recovery in Consumer Electronics, Automotive Sector Still Burning Cash

The market demand for MCUs has gradually revealed new characteristics and trends in 2024 after experiencing fluctuations in the previous two years. Although international MCU giants are generally under pressure in their 2024 financial reports, Chinese MCU companies are seizing opportunities to increase their market share amid the global industrial chain restructuring…According to the “2024 … Read more

Methods for Implementing FIFO in MCU Communication Protocols

Follow+Star Public Account Number, don’t miss out on exciting contentSource | NetworkUsing FIFO in MCU communication can prevent packet loss due to large data volumes. Today, I will discuss a method for implementing FIFO through a custom communication protocol format. 1. Overview First, let’s list the shortcomings of traditional serial port data transmission and reception: … Read more

The Five Core Companies in the MCU Chip Industry!

The scale of China’s MCU chip industry is expanding, driven by the electrification and intelligence of automobiles, leading to a high increase in demand for automotive MCUs.A microcontroller unit (MCU) is a chip that integrates a CPU, memory, input/output interfaces, etc., with 8-bit and 32-bit being the main types on the market. China’s MCU chip … Read more

The Volatile Keyword You Might Overlook in MCUs

Click 👆👆👆 the blue text Follow “Passion Embedded” In embedded development, especially in the development of microcontrollers like STM32, the <span>volatile</span> keyword is a very important concept. 1. Concept of the volatile Keyword <span>volatile</span> is a type modifier in C/C++ that tells the compiler: The variable may be modified unexpectedly (e.g., by hardware, interrupts, or … Read more