Tony: Wasn't sure where "here" was..so you get a reply to both. Please add me to your give-away list. Kelly At 04:34 PM 4/17/00 , you wrote: >Hi all, > >This is probably getting a bit monotonous, but... > >ROMzap has been upgraded again. > >Some new features. > > > Active break points can be set in user code > > RAM can be read/modified > > values can be displayed in HEX, BIN or DEC > > ROM that has same data as new will not be reprogrammed > >There is also a ROMzap hardware kit available on my web site. It can >program the boot code into a blank PIC, but will come with boot code >already installed. The PCB measures 1.5 X 3 inches. > >http://www.picnpoke.com/demo/ROMzap.html > >I had a bug in the PIC software that took 2 days to find. Pretty bad >considering < 256 words. > >Here is the little gotcha... > > btfsc PIR1,RCIF ; (5) check for received RS232 data > goto GotChar ; yes > > ; no, delay routine > >GotChar ; continue with code > >It seems innocent enough, but the RCREG did not get read and the >following code considered it's contents as being the first character of >an incoming data stream. > > >This next line fixed it. > >GotChar movf RCREG,W ; read and ignore RX data > > >I got about 10 new grey hairs over that one. I even made up a new kit >because I thought the PCB had a fault. I guess when everything has been >newly developed, you tend to blame everything else but yourself for the >problem. > >Anyway, this means I have one prebuilt ROMzap kit to give away. > >If anyone wants it, email me "here", and I will use Andy W's PIC random >number routine to generate a value. Providing I get that many emails, I >will send it to Random(X) received. Otherwise I'll halve it until I get >a valid result. I will do this tommorrow morning. > > > >-- >Best regards > >Tony > >http://www.picnpoke.com >mailto:sales@picnpoke.com William K. Borsum, P.E. -- OEM Dataloggers and Instrumentation Systems & San Diego, California, USA