Why no trace on Simulator without ICE50

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi All,
I have switched from PIC to AVR in the last six months(I know, I should have seen the light years ago!)
I am getting to the stage that I am more comfortable with the AVR then the PIC. The AVR rocks! javascript:emoticon(':D')

I was surprised though, when the other day when I felt the need to do a trace on the simulator, when I found that that is only possible using the ICE50 javascript:emoticon(':(')????

I would have thought that it would be fairly straightforward to have a trace output on the simulator, without ICE and/or targets attached.
PIC's MPLab does this beautifully! It would be a very nice addition to AVRStudio. javascript:emoticon(':idea:') I do miss it!

Regards/73
Lee

PS. I will out how to use Emoticons one of these days!

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
I will out how to use Emoticons one of these days!
Click on "Smiles" or do a preview of your message. :D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

Very Happy Smile Sad Surprised Shocked Confused Cool Laughing Mad Razz Embarassed Crying or Very sad Evil or Very Mad Twisted Evil Rolling Eyes Wink Exclamation Question Idea Arrow Neutral Mr. Green

Time to get that Valium out, John...

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'll have it with a sip of scotch to soothe the nerves...all that C programming has finished off my sanity!!

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guys,

do you any useful comment to the topic? It's good to know that John can add all smiles but to solve Lee's question the scotch might be more appropriate - but does not help either :oops:

Cheers
Knut

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
do you any useful comment to the topic?
NO, because there is NOTHING else to add, Lee was clever enough to figure it out by himself. :no_emoticon:

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Guys,
I have just calmed myself with a Glen Livett!
Th reason why I am interested is that we have switched to the AVR at the Uni where I work and I am involved with teaching it.
The trace is nice to have for students to follow what is going on!

It seems to me, that all it needs is to set up watch with the variables that are required to be watched & whenever there is a change to this variables that they are written to a log file, along with cycle counter & perhaps time, send to a trace file or display in a window. It would not be a big deal to do by the coders of AVRStudio! It certainly does not require any hardware.

After the Glen Livett, I have no emotion left to show.

Regards,

Lee

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

There is an SDK for development of plugins to Studio by third parties. You might want to explore whether adding such a trace is possible via the APIs that are exposed there?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

See? Not a wasted thread after all, never heard of Glenlivit up to now. (But I have lived a sheltered life...)

Don't know if this nerve medication is available at the local "chemist" but I'll keep an eye out for it. :lol:

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

http://www.theglenlivet.com/

It's a nice one. (I've been to the brewery - heaven on earth)

Though I think I preferred my visit to Glenfarclas http://www.glenfarclas.co.uk/ - their "cask strength" 105 is the nectar of the Gods: http://www.glenfarclas.co.uk/en/...