Ghost proplem?

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

Moderator: Benj

Post Reply
Chris_MIRA
Posts: 186
Joined: Wed Jan 23, 2013 3:43 pm
Has thanked: 2 times
Been thanked: 21 times
Contact:

Ghost proplem?

Post by Chris_MIRA »

Hi,
Ive just down loaded the new update for FC6 (this may or may not be related to my problem...)

Im trying to de-bug the attached programme using Ghost. Im using a pic 1937 and the EB006 V9 board.

I switch ghost ON (icons go green) and recompile / flash the chip. This is reported as a success.
I then try to step through the programme but straight away get an error message as follows: "ICD has failed to communicate with the target Did not read required firmware ID size back. First line is correct FW ID second line was read from the chip: &a 9a 3c 5f da f9 1a 4a ff 00 00 00 00 00 09 21

What am I doing wrong?

Regards,
Chris
Attachments
PEDAL_SIGnDS.fcfx
(33.75 KiB) Downloaded 188 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 proplem?

Post by Benj »

Hello Chris,

The EB006 uses pins RB6 and RB7 as the programming and ICD control pins.

However in your program you use RB6 for the Crank switch and RB7 for the IGN switch.

If you can move these switches to other pins and ensure you are not referencing PortB 6 & 7 in your program then ICD should work correctly.

Chris_MIRA
Posts: 186
Joined: Wed Jan 23, 2013 3:43 pm
Has thanked: 2 times
Been thanked: 21 times
Contact:

Re: Ghost proplem?

Post by Chris_MIRA »

Thanks,
Ill try that :-)
Regards,
Chris

Post Reply