FPGA Not Loading Program from Flash When Connected to JTAG Downloader

FPGA Not Loading Program from Flash When Connected to JTAG Downloader

Recently, many people in the group have encountered the above situation, which has been quite puzzling. I had never faced such a situation before. If it were a common issue, there would surely be feedback on the official website. If it is a very specific case, then it can only be treated as a bug. … Read more

Linux C++ Programming: Practical Debugging of Deadlocks with Shell and GDB

Linux C++ Programming: Practical Debugging of Deadlocks with Shell and GDB

When programming in C++ under the Linux environment, multithreading provides excellent concurrency capabilities, allowing programs to perform more efficiently when handling complex tasks. However, multithreaded programming is not without its challenges; deadlock issues lurk like hidden “killers,” potentially causing programs to become stuck. Once a deadlock occurs, the program is trapped in an unbreakable loop, … Read more

Batch Deletion of Empty SHP and GDB Feature Classes/ Tables – Tool User Guide

Batch Deletion of Empty SHP and GDB Feature Classes/ Tables - Tool User Guide

Batch Deletion of Empty SHP and GDB Feature Classes/ Tables – Tool User Guide Tool Functionality This tool is used to batch scan a specified folder and automatically delete: 1. All SHP files with a record count of 0 in the folder and its subfolders; 2. All feature classes and tables in GDB databases with … Read more

Mastering the GDB Debugger to Enhance Programming Efficiency

Mastering the GDB Debugger to Enhance Programming Efficiency

On the long road of software development, bugs are like “little monsters” hiding in the dark, occasionally jumping out to cause trouble for developers. Once, the European Space Agency (ESA) launched the Ariane 5 rocket for the first time, which was an important moment in the history of space exploration, but a single line of … Read more

An Attempt to Modify GCC Source Code on Windows Platform to Another Language!

An Attempt to Modify GCC Source Code on Windows Platform to Another Language!

Related source code documentation:File path:In the GCC directory, these three files: c-common.h c-common.c c-parser.c First, change the basic type int to zheng: Figure 1.1 Add RID_ZHENG after RID_INT in c-common.h, as shown in Figure 1.1. Figure 1.2b. Then in c-common.c, add the following line after record_builtin_type (RID_INT, NULL, integer_type_node);: record_builtin_type (RID_ZHENG, NULL, integer_type_node); c. In … Read more

Modifying Include and Define in GCC on Windows Platform

Modifying Include and Define in GCC on Windows Platform

Figure 1Path:source\gcc-4.1.1\libcpp open filedirectives.c, as shown in Figure 1. Change define to dingyi;a. Add the following at the bottom of #define DIRECTIVE_TABLE in directives.c: D(dingyi, T_DINGYI, KANDR, IN_I)/* */, as shown in Figure 1. b. Then search for do_define in directives.c: Figure 2 Then add a new function do_dingyi below this function, as shown in … Read more

Outstanding Software: The GNU Project, GCC, and the Free Software Revolution

Outstanding Software: The GNU Project, GCC, and the Free Software Revolution

Part Two: Tools for Creation and Collaboration In addition to providing the operating system that serves as the foundational environment, the second category of outstanding software includes tools that empower developers to create, manage, and share their works. The modern software landscape, particularly the vibrant open-source world, is built upon a specific set of foundational … Read more

Installation Guide for Keil uVision4 MDK v4.12 with Download Links (June 24)

Installation Guide for Keil uVision4 MDK v4.12 with Download Links (June 24)

SoftwareDownload [Name]: Keil uVision4 MDK v4.12 [Size]: 201.5 MB [Language]: Simplified Chinese [Installation Environment]: Windows 7 and above [Download Link on Quark Cloud Disk] https://pan.quark.cn/s/fdaa6acf49a1 Download Link 2: dhm6.cn Please use Download Link 2 if Quark Cloud Disk is unavailable. SoftwareIntroduction Keil C51 is a C language software development platform for 51 series compatible microcontrollers. … Read more

Installation Guide for Keil uVision2 C51 Software with Download Package (June 24)

Installation Guide for Keil uVision2 C51 Software with Download Package (June 24)

SoftwareDownload [Name]: keil uVision2 C51 [Size]: 11.4 MB [Language]: Simplified Chinese [Installation Environment]: Windows 7 and above [Download Link via Quark Cloud Disk] https://pan.quark.cn/s/9664b30e47e7 Download Link 2: dhm6.cn Note: If Quark Cloud Disk is unavailable, please use Download Link 2 SoftwareIntroduction Keil C51 represents the C language development tool for the 51 series compatible microcontrollers. … Read more

Keil5 Compile Button Not Working: Gray Button Issue Resolved in 1 Minute

Keil5 Compile Button Not Working: Gray Button Issue Resolved in 1 Minute

Issue:The compile button in Keil5 is not working and appears gray. Cause: 1. A code file was created without a project. 2. Without a project, the system cannot detect components and the microcontroller, so compilation is not possible, even if there is code. Solution: 1. Save the file and import it into a project. 2. … Read more