How to Retrieve Windows System Information in C++

How to Retrieve Windows System Information in C++

Click the above“Mechanical and Electronic Engineering Technology” to follow us In C++, you can use Windows API functions to retrieve various information about the Windows system. Below are some common API functions and sample code for obtaining Windows system information: 1. Operating System Version #include <windows.h> #include <iostream> int main() { OSVERSIONINFOEX osvi; ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX)); … Read more

Repair Tips for BMW BSD Bus Communication Failures

Repair Tips for BMW BSD Bus Communication Failures

Click↑the blue text aboveto follow,understand cars, and understand BMW even better! As a car owner, you may be unfamiliar with BSD bus communication failures, but you have likely encountered issues caused by it, such as the water pump running continuously, inability to measure oil, inability to reset after oil maintenance, emergency power generation by the … Read more

Interface Standard JTAG in Embedded Debugging

Interface Standard JTAG in Embedded Debugging

Hello everyone, I am Pi Zi Heng, a serious tech enthusiast. Today, I will talk about the interface standard JTAG in embedded debugging. In embedded development, it is inevitable to simulate and debug code, especially when the application logic becomes complex to a certain extent. It is common to introduce some logical bugs while writing … Read more

MCU Testing and External NOR Programming Using JTAG_BSDL – LPC1857 Example

MCU Testing and External NOR Programming Using JTAG_BSDL - LPC1857 Example

1. Introduction Previously, we sharedhttps://mp.weixin.qq.com/s/BeL6UbSg2HI9qKemZugOhw?token=1054074707&lang=zh_CN the article titled“Low-Cost Learning FPGA Based on“Mining Board”” which usesJTAG boundary scan for quick pin correspondence reverse engineering.. Not only forFPGAs, but we can also useJTAG for boundary scan testing inMCUs, provided that the corresponding chip supports this feature and the manufacturer providesBSDL files. Here, we will demonstrate using theLPC1857 … Read more

Powerful JTAG Boundary Scan 5 – FPGA Boundary Scan Applications

Powerful JTAG Boundary Scan 5 - FPGA Boundary Scan Applications

Previous article, introduced the JTAG boundary scan application based on STM32F103, demonstrated the application of TopJTAG Probe software, and the basic functions of boundary scan. This article introduces the boundary scan application based on Xilinx FPGA, which is almost the same. 1. Obtain the Chip’s BSDL File The method of obtaining the BSDL file for … Read more