The First Sin of I2C: Understanding Common Issues

The First Sin of I2C: Understanding Common Issues

The Seven Deadly Sins, seven sins in Catholicism, abbreviated as the Seven Deadly Sins. The term ‘sin’ refers to the source or root of something. In Catholic doctrine, it is stated that “according to John Chrysostom and Pope Gregory I, we can discern the major evils that believers often encounter.” Here, ‘major’ means that these … Read more

Unveiling Microcontroller Internals: What Are ROM and RAM?

Unveiling Microcontroller Internals: What Are ROM and RAM?

In the world of microcontrollers (also known as microcontrollers), ROM (Read-Only Memory) and RAM (Random Access Memory) are two important storage components, each playing an indispensable role, often found alongside engineers. Today, let’s discuss what ROM and RAM are, their uses, and more. 1. What is ROM? ROM, or Read-Only Memory, is a type of … Read more

Install Bluetooth Serial Module on Programmer for Mobile App Control

Install Bluetooth Serial Module on Programmer for Mobile App Control

Reply to the official account with 【programmer】 to download the Bluetooth serial APP. Purchase Bluetooth Serial Module: https://item.taobao.com/item.htm?id=619731291566 After installing the Bluetooth module on the programmer, you can conveniently use your phone to view printed information and enter the console to execute various serial commands. This Bluetooth serial APP has practical functions such as saving … Read more

Analysis of Cloud Ding Lock BLE Communication (Part 2)

Analysis of Cloud Ding Lock BLE Communication (Part 2)

1. Introduction In the previous article, we extracted the firmware of the smart lock through the SWD interface and successfully loaded it using IDA. This article will continue analyzing the firmware, studying how the lock processes the communication data of BleKey sent by the phone via BLE. Continuing from the previous article, we followed the … Read more

Extracting JLink Firmware from DLL

Extracting JLink Firmware from DLL

Old readers should know that the Osprey has been using a homemade STlink in the lab. This time, the Osprey wants to make a J-LINK and found an article that everyone can learn from. (If I have time, I can provide ST-link and J-link firmware; these can basically be found online.) Source: https://www.jianshu.com/p/0cd3a513f1b1 The board … Read more

Step-by-Step Guide to Making a Jlink-OB Debugger

Step-by-Step Guide to Making a Jlink-OB Debugger

Introduction Sharing an article I wrote previously. Recently, due to a price war between two PCB manufacturers, prices dropped multiple times in a single day, which was quite lively. Jiepei dropped to a minimum of 3 yuan per unit, while Jialichuang dropped to a minimum of 5 yuan per unit, both with free shipping via … Read more

How to Use DFU to Recover STM32 When JLink Fails

How to Use DFU to Recover STM32 When JLink Fails

Background: There are many methods to flash firmware on STM32. This article discusses the DFU method. Sometimes, due to certain software errors, JLink or STLink may fail to connect, and at this point, DFU can be used as a backup. There are many methods available online for using DfuSe on Windows, but this article mainly … Read more

Boot Process Flow After Power-On for CPU | Based on RK3399

Boot Process Flow After Power-On for CPU | Based on RK3399

After the chip is powered on and reset, the first program executed is referred to as Bootrom loader within the chip. This part of the program is hardcoded into the internal ROM space of the chip during the manufacturing process, has read-only attributes, and cannot be modified during actual use. The intellectual property rights of … Read more