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

source code for updating firmware remotely

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



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sun Aug 15, 2004 8:48 pm     Reply with quote

Bootloaders work by going into a "special mode" . They are usually confined to a block of memory that never gets updated. It doesn't really matter how much RAM your program uses because all of the RAM is available to the bootloader since the normal program is not running. Also goes the same for your RS485 routines. The bootloader will have its own receive and transmit routines, usually not interrupt driven. Blocks of data are sent to the PIC, the PIC then writes these values. The PIC could then send back an ACK to signal the host that the writing is complete. Take a look at Microchip's App note http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en012031 it also gives you the ability to read the data back to verify what is there.
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