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

Beginner in CCS - modifying code from MCC18

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







PostPosted: Thu Nov 20, 2008 10:53 am     Reply with quote

Do a search for "register_list.h". This should find one that was posted for the early PIC18 chips. There may be other latter ones on the forum.

Best Wishes
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Thu Nov 20, 2008 6:07 pm     Reply with quote

An include file for the PIC18F452 and 458 can be found in: http://www.ccsinfo.com/forum/viewtopic.php?t=14755
These files are easy to adapt/extend for your processor.

Another option is to use Chipedit.exe in the v4 compiler for generating a register include file. In Chipedit select your processor and then 'Registers / Make Include file'.

Chipedit.exe is downloadable from the CCS website in the IDEUTILS package (possibly the Command Line versions of the CCS compilers don't have download rights for this toolset?).
dyeatman



Joined: 06 Sep 2003
Posts: 1937
Location: Norman, OK

View user's profile Send private message

PostPosted: Thu Nov 20, 2008 8:08 pm     Reply with quote

Wow ckielstra, I had not discovered the ability of Chipedit to create the discreet register files, it works great...... I had been making these as needed all this time.

Looks like I learned another something new today!

Thank You!
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