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

Question about bootloader

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



Joined: 22 Aug 2005
Posts: 275

View user's profile Send private message

Question about bootloader
PostPosted: Wed Jul 05, 2006 12:45 am     Reply with quote

Hi Everibody,

This is my first use of CCS bootloader after developed one in assembler a long time ago. My questions is about allocation of bootloader in ROM because I included in end time of project.

1) Does the bootloader must be allocate in special location, for example at the end of all project, or can I put it everywere?

2) Does the location of bootloader will be overwrite during upload ?

Thanks for help,
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Jul 10, 2006 8:13 am     Reply with quote

Bootloader can go anywhere. Most people will put it at the beginning or the end of Flash. No the bootloader doesn't get overwritten with programming. As I understand it if you try to change the code area that is being used for the executing program, the PIC will most likely fail. You may be able to overwrite with the EXACTLY SAME data, BUT I don't try. I remove the address space of the bootloader from the programming routine.
((just in case something gets shifted by a byte))
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