> Good idea for a new product from the s.w. types - PIC Profiler. It would be difficult to do this in the PIC itself because you can't read back the call stack. With the ICE you could export a trace, then post process the instruction addresses to build a histogram. Sounds like it's more trouble than its worth though. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@cognivis.com, http://www.cognivis.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu