4555 views|1 replies

1140

Posts

0

Resources
The OP
 

The Painful Experience of DSP Connecting to Emulator [Copy link]

Don't plug or unplug while power is on Don't plug or unplug while power is on Don't plug or unplug while power is on I have to say it three times because it is important. Although it is fine after plugging or unplugging while power is on, don't do it. Yesterday, CCS couldn't download the program into the board. I almost thought the board was burned. I tested the power supply module of DSP and the resistance of JTAG part. There was no problem. I suspected that the emulator was burned. I took the emulator apart to check. There was still no problem. However, when I connected the emulator to the board, the resistance of TDO became abnormal and became very small. When we study hardware, we usually come into contact with emulators and programmers: In-Circuit Emulator (ICE) is a hardware device used to debug embedded system software. Embedded system developers have to face special problems that general software developers do not have, because embedded systems often do not have keyboards, displays, disk drives, and other effective user interfaces and storage devices like commercial computers. When the emulator is inserted into a part of the chip to be developed, online emulation is also called hardware emulation. Such an online emulator can provide relatively good debugging capabilities when the system runs real-time data. Programmer: It consists of two parts, namely the programmer (also called burner, burner) and the connecting wire. Put the bare chip (not the bare chip after electrical erasure and then burn, OTP scrap) into the programmer, start the software connection, and you can burn it. Generally speaking, debugging is done through a debugging tool, which is usually a software running on a PC. The main task of the debugger debugging tool is to obtain information from the target CPU and control the program running on the target CPU (such as single-step execution, setting breakpoints, and running). However, when the emulator performs the above work, it needs to stop the program running on the target CPU. Real-time systems require real-time debugging tools, which obtain information from the target CPU and control the running of the program on the target CPU without stopping the target CPU. To achieve real-time debugging, it is necessary to establish a real-time information channel between the debugging tool and the target CPU. The real-time channel consists of two aspects: hardware channel and software channel. We call the real-time hardware channel a real-time emulator, and the real-time software channel a real-time debugging tool. The emulator should be electrically and physically equivalent to the target MCU and can replace the MCU in the development system. The operation of the target system can be controlled and observed by the debugging tool. In the early stages of development, the development system relies on the emulator to work. When the target functions are perfected, the emulator will be replaced by the real MCU.


This post is from DSP and ARM Processors

Latest reply

Great experience, Mark  Details Published on 2018-12-25 08:49
 

6366

Posts

4936

Resources
2
 
Great experience, Mark
This post is from DSP and ARM Processors
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list