Page 1 of 1

Ghost proplem?

Posted: Tue May 12, 2015 2:47 pm
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

Re: Ghost proplem?

Posted: Tue May 12, 2015 3:11 pm
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.

Re: Ghost proplem?

Posted: Wed May 13, 2015 1:30 pm
by Chris_MIRA
Thanks,
Ill try that :-)
Regards,
Chris