> -----Original Message----- > From: piclist-bounces@mit.edu > [mailto:piclist-bounces@mit.edu] On Behalf Of Byron A Jeff > > On Mon, Feb 06, 2006 at 09:46:02PM -0700, Bob Axtell wrote: > > I think it would be very helpful to write a bootloader > > and a debugger built in. I especially like Wouter's > > bootloader. > > > > I can't write it, but it would be nice for it to be able to > > look at any register contents in any bank, change any > > register, perhaps do a pseudo-breakpoint in main > > code then spit out W, status register, and others. That is good to have. I think there are some work done for the 18F452. Check out the QuikBug monitor from http://www.picbook.com. It will be even better if Microchip could release the on-chip debugging protocol for 18F and dsPICs. It would be even better they can release the protocol of ICD2. But this will take time if it would happen at all. > It would be real costly in code space. I instrument my > application with the dumping of variables of interest. > >> This is how I debugged my HD64180, Z80, I8051 >> code before PICs came along. > > I think another advance is the solid progress that > simulators have made. Lots of debugging can be done without > loading into a real chip at all. > Hopefully there will be better tutorials for MPLAB simulator (for Windows) and gpsim (for Windows/Linux/FreeBSD). I think there are quite some power users who can do this really well. By the way, Scott is working on dsPIC port of gpsim. Another thing is that piklab is now improving by day and it can support ICD2 programming (and soon PICkit 2) reasonably well. The author of piklab is also working on the ICD2 debugging support for PIC16F under Linux. Regards, Xiaofan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist