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

interrupt vector mapping

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



Joined: 12 Oct 2006
Posts: 1

View user's profile Send private message

interrupt vector mapping
PostPosted: Thu Oct 12, 2006 3:56 pm     Reply with quote

I need to write a bootloader for 18FXXXX devices. The boot section (0- 0x01ff) is reserved for the bootloader. Is there anyway in CCS C to remap the user program's reset and interrupt to 0x0200, 0x0208 and 0x0218? C18 has this capability.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 12, 2006 4:01 pm     Reply with quote

See the #build directive in the CCS compiler manual.

Also see this example file:
Quote:
c:\program files\picc\drivers\bootloader.h
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