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 support@ccsinfo.com

Bootloader on S/W RS232

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







Bootloader on S/W RS232
PostPosted: Thu Jun 26, 2003 1:45 am     Reply with quote

1 - I got the standard CCS bootloader going over the hardware RS232 on a PIC16f877. Can anyone help me to get it going over a software RS232?

2- Does anyone know if there is a way to prevent the compiler from adding the ;PIC16F877 comment at the end of the hex file. (this makes the bootloader hang and I have to edit the HEX file every time!)

3- Is there a way to automatically reset the PIC after bootloading? I have a hardware reset on the board.

Any help will be appreciated.

Thank you

Levett
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515572
Doug Evans
Guest







Re: Bootloader on S/W RS232
PostPosted: Sat Jun 28, 2003 8:31 pm     Reply with quote

:=1 - I got the standard CCS bootloader going over the hardware RS232 on a PIC16f877. Can anyone help me to get it going over a software RS232?
:=
:=2- Does anyone know if there is a way to prevent the compiler from adding the ;PIC16F877 comment at the end of the hex file. (this makes the bootloader hang and I have to edit the HEX file every time!)
:=
:=3- Is there a way to automatically reset the PIC after bootloading? I have a hardware reset on the board.
:=
:=Any help will be appreciated.
:=
:=Thank you
:=
:=Levett

Levett,

The ";PIC16F877" is a comment line and should be ignored by the bootloader. My bootloader ignores all characters from the ';' to the end of line and works with the CCS HEX Files OK.

If you don't mind my asking; since you are using the 16F877 with h/w USART, what is the reason to not use it in favor of s/w bit-banging?

-de
___________________________
This message was ported from CCS's old forum
Original Post ID: 144515626
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