Hi, if the XTAL does not exceed 4MHz, you should select XT config. instead of HS. Imre On Mon, 9 Aug 1999, PC Pete wrote: > Greetings all, > > This is my first post, and I realise this question must have been asked > before, but I haven't seen it. > > I have a slightly not working 16F84 controller, and I'm buggered as to > why it slightly doesn't work. If anyone's done the same things and had > the same problems, I'd be delighted to hear your thoughts. > > I purchased and built a DT001 PIC programmer, courtesy of Don Mc. I > also purchased and populated a DT 111, then powered up and checked that > I didn't let the smoke out of anything. Using Nigel's lovely PIC > programming software, including the 32-bit port driver, on my shiny new > notebook, I apparently managed to program the 16F84 enough to run Don's > Walking LEDs test. Sometimes. There's the rub. > > If, after programming the PIC (socketed in the machined sockets on > either the '001 programmer itself, or installed in the '111 SIMMSTIK in > SIMM socket 0, then transferred to the '111 socket), I switch from > 'Load' to 'Run', sometimes it runs the walking LEDs. Otherwise it sits > there with a bunch of random LEDs glaring at me. Pressing either the > 'Boot' or 'Reset' buttons does nothing. Or if it does something, I > can't see what it is. > > Using Nigel's software, I can erase, program, and verify the PIC till > I'm blue in the face, in either of the allowed programming sockets. But > then either it will work, or it will not work. > > If I now take the partially not-working PIC and plug it into any other > socket (including Don's '004 "short" board, this now completely fails > to work. > > I don't have MAX232 installed in the programmer or the '111. I'm > communicating parallel-ly. > > I have a clean supply of 19V AC rated at 3.5A. (40KHz switchmode from > mains, <10mV @ 10k,20k, & 40KHz) > > I do have stable 5V (4.98V, 20-60mV ripple @50 & 100 Hz, fully loaded > (1.01A, using calibrated HP resistors)) at the regulator. I also have > it at the other end of the board :) > > 13V DC under normal programming load is stable and reasonably quiet > (12.71V, 60-110mV ripple @50&100Hz). > > The program is set up for HS (I'm using the furnished Xtal, with > appropriate trimcaps (18pF)). At power on I get a very nice waveform > centered at about VDD/2, no noise, no spikes, no dropouts. > > SIMM sockets are tight, board edge tinning is good, no dry joints > between here and Casablanca. > > I'm an ex-Z80 lover who wants to get into the slightly simpler and > friendlier world of the PICs before my eyesight goes completely. > Luckily, my wife (She Who Must Be Obeyed) also wants me to get the PIC > running, too, so I can prove I haven't just dashed the Nursery > Decorating Money on Something Else That Doesn't Work. > > I'm pretty sure the PIC is healthy and happy - what have I missed? > > Apologies for the digital diarrhoea, I didn't want to just post "it > doesn't work" and have 2 dozen "what about the..." enquiries. If I > _have_ missed something, please let me know! > > Thanks for your patience! > > Regards, > > Peter > > -------------------------------------------------------------------- > Support Education Developer | Ever notice how fast Windows runs? > Asia-Pacific Consumer Services | > Hewlett-Packard Australia | No, neither did I. > 31 - 41 Joseph St | > Blackburn. VIC. 3130 | > Ph: (IDD) +61 3 9272-4069 | > -------------------------------------------------------------------- > This message reflects neither the views of my employer, nor any of > its employees. Including me, presumably. > --------------------------------------------------------------------