A similar idea was developed by Ralph Stickley for use with a PC serial port. http://www.piclist.com/techref/piclist/stickleyregmon/index.htm This DOS program (written in Borland C 3.1) for the PC and the asm code added to your PIC project makes use of any available hardware RS-232 port to poll and display all on-chip register variables. The PC software parses the MPLINK map file so that the variables are displayed using their names rather than just the register number. More people who are starting out with PICs or other uCs should be aware of how useful something like this can be when debugging a project. It is small enough to be left in (if the serial port is not required for the project) and used on site. I could envision mailing the customer with a particularly hard to trouble shoot (happens on-site only type) problem an old 1200 baud external modem set for auto-answer with a DB25 to header cable adapter and having them connect it to the device in place and to a spare phone line and then dialing in and remotely watching the device run. Jinx, do you mind if I put your version up on the site? --- James Newton: PICList webmaster/Admin mailto:jamesnewton@piclist.com 1-619-652-0593 phone http://www.piclist.com/member/JMN-EFP-786 PIC/PICList FAQ: http://www.piclist.com > -----Original Message----- > From: piclist-bounces@mit.edu > [mailto:piclist-bounces@mit.edu] On Behalf Of Jinx > Sent: 2006 Apr 02, Sun 20:30 > To: pic microcontroller discussion list > Subject: [PIC] RAM display > > The little 2520 project I had trouble with at the weekend was > this. I needed a way to look inside an F88 while it was > running, so as to check what was happening to certain RAM > registers. So I knocked up this RAM sniffer > > On a regular basis (every 2 seconds, as determined by a > system tick) the F88 bitbangs its RAM contents out. The 2520 > picks this data up, if set to, and shows it as 2 lines of 4 > bytes, each line starting with the address. Two buttons allow > you to move up and down > > Could be made into something flashy, but for now it does all > I need it to. Maybe someone else can use it, I found it > tremendously helpful > > Connections to the circuit are 4 clipped leads - 0V, 5V, clock, data. > Some 2520 routines are there for another day and aren't used here > > =============================================== > If you aren't part of the solution, you're part of the precipitate > > > > > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist