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

18F2685 and V3.249

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



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

18F2685 and V3.249
PostPosted: Tue Dec 12, 2006 8:57 am     Reply with quote

I really want to move from the 18F2620 (64K) to the 18F2685(96K) because I need the space. I do not want to convert to V4 at this juncture (Not even sure if V4 supports this chip). What is required to add a new part to V3.249? Is it just a header file or does the compiler actually have to change to accomodate the newer chips? Thanks.
Ttelmah
Guest







PostPosted: Tue Dec 12, 2006 10:17 am     Reply with quote

Do you have PCH, or PCWH?.
If the latter, and the peripherals are the same, you can just use the device editor, make a copy of the entry for the smaller chip, and amend the memory amoun on this.

Best Wishes
ljbeng



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

PostPosted: Tue Dec 12, 2006 10:54 am     Reply with quote

OK, I have PCWH. I copied/edited the 2620 and called it the 2685. Now what? I don't see a new .h file anywhere. Did I miss something?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Dec 12, 2006 11:58 am     Reply with quote

Quote:
OK, I have PCWH. I copied/edited the 2620 and called it the 2685.
Now what? I don't see a new .h file anywhere. Did I miss something?

You now have to edit the new record that you've made for the 18F2685
so that it reflects the ROM and RAM resources available in the chip.
Do this with the Device Editor. Screen shot:
http://www.ccsinfo.com/images/content/device_editor.gif

Also, you need to manually make a copy of 18F2620.H file and
rename it to 18F2685.H. Then, while consulting the PIC's data sheet,
you need to make appropriate changes to the new .H file.
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