still something wierd here.... i can do a pin stimulus or asynchronus stimulus to this bit but when doubleclickingit in the special function register window you are given an option to change it but this does not work properly Peter -----Original Message----- From: Peter van Hoof To: PICLIST@MITVMA.MIT.EDU Date: Sunday, May 23, 1999 8:05 PM Subject: Re: mplab-step prob? >Got it ! > >:> can sleep tonight > >under "options","processor setup","hardware" uncheck the "mclr enable" >the cofiguration defined by __config gets into the hex file but the >simulator ignores this info and takes it from mplabs own settings , >confusing but works. > >Peter > >-----Original Message----- >From: Peter van Hoof >To: PICLIST@MITVMA.MIT.EDU >Date: Sunday, May 23, 1999 2:19 PM >Subject: Re: mplab-step prob? > > >>I think you have stumbled upon a bug in mplab here , Initially I did not >try >>this and gave you general info on how to change the bit >> >>The function of the pin should be determined by the config word >>either it is the mclr input or a general purpose input >> >>The assembler does generate a different hex file though i did not try to >>check the hex file out my guess is this works >>HOWEVER no matter which hex file you simulate you cannot change the bit any >>using asynchronous stimulus i can always reset the processor, not change >the >>status of the general purpose pin >> >>I think you should report this as a bug to microchip >> >>Peter >> >>From: Glen >> >>-----Original Message-----To: PICLIST@MITVMA.MIT.EDU >> >>Date: Sunday, May 23, 1999 11:31 AM >>Subject: Re: mplab-step prob? >> >> >>>Peter van Hoof wrote: >>> >>>> the easiest way is to open a new watch window , pick gpio from the list >>>> #### double click the gpio in the watch window at this point >>> >>> >>> >>>> change the data (press read , modify it , press write) >>> >>> >>> >>>HI PETER, >>>i tried double click the gpio in the watch window . didn't do a thing !!! >>> >>>ok , got to the stage of press write.after i double clicked the address >>> >>>when i press step or stepover it still just loops back again. >>> >>>**** how do i step over this code ? ***to test the rest of my program !!!! >>> >>>chcycs btfsc gpio,3 ;check for 0 >>> goto chcycs >>>lw btfss gpio,3 ;check for 1 >>> goto lw >>> >>>thanks for yoru time >>>glen