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

Programmer + serial

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



Joined: 25 Jul 2012
Posts: 2

View user's profile Send private message

Programmer + serial
PostPosted: Fri Jul 27, 2012 7:57 am     Reply with quote

Is there any PIC or other uC that make possible to use the serial port (COM1) and at same time make possible to re-write (reprogram or update the firmware) by, for example, the COM2.
Douglas Kennedy



Joined: 07 Sep 2003
Posts: 755
Location: Florida

View user's profile Send private message AIM Address

PostPosted: Fri Jul 27, 2012 9:01 am     Reply with quote

Yes but it has issues. A PIC can have programmed into it a RS232 serial boot loader. It has conditions first there is a need for a level shifter aka MAX232 to bring the TTL serial of the PIC up to the rs232 spec and invert the data stream. Next you need a programmer to download the boot loader.
This is the catch 22 since you need to purchase or build a programmer before you can remove the need for a programmer by using a boot loader.
The boot loader most often is useful if you have dozens of versions of your software out in the field and your clients wish to avoid the expense of a hardware programming device ex USB-64. You send them PICs pre-programmed with you application and a built in boot loader. Later to update code you send them the code hex file and they using the bootloader install the update.
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