View previous topic :: View next topic |
Author |
Message |
asmallri
Joined: 12 Aug 2004 Posts: 1634 Location: Perth, Australia
|
Advice wanted Supporting a new processor variant |
Posted: Thu May 11, 2006 6:49 pm |
|
|
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
|
|
Posted: Fri May 12, 2006 2:55 am |
|
|
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
|
|
Posted: Fri May 12, 2006 3:13 am |
|
|
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
|
|
Posted: Fri May 12, 2006 5:16 am |
|
|
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 |
|
|
|