Ghost not working with PIC18F26K80

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Ras
Posts: 37
Joined: Sun Mar 30, 2014 9:27 pm
Has thanked: 10 times
Been thanked: 10 times
Contact:

Ghost not working with PIC18F26K80

Post 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 2061 times
Ghost ICD error for 18F26k80.jpg
Ghost ICD error for 18F26k80.jpg (41.92 KiB) Viewed 2061 times
Attachments
CANtoUARTbridge.fcfx
(13.53 KiB) Downloaded 172 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Ghost not working with PIC18F26K80

Post 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 183 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 204 times
PIC_CAL_ICD2.c
(18.85 KiB) Downloaded 184 times
Let me know how you get on.

Post Reply