Ghost ICD comunication with ECIO ds PIC
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Ghost ICD comunication with ECIO ds PIC
Hi,
Im trying to use th e ghost / flowKit ICD with the dsPIC ECIO,
Im connected via the flowKit, I have re-compiled and flashed the ECIO while in Ghost (all the icons are green), but when I then try to step through or run the simulation I get the error message
"Did not read required Firmware ID size back.
First line is correct FW ID, second line was read from the chip: 8c3367c56da27f ff"
Ive tried this on a couple of identical devices, all read the same...
What am I doing wrong?
Regards,
Chris
Im trying to use th e ghost / flowKit ICD with the dsPIC ECIO,
Im connected via the flowKit, I have re-compiled and flashed the ECIO while in Ghost (all the icons are green), but when I then try to step through or run the simulation I get the error message
"Did not read required Firmware ID size back.
First line is correct FW ID, second line was read from the chip: 8c3367c56da27f ff"
Ive tried this on a couple of identical devices, all read the same...
What am I doing wrong?
Regards,
Chris
- 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 ICD comunication with ECIO ds PIC
Hi Chris,
What pins are you using for the ICD. The defaults for the ECIO40P16 currently are B0 and B1. The override pins in the ICD menu seems to not be working which is strange and we will investigate this.
If your trying to debug using the USB cable then I can try to edit the default connections in the definition file to see if this helps things.
What pins are you using for the ICD. The defaults for the ECIO40P16 currently are B0 and B1. The override pins in the ICD menu seems to not be working which is strange and we will investigate this.
If your trying to debug using the USB cable then I can try to edit the default connections in the definition file to see if this helps things.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Hi,
Yes, Im using the USB. Connection are PC to FlowKit, then FlowKit to ECIO via USB. ECIO powered externally but no other connections...
Regards,
Chris
Yes, Im using the USB. Connection are PC to FlowKit, then FlowKit to ECIO via USB. ECIO powered externally but no other connections...
Regards,
Chris
- 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 ICD comunication with ECIO ds PIC
Hi Chris,
Right this updated FCD might help to setup the default ICD pins correctly.
The file should be placed into the "C:\Program Files (x86)\Flowcode 6\FCD\PIC16" directory before restarting Flowcode and Recompiling the firmware to the chip.
Right this updated FCD might help to setup the default ICD pins correctly.
The file should be placed into the "C:\Program Files (x86)\Flowcode 6\FCD\PIC16" directory before restarting Flowcode and Recompiling the firmware to the chip.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Hi,
I have copied the file into the right folder. re-started FC6 and have then re-compiled and sent the programme using ghost (all icons green), the programme sends okay but I get the same error message when trying to de-bug...
See attached test programme...
Am I doing something wrong? In the folder where I placed the file, there were already 2 files with the same name, do I need to delete these?
Regards,
chris
I have copied the file into the right folder. re-started FC6 and have then re-compiled and sent the programme using ghost (all icons green), the programme sends okay but I get the same error message when trying to de-bug...
See attached test programme...
Am I doing something wrong? In the folder where I placed the file, there were already 2 files with the same name, do I need to delete these?
Regards,
chris
- 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 ICD comunication with ECIO ds PIC
Hi Chris,
A folder will only allow one file of a specific name, are you renaming the files or overwriting the original? You need to have one file named "ECIO40P16.fcdx" in the directory, preferably the latest one from the post above.Am I doing something wrong? In the folder where I placed the file, there were already 2 files with the same name, do I need to delete these?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Okay,
All older file versions deleted, new file downloaded and copied to the right folder, only one file now in that folder with the correct name.
FC6 re-started and the attached programme compiled and flashed to device using ghost and Flowkit (again all relevant icons showing green to indicate ghost active, the flowkit leds are slowly flashing...
The same error message as before is displayed if I either try to step through or RUN the programme!
Regards,
Chris
All older file versions deleted, new file downloaded and copied to the right folder, only one file now in that folder with the correct name.
FC6 re-started and the attached programme compiled and flashed to device using ghost and Flowkit (again all relevant icons showing green to indicate ghost active, the flowkit leds are slowly flashing...
The same error message as before is displayed if I either try to step through or RUN the programme!
Regards,
Chris
- Attachments
-
- DSPIC ECIO Zombie Cool-E.fcfx
- (17.97 KiB) Downloaded 331 times
- 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 ICD comunication with ECIO ds PIC
Ok thanks Chris, I will look into this.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Hi,
Sorry to push, but is there any progress on this? It would be really, really useful to be able to use ghost ICD on the dsPIC ECIO at the moment....
Regards,
Chris
Sorry to push, but is there any progress on this? It would be really, really useful to be able to use ghost ICD on the dsPIC ECIO at the moment....
Regards,
Chris
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Hi
Any news or suggestions on this / how I can use ghost with dspic ECIO?
Regards,
Chris
Any news or suggestions on this / how I can use ghost with dspic ECIO?
Regards,
Chris
- 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 ICD comunication with ECIO ds PIC
Hi Chris,
Right I have managed to get this working now.
You will need the updated FCD I sent you and also you need to copy the attached CAL file into your installation here "C:\Program Files (x86)\Flowcode 6\CAL\PIC16BIT".
Fingers crossed this will also work for you.
You will probably need to manually press the reset button on the ECIO after sliding the switch on the FlowKit to the ICD position. You may also need to press reset when restarting the ICD comms.
Right I have managed to get this working now.
You will need the updated FCD I sent you and also you need to copy the attached CAL file into your installation here "C:\Program Files (x86)\Flowcode 6\CAL\PIC16BIT".
Fingers crossed this will also work for you.
You will probably need to manually press the reset button on the ECIO after sliding the switch on the FlowKit to the ICD position. You may also need to press reset when restarting the ICD comms.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 186
- Joined: Wed Jan 23, 2013 3:43 pm
- Has thanked: 2 times
- Been thanked: 21 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Hi,
"Yes"
Ghost now communicates with the device.
Thanks for the help
Regards,
Chris
"Yes"
Ghost now communicates with the device.
Thanks for the help
Regards,
Chris
- Jay Dee
- Posts: 398
- Joined: Tue Aug 18, 2009 6:42 pm
- Has thanked: 121 times
- Been thanked: 154 times
- Contact:
Re: Ghost ICD comunication with ECIO ds PIC
Hi Guys,
can you confirm the pics your using for ICD on the dsPIC.. in various posts I think I've seen b0/b1 and e2/G?
I'm working on a generic dsPIC ECIO base board which supplied all the normal bits I need for typical projects so though it wise to put in a couple of pins for ICD (have a flowkit device)
regards, J.
can you confirm the pics your using for ICD on the dsPIC.. in various posts I think I've seen b0/b1 and e2/G?
I'm working on a generic dsPIC ECIO base board which supplied all the normal bits I need for typical projects so though it wise to put in a couple of pins for ICD (have a flowkit device)
regards, J.
- 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 ICD comunication with ECIO ds PIC
Hello,
The default ICD pins are defined in the FCD file XML.
This is the code for the ECIO40P16.
So it looks like
Clock : G3
Data : E2
Which are the USB pins so you should be able to connect a USB cable between the Flowkit and the ECIO.
If this doesn't work for some reason then you can alter the pins in the FCD using a text editor to try some more generic port pins.
The default ICD pins are defined in the FCD file XML.
This is the code for the ECIO40P16.
Code: Select all
<test >
<icd >
<clock port='6' pin='3' />
<data port='4' pin='2' />
</icd>
</test>
Clock : G3
Data : E2
Which are the USB pins so you should be able to connect a USB cable between the Flowkit and the ECIO.
If this doesn't work for some reason then you can alter the pins in the FCD using a text editor to try some more generic port pins.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel