Hi
I tried to use my Flowkit HP299 for ICD using FC9 on a couple of my ECIO40-P16 but appears not to work now in FC9
I keep getting " The chip does not contain the latest ICD Build you need to compile to chip "
i keep re compiling but get the same message
Note i was using the same flow kit on FC8 before i upgraded to FC9 with no problems
Can you check that FC9 still works with a Flowkit 1 HP299 / advise a fix
Best Regards
David
GHOST on ECIO40-P16
-
- Posts: 140
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 7:35 pm
- Been thanked: 18 times
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: GHOST on ECIO40-P16
Flowcode V9 + BL0080 + PIC16F1786
Same message like many user in FC7, FC8, when push GO with ICD enabled : "The chip does not contain the latest ICD.
Even after COMPILE TO TARGET, power OFF/ON , enable ICD ....
Same message like many user in FC7, FC8, when push GO with ICD enabled : "The chip does not contain the latest ICD.
Even after COMPILE TO TARGET, power OFF/ON , enable ICD ....
Seb
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 607 times
Re: GHOST on ECIO40-P16
Hello,
Sorry to hear of this problem, Are you able to attach your project file so we can check to make sure that isn't the cause of the problem.
Sorry to hear of this problem, Are you able to attach your project file so we can check to make sure that isn't the cause of the problem.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Posts: 172
- Joined: Thu Sep 23, 2021 3:44 pm
- Location: France
- Has thanked: 29 times
- Been thanked: 22 times
Re: GHOST on ECIO40-P16
Dear Ben,
sorry for my late reply but I was out of office these 2 days .
1- as you can see, on the picture, we can see TX signal even if Tx is not used 2- Still same message when push GO with ICD enabled : "The chip does not contain the latest ICD"
3- As you can see on the picture, I'm also using a GLCD BL0157 , there is also many bug
-Set Display orientation dont work. SOLVED I wrote 90 instead of 1 !
-Set background color don't work, as you can see on the picture, only the background color the text is updated Program updated Thx for your prompt reply
sorry for my late reply but I was out of office these 2 days .
1- as you can see, on the picture, we can see TX signal even if Tx is not used 2- Still same message when push GO with ICD enabled : "The chip does not contain the latest ICD"
3- As you can see on the picture, I'm also using a GLCD BL0157 , there is also many bug
-Set Display orientation dont work. SOLVED I wrote 90 instead of 1 !
-Set background color don't work, as you can see on the picture, only the background color the text is updated Program updated Thx for your prompt reply
Last edited by lucibel on Tue Nov 09, 2021 1:53 pm, edited 1 time in total.
Seb
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 607 times
Re: GHOST on ECIO40-P16
Hello,
As your using the internal oscillator the chip will startup at a fairly low speed and so will not be at the correct speed for the ICD communications to be established before your program starts. To get around this you can place your INT OSC configuration code into the Flowcode definition file and this will allow the chip to be up to speed before we try and initialise the ICD comms.
To do this you can simply edit the chip definition file by copying and pasting this into your file browser address bar.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC
Open up the correct definition file into a text editor and towards the bottom of the file you will see this section.
Simply add your initialise code to the init code line for example.
Then reload your Flowcode project and hopefully now ICD will work correctly.
As for the GLCD options. The set display orientation will not refresh the display but any subsiquent writes should be in the new orientation, also the parameter values should be 0,1,2 or 3, values greater than 3 will be ignored. Also with the setBackgroundColour this will effect any subsiquent writes and so if you set the colour and then clear the display this will draw the entire display in the new background colour.
As your using the internal oscillator the chip will startup at a fairly low speed and so will not be at the correct speed for the ICD communications to be established before your program starts. To get around this you can place your INT OSC configuration code into the Flowcode definition file and this will allow the chip to be up to speed before we try and initialise the ICD comms.
To do this you can simply edit the chip definition file by copying and pasting this into your file browser address bar.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC
Open up the correct definition file into a text editor and towards the bottom of the file you will see this section.
Code: Select all
<main >
<start code='\nvoid main()\n{\n' />
<end code='\tmainendloop: goto mainendloop;\n}\n\n' />
<init code='ANSELA = 0x00;\nANSELB = 0x00;\n' />
</main>
Code: Select all
<main >
<start code='\nvoid main()\n{\n' />
<end code='\tmainendloop: goto mainendloop;\n}\n\n' />
<init code='ANSELA = 0x00;\nANSELB = 0x00;\nOSCTUNE = 0x1F; // max frequency\nOSCCON = 0xF8; // 32Mhz clock\n' />
</main>
As for the GLCD options. The set display orientation will not refresh the display but any subsiquent writes should be in the new orientation, also the parameter values should be 0,1,2 or 3, values greater than 3 will be ignored. Also with the setBackgroundColour this will effect any subsiquent writes and so if you set the colour and then clear the display this will draw the entire display in the new background colour.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1763
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 448 times
- Been thanked: 607 times
Re: GHOST on ECIO40-P16
Hello,
It looks like the TX pin is maybe floating and hence ghost is picking up spurious data. Maybe try outputting a 0 or 1 to the pin and that should get rid of the none existant data.
It looks like the TX pin is maybe floating and hence ghost is picking up spurious data. Maybe try outputting a 0 or 1 to the pin and that should get rid of the none existant data.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel