Hi I'm using PIC18F458 in a CAN comm. program.Has anyone worked with maskregister and filter registers in PIC C Can module. i take some commands from RS-232 and convert them to CAN protocol but I dont want to have non valid commands in the receive buffer. Thznks >From: Ovidio Vazquez Jara >Reply-To: pic microcontroller discussion list >To: PICLIST@MITVMA.MIT.EDU >Subject: Re: [PIC:] Strange reset >Date: Wed, 29 Oct 2003 14:26:00 +0100 > > Take a look at your parallel port programmer. There are usually >some pins on the parallel port which connect to the base of a >transistor, and they directly drive the MCLR pin to Gnd/Vcc/Vpp. When >the programmer is connected, the base of the transistor(s) have >appropiate voltage. If you disconnect it, the base of the transistors >are floating and the MCLR pin may have arbitrary levels. > > May be using a pull-up/down resistor on the parallel port pin(s) >which drive MCLR solves the problem. > > I'm a software guy so wait for more comments from the list! > > >----- Original Message ----- >From: "Rodrigo Real" >To: >Sent: Tuesday, October 28, 2003 2:58 PM >Subject: [PIC:] Strange reset > > > > Hi > > > > I am working in a project which a pic communicates to a PC throught > > serial. I made a cable which connects to the parallel port and the > > serial port at the same time, but with different pins, the only >common > > one is the ground. With the parallel port I program the pic, and >with > > the serial I perform the communications. > > > > Sometimes, when I insert or removee the cable from the pic board, >the > > pic resets itself. I think it is a problem of voltage difference in > > the ground pin, or even, one pins touches another one. But the >strange > > thing is that sometimes this reset seems to doesn't complete, when > > this thing happens the pic doen't seems to be in loop, nothing >happens > > and nothing works, until I disconnect the power and reconect again, >or > > perform a reset on the reset pin. > > > > I am working with Hi-Tech compiler and using 16F877 pic. > > > > If anyone has any idea, please feel free to tell. > > > > Thanks, > > Rodrigo > > > > -- > > http://www.piclist.com hint: To leave the PICList > > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > >-- >http://www.piclist.com hint: PICList Posts must start with ONE topic: >[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads