One of the things I do is to transmit using the USART and via RS232 some useful data to the PC, so I can see what's realy going on in there. Also, If you have some LCD or 7 segment disp. You can print the data in those displays... Mauricio Jancic Janso Desarrollos (54) 11 4542 3519 Republica Argentina Microchip Consultant Program Member -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of John Nall Sent: Mi=E9rcoles, 04 de Junio de 2003 19:08 To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: Debugging code in the chip I am curious about how people debug their code once they have burned it into the chip and it does not work correctly. Would appreciate any feedback I can get. I'm not talking about the commercial guys, now, with their zillion-dollar systems, but the poor hobbyists (like me) who have a breadboard, a chip, a few components, and a simulator. Simulators are wonderful, but at some point you have gone through the code, and it all looks correct; you have run it through the simulator and it works perfectly, you burn it into the chip, and BAM! it does not work. :-( So how do people debug it at that point? (I have some ideas, but I am sure there are a whole raft of things I have not thought of). John -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body