Illustration of JLINK debugging experience under ADS

Publisher:灵感驿站Latest update time:2023-02-03 Source: elecfansKeywords:JLINK Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

The article is written for LPC2148, but it is also applicable to Samsung's 44B0 chip. You only need to select S3C44B0 for the corresponding CPU when selecting.


JLINK debugging experience under ADS

Two days ago, a customer used jlink to debug LPC2148 in ADS and always reported an error. I also encountered this error before when debugging LPC2200. Later, the problem was solved and I would like to share it with you.


1. Add JLINK under AXD

Select ConfigTarget under OpTIons, as shown in the figure below:

Click the Add button and add jlinkRDI.dll (make sure you have installed the driver provided by segger company, this instruction installs 3.80a), as shown in the figure below:

After the addition is completed, it will appear as shown in the figure below:

2. Configure JLINK

Continuing from the above, after the addition is completed, click Configure, and the JLINK settings dialog box will appear. Here we mainly select the processor we want to debug, as shown in the following figure:

After selecting, click OK to complete the settings.

If JLINK has been connected to the development board and is powered on, information about the JLINK connection to the processor will appear in the log information, as shown in the following figure:

3. Debugging

After adding JLINK and configuring it, you can start debugging.

After starting debugging, once we single-step or set breakpoint debugging, we will encounter such a problem, as shown in the following figure:

The result cannot be debugged. To solve this problem, we need to modify the settings of ADS and select ConfigureProcessor under Options, as shown in the figure below:

The following dialog box appears:

The problem can be solved by removing the check mark in front of SemihosTing, as shown in the figure below:

Click OK, exit AXD, and re-Debug. This time you can step or set breakpoints at will.


Keywords:JLINK Reference address:Illustration of JLINK debugging experience under ADS

Previous article:Bootloader transplants S3C44B0 of uClinux
Next article:Application design of S3C44B0 in serial port server system

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号