CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Pullups/downs on RX when using a bootloader

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ringo



Joined: 10 Feb 2004
Posts: 8

View user's profile Send private message

Pullups/downs on RX when using a bootloader
PostPosted: Thu Jul 22, 2004 12:35 pm     Reply with quote

I use a bootloader on a pic18f452 and occasionally it seems to �lose the bootloader� when the board is not connected to the RS232 line. I have to pull the chip out of the board and reload the bootloader. I suspect it may be because I don�t have any pull resistors on the RX line. Any idea if I would need to pull this up or down to prevent unwanted garbage from messing with the bootloader?
Thanks
Ringo
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jul 22, 2004 1:10 pm     Reply with quote

Quote:
I use a bootloader on a pic18f452 and occasionally it seems to �lose the
bootloader� when the board is not connected to the RS232 line.

Normally you would have a MAX232-type chip connected to the
RX and TX pins on the PIC. The MAX232 has pull-down resistors
built-in on its RX pins (which connect to the PC). Since the MAX232
receiver is an inverter, this puts a logic high level on the PIC's RX
pin. That's a safe state. (A start bit is a logic low level).
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group