Debug
Posted: Fri May 18, 2012 12:12 pm
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.
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.