Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what does the term "trace" in an emulator mean?

Status
Not open for further replies.

cherry

Newbie level 3
Joined
Jul 19, 2005
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,359
what does the term "trace" in an emulator mean?
thank you !
 

silvio

Advanced Member level 3
Joined
Dec 31, 2001
Messages
716
Helped
105
Reputation
210
Reaction score
16
Trophy points
1,298
Location
Romania
Activity points
11,471
Re: what does the term "trace" in an emulator mean

If you're talking about EPROM emulator, then trace it's a powerfull emulator's feature to record each address touched by the device which access the EPROM (most of the time a microcontroller).
Thus you can watch every step done by microcontroller running the program from external EPROM and take a note if for example gets stuck in an endless loop.

If you're talking about trace in microcontroller emulator, then it's very similar with above. The trace buffer is a high speed RAM used to capture in real time all the microcontroller events on bus and pins.
When capturing the trace may be filtered before the information is stored with the use of complex events and after the acquisition by choosing the filter menu.
You can even stop tracing after a specified number of frames have been captured. All this nice features are strong related to specific emulator.
 

bobsanjose

Advanced Member level 1
Joined
Jan 13, 2006
Messages
416
Helped
56
Reputation
112
Reaction score
21
Trophy points
1,298
Location
Silicon Valley
Activity points
5,228
To add to Silvios excellent reply;
While debugging you might end up "in the woods" you have no idea how you got there. If you have a trace function, you can look backwards, where did I come from. In general, JTAG debuggers do not offer trace but breakpoints only. With breakpoints, you execute a program until you get to the location you defined as break point. The execution stops and you can examine memory contents, register contents and so on. What you can not do is looking backwards.
Trace is something like the rearview mirror including a recorder.
Hope I did not confuse you too much

Bob
 

UroBoros

Advanced Member level 2
Joined
May 5, 2004
Messages
642
Helped
19
Reputation
38
Reaction score
8
Trophy points
1,298
Location
Cochin - India
Activity points
6,457
Re: what does the term "trace" in an emulator mean

bobsanjose said:
and you can examine memory contents, register contents and so on. What you can not do is looking backwards.
Trace is something like the rearview mirror including a recorder.
Bob

I think you made the things clear now in a more straight and simple way.

Thanks
picstudent
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top