Are any of the debug features of PICkit 3 usable in Flowcode?
Afraid I don’t really understand what debug tools are all about. Do you have a tutorial? As my application is a high speed and real time one I can’t get my head around the point of stepping through a programme slowly as it would miss all the real time external triggers so fail to work properly/at all. Same reason my Flowcode simulations don’t work well as there is no waveform generator in Flowcode to trigger them. Think of it like a frequency counter application. If you step through slowly, whilst inputting a high frequency, the programme will entirely miss a proper measurement of the signal and mis trigger.
So generally I do debugging by writing intermediate variables to an LCD in real time and correct the code when the variables dispaly the wrong value.
Debug
Moderator: Benj
- 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: Debug
Hello,
Flowcode cannot debug directly using the PICkit 3,
You can either use the Flowkit to debug on a flowchart level from inside Flowcode or you can import the Flowcode generated C code into MPLAB and debug using your PICkit 3. You will need your own license for the BoostC compiler to be able to do this.
Flowcode ICD allows things like breakpoints so you can run the program and get it to automatically jump out at the right point to allow you to step through.
Another helpful tool is our EB070 digital test pod using the USBee technology. This allows you to record and decode the external signals to help track down issues that may be hardware based rather then purely software based.
Writing values to a LCD is another valid form of debugging. I use it a lot
Flowcode cannot debug directly using the PICkit 3,
You can either use the Flowkit to debug on a flowchart level from inside Flowcode or you can import the Flowcode generated C code into MPLAB and debug using your PICkit 3. You will need your own license for the BoostC compiler to be able to do this.
Flowcode ICD allows things like breakpoints so you can run the program and get it to automatically jump out at the right point to allow you to step through.
Another helpful tool is our EB070 digital test pod using the USBee technology. This allows you to record and decode the external signals to help track down issues that may be hardware based rather then purely software based.
Writing values to a LCD is another valid form of debugging. I use it a lot

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