On Sun, 6 Nov 1994, Dave Madden wrote: > Hi again. > > Anyway, I'm now trying to read/write the ID and Configuration regs, > but not having any luck. The Microchip programming ref says that if > you increment the PC up to 0x2000, you'll be looking at the first ID > (or config, I forget) reg, but when *I* run the PC up to 0x2000 and do > a Read Program Memory command, I get whatever's at 0x0000. I'm not > using the Load Configuration command to set the PC directly to 0x2000 > because (according to my reading of the manual) you have to send a > word to be programmed, and then (presumably) do a Begin Programming > command. For now, I just want to read the contents. Can anybody > help? Now that I think of it I don't have ID reading implemented in my 16c84 programmer yet. I think you can do it this way(I'll try it myself this afternoon): Do a Load Configuration to get the PC to 0x2000 Send it some data(0x0000) DON'T do a Begin programming Do a Read Data increment address Read data... I think this should work, but I need to try it myself. Brian ------------------------------------------------------------------------------ "A little rebellion now and then is a good thing." | finger blane@seanet.com President Thomas Jefferson | PGP 2.6 email accepted ------------------------------------------------------------------------------