View previous topic :: View next topic |
Author |
Message |
Fabri
Joined: 22 Aug 2005 Posts: 275
|
PIC18F65J10 and CCS compiler |
Posted: Fri Nov 24, 2006 8:35 am |
|
|
Hi Everybody,
I have PCWH V3.249, does it support PIC18F65J10 ?
I didn't found it on device editor.
Does anybody use it ?
Regards, |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Nov 24, 2006 10:53 am |
|
|
I have PCH vs. 3.249 (not PCWH). It compiles a small test program
with no errors for an 18F65J10. |
|
|
Ttelmah Guest
|
|
Posted: Fri Nov 24, 2006 11:09 am |
|
|
Almost.
On 3.249, the code will compile. The only major fault, is the fuse handling. The compiler does not understand the new way that the fuses are done in these chips (loaded in the last few memory addresses and copied automatically into the RAM at the normal configuration addresses, during wake-up).
To make the chips work, you need to take the sequence of bytes generated by your required fuse settings, and create a '#ROM' statement to define these at the top of the ROM. With this done, code will work (I have been running a couple of the 'J' chips with this bodge, for about six months).
Best Wishes |
|
|
|