Operations in Keil C Debugging State

Operations in Keil C Debugging State

In the debugging state of Keil C, how can we observe the operating status of various internal and external peripherals? How can we modify their settings? Answer: In debugging state, click on different peripheral options under the Peripherals menu to display or hide the corresponding observation windows. For example, to display the Timer 0 window, … Read more

Common Debugging Techniques in Keil uVision

Common Debugging Techniques in Keil uVision

When you enter the debugging interface, you will see the following image. The cursor has already run to the entry point of the main function, and the debugging toolbar is now displayed in front of you. Tools/Materials Ulink2 emulator Development board and Keil software Methods/Steps First, let’s introduce the relevant menus. The first one on … Read more

9 Things I Regret Not Knowing About Python Exceptions Sooner

9 Things I Regret Not Knowing About Python Exceptions Sooner

1) Exception Hierarchy Python has many built-in exceptions that we may encounter from time to time, such as ZeroDivisionError, KeyError, ValueError, TypeError, and so on. Each exception is part of an exception hierarchy — this means that most exceptions inherit from the same parent class Exception in some way. We can see this by printing … Read more

Implementing Printf Function via JLink SWD Interface

Implementing Printf Function via JLink SWD Interface

The printf function is indispensable during microcontroller debugging, allowing developers to intuitively and conveniently obtain the current running status of the program. However, in chips like STM32, to achieve printf functionality, UART must be utilized. Is there a way to implement printing functionality solely with JLink? The answer is yes. ARM has adopted a new … Read more

Debugging Techniques for Microcontrollers Without Serial Ports

Debugging Techniques for Microcontrollers Without Serial Ports

Outputting debugging information is an essential debugging tool in embedded development. One characteristic of embedded development is that often there is no operating system or file system, making conventional methods of printing logs to files generally unsuitable. The most common method is to output UART logs through a serial port. For example, with the 51 … Read more

Debugging Techniques for nRF5 SDK

Debugging Techniques for nRF5 SDK

This article describes the main debugging methods for the Nordic nRF5 SDK to help everyone quickly locate and solve problems. Generally, you can debug your code using various methods such as logging, IDE debug mode, the app_error_check function provided by the SDK, and command line methods. 1. Debugging via Logging The nRF5 SDK supports two … Read more

Discussion on DSP Connection Issues with CCS

Discussion on DSP Connection Issues with CCS

Environment Operating System: Win7, 64bit IDE: CCS V3.3 Debugger: SEED XDS510PLUS DSP Model: TMS320C6713GDP(DSP6713) Check Steps Try pressing the reset button and then click Connect. Please check if the power supply is normal (core voltage should be 1.2V, IO port voltage should be stable at 3.3V). Use an oscilloscope to check the ripple of the … Read more