Page 1 of 1

Ghost not working with PIC18F26K80

Posted: Fri Apr 10, 2015 12:00 am
by Ras
In addition to the problems encountered when trying to program the chip, post here...

http://www.matrixtsl.com/mmforums/viewt ... 54&t=16360

I run into compiling errors when trying to enable Ghost in my project. I am attaching JPGs and project file to document.

This project tries to interface a Sendyne high precision current sensor to CAN bus. With little effort it may become a UART to CAN bridge.

Other minor issues noticed were in Build\Project Options\Configure:
0x300000 bit 2 =1 should read LF-INTOSC in High-power mode during Sleep not High Security Code Protection Enable
0x300005 bit 7 (47) = 1 should read MCLR Enabled, RE3 Disabled not MCLR Enabled, RG5 Disabled
Ghost compile error for 18F26k80.jpg
Ghost compile error for 18F26k80.jpg (120.04 KiB) Viewed 2134 times
Ghost ICD error for 18F26k80.jpg
Ghost ICD error for 18F26k80.jpg (41.92 KiB) Viewed 2134 times

Re: Ghost not working with PIC18F26K80

Posted: Mon Apr 13, 2015 10:16 am
by Benj
Hello,

Thanks for letting us know of the issue,

I have fixed the config problem in all the K80 definition files. Here is the 26K80 update for you and needs to be placed here: "C:\Program Files (x86)\Flowcode 6\FCD\PIC".
18F26K80.fcdx
(32.12 KiB) Downloaded 192 times
I have also hopefully fixed the ICD compile error you are receiving. The following files need to be placed here: "C:\Program Files (x86)\Flowcode 6\CAL\PIC"
PIC_CAL_ICD.c
(18.73 KiB) Downloaded 214 times
PIC_CAL_ICD2.c
(18.85 KiB) Downloaded 193 times
Let me know how you get on.