IP and SoC Simulation and Debugging of OpenTitan

IP and SoC Simulation and Debugging of OpenTitan

Project Introduction Path <span>/home/IC_verify/project/opentitan</span> Simulation Prerequisites and Notes 1.Before running the simulation, execute source ~/source_python to switch the default Python version.2.Do not modify any files in Bazel; only run the simulation. Otherwise, Bazel will determine that dependencies need to be updated, leading to errors when downloading libraries. Simulation Method IP Verification Hardware IP Blocks – … Read more

Mastering Microcontrollers: Answer These Questions to Prove Your Skills!

Mastering Microcontrollers: Answer These Questions to Prove Your Skills!

With the rapid development of electronic technology, microcontrollers have become one of the essential basic components in many fields. They are small yet complete microcomputer systems that integrate a central processing unit (CPU), RAM, ROM, various I/O ports, and interrupt systems onto a single silicon chip using ultra-large-scale integration technology, and are widely used. 1. … Read more

Confusions in Learning FPGA

Confusions in Learning FPGA

Don’t let these misconceptions hinder your growth curve At two in the morning, the lights in the lab are still on. You stare at the flashing timing error messages on the screen, having modified the Verilog code for the 17th time, yet the development board remains silent as a stone. The coffee beside you has … Read more

Essential Guide to Building a Lightweight Serial Command Line Shell from Scratch in Embedded Development

Essential Guide to Building a Lightweight Serial Command Line Shell from Scratch in Embedded Development

Essential Guide to Building a Lightweight Serial Command Line Shell from Scratch in Embedded Development https://mp.weixin.qq.com/s/H0x2QYkhyqoQChgEqm-MwQ Implementation and Pitfall Guide for Lightweight Command Line Shell in Embedded Development In embedded development, the command line shell (CLI Shell) is the most common and direct way to interact with devices. Its simplicity, efficiency, and low resource consumption … Read more

ESP32 Development – Part 1 (Quickly Set Up ESP-IDF Development Environment Using VS Code)

ESP32 Development - Part 1 (Quickly Set Up ESP-IDF Development Environment Using VS Code)

Install the ESP-IDF Plugin Press the shortcut key ctrl+shift+p Type <span>esp-idf extension</span> and press Enter select ESP-IDF: Configure ESP-IDF Extension Wait for the configuration to complete in the bottom right corner Then click express Select the version starting with v (choose a stable version) Select the path to store the ESP-IDF source code and the … Read more

Understanding UART Communication

Understanding UART Communication

Various communication protocols are used in automotive ECUs. Previous articles introduced several serial communication methods, such as: Understanding the SPI Protocol: Principles, Architecture, and Applications Understanding the I2C Communication Protocol Understanding the Differences Between I2C and SPI Buses Chassis Domain Control: Have You Heard of AK and PSI5? In this article, we will introduce another … Read more

Mastering Linux on MCU Series Part 16: New Boot Design for Loading Linux (3) – Implementing XMODEM for Importing and Exporting Memory and SPI FLASH

Mastering Linux on MCU Series Part 16: New Boot Design for Loading Linux (3) - Implementing XMODEM for Importing and Exporting Memory and SPI FLASH

1. Introduction Previously, we implemented the read and write operations for SPIFLASH. Now, we will continue to add functionality by porting xmodem to achieve the import and export of on-chip mem and SPI FLASH. This allows us to dump the contents of on-chip RAM and FLASH, and also to import and export the contents of … Read more

Discussing the Linux Signal Mechanism in .NET Dumps

Discussing the Linux Signal Mechanism in .NET Dumps

1. Background 1. Storytelling When a <span>.NET application</span> crashes on Linux, we can configure some references to obtain the corresponding core file. After obtaining the core file, we can open it with windbg, and often see a message like this: <span>Signal SIGABRT code SI_USER (Sent by kill, sigsend, raise)</span>, as shown below: (1.1d): Signal SIGABRT … Read more

Unbelievable! The Tricks You Can Do with C Language Macros? A Must-Read for Experts!

Unbelievable! The Tricks You Can Do with C Language Macros? A Must-Read for Experts!

Hello everyone! I am Xiaokang. Today, we are going to discuss a topic that sounds dull but actually hides a lot of secrets — C language macros. ⚡ Friendly Reminder: Follow me to stay updated! There will be more hardcore technical articles shared later, guiding you through Linux C/C++ programming! 😆 What? Macros? Isn’t that … Read more

JLINK Wiring Diagram / Adapter Board

JLINK Wiring Diagram / Adapter Board

WAGO project. The diagram on the left is the schematic & the one on the right is the physical image. They are consistent when viewed side by side.Please pay attention to the physical image on the right. I connected the 7PIN ribbon cable. The three wires on the left are for the serial port (ignore … Read more