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 with 16F877

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



Joined: 30 Jul 2007
Posts: 4

View user's profile Send private message MSN Messenger

Bootloader with 16F877
PostPosted: Fri Aug 17, 2007 2:59 pm     Reply with quote

Hello, we have a set of old code that we want to give the ability of a bootloader. We want to be able to set a flag in memory that the bootloader can read. But not sure where to write to or whether there is a better way. We have our main program running; we issue a serial command of 'z' and will cause the program to write to memory that can be read from the bootloader. Then the main program will issue a reset and upon startup the bootloader will read that memory and know if it needs to wait for a new code upload. We can't use a variable since the variable will be cleared upon a reset. We have no way to use a button or a physical way of telling it to load like in the example program that came with the complier.

Any help would be appreciated.
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