Hello Peter,
We know of an issue using the INTOSC when your not using the default speed. The INTOSC will usualy start at a low speed and then be brought up to a faster speed with the C icon call.
As the chip does not start off fast the ICD comms will fail and hence the program will not start.
Is it possible to use a crystal instead while you are debugging?
If not then it is possible to add the INTOSC code to the FCDX file to force the chip to be at speed before hitting the first Flowchart icon.
The FCDX file should be located here.
C:\ProgramData\MatrixTSL\FlowcodeV9\FCD\PIC
Right at the bottom of the file you will find this section of XML.
Code: Select all
<main >
<start code='void main()\n{\n' />
<end code='\tmainendloop: goto mainendloop;\n}\n\n' />
<init code='ANSELA = 0x00;\nANSELB = 0x00;\nANSELC = 0x00;\nANSELD = 0x00;\nANSELE = 0x00;\n' />
</main>
Add your INTOSC code to the init code field with a \n at the end and hpefully this will make a difference.