I found out today that there is yet another bug in the Picmaster Emulator. There is a synchronization issue when invoking the WDT through the emulator. Random memory locations & file registers are being corrupted in this situation. Microchips advise was not to use the emulator WDT implementation! They assured me that it works in the burned in chip. After turning the WDT off via the emulator, I was able to succesffuly assert the external reset on MCLR w/o any data or memory corruption. Adrian - are you sure you want my emulator? Thanks! > -----Original Message----- > From: White Horse Design [SMTP:whd@ZETNET.CO.UK] > Sent: Monday, May 11, 1998 2:19 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: Strange Reset/WDT behaviour > > At 09:27 11/05/98 -0400, you wrote: > >I'm using the WDT and am forcing a reset to ocurr by puposely not > >asserting the CLRWDT command. I'm using the picmaster emulator as > well. > > I'm not at all sure if my experience is directly relevant, but I use > the > ICEPIC Junior (great piece of kit) (most of the time! :-)). > > On a reset it doesn't reset all the register contents to the power on > defaults (as a real PIC device would) so you need to be cautious. I > now > setup the registers on a startup (execution through 0000) to the power > on > defaults before I go on to run the rest of my code which sets them up > how I > want. > > This way I can be sure what's going on (or not!). I don't know how the > PicMaster handles resets, but I can tell you that the ICEPIC uses the > two > bondout CPU's that Microchip make for the purpose of emulators. > Somehow I > think that the more expensive PiCmaster wouldn't use them. However, if > you'd like to swap our emulator products with me for a short time, I'd > like > to try it out! > > (Can't say fairer than that can I?!) > > Regards > > Adrian > > WWW WWW Adrian Gothard > WWW WW WWW White Horse Design > WWWWWWWWWW +44-385-970009 (Mobile/SMS), +44-118-962-8913/4 > (voice/fax) > WWWW WWWW whd@zetnet.co.uk, http://www.users.zetnet.co.uk/whd > --- > Developers of GPS satellite-based tracking systems