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

Advice wanted Supporting a new processor variant

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



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Advice wanted Supporting a new processor variant
PostPosted: Thu May 11, 2006 6:49 pm     Reply with quote

I need to develop code for the PIC18F97J60 which is not yet supported by CCS. I was thinking I should be able to compile for the PIC18F87J10 and then handle the addition Ethernet peripheral myself.

Any suggestions or comments welcome.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Ttelmah
Guest







PostPosted: Fri May 12, 2006 2:55 am     Reply with quote

Do you have PCH, or PCWH?. With the latter, the inbuilt 'device editor', is the 'answer'. Select the chip that is the closest variant (as you have already done), and 'copy' this. Rename the copy, and also copy the .h file (renaming in the same way). If there is another chip that has got the extra peripheral(s) required, then the interrupts etc., for these, will already exist, and can be enabled in the device editor.

Best Wishes
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Fri May 12, 2006 3:13 am     Reply with quote

Thanks,

I use PCH - I only use 18F series PIC and therefore (previously) I could not justify the price differential to PCWH.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Ttelmah
Guest







PostPosted: Fri May 12, 2006 5:16 am     Reply with quote

Your biggest problem will them be if you need interrupt support for the ethernet device. You will have to write your own 'int_global' handler. :-(

Best Wishes
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