Same thing, already tried that, and many more combinations... Gabriel ----- Original Message ----- From: "Jan-Erik Soderholm" To: "Microcontroller discussion list - Public." Sent: Wednesday, March 05, 2008 4:11 PM Subject: Re: [PIC] Problem with newer PIC18F2610 > TGO Electronica wrote: >> Hello, >> >> I have been programming this PIC for several years without a problem, >> until >> now, that we got a new batch of PIC18F2610s date coded 0804. >> >> Same program, same configuration, same board, same programmer, etc... >> Older >> PICs dated 04XX up to 07XX work perfect, only the new ones we got don't >> work. >> >> I have isolated the problem to PortA. For example: >> >> PortA configured as Digital I/O (no analog inputs) ADCON1=B'00111111' >> bsf PORTA,3 >> bsf PORTA,5 >> after executing this instructions PORTA,3 is LOW (!!!) and PORTA,5 is >> HIGH > > What happens after > > bsf PORTA, 3 > nop > nop > bsf PORTA, 5 > > ? > > Jan-Erik > > >> >> but if I reverse the instructions: >> bsf PORTA,5 >> bsf PORTA,3 >> both PORTA,3 and PORTA,5 are HIGH >> >> I may have been doing something wrong and never showed up until these new >> PICs or something changed on the silicon, that I have not been able to >> pinpoint in the erratas. So any help will be greatly appreciated. >> >> Gabriel >> TGO > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.516 / Virus Database: 269.21.4/1313 - Release Date: 3/5/2008 > 9:50 AM > > -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist