I have a target and a microcontroller which generates trigger based on the UART data the target sends. I have a 1.5s interval in which I am interested in finding the last moment in which I can still glitch, as my hypothesis is that it is the one which corresponds to the execution of a specific instruction. The problem is that the target is clocked externally from 27MHz and at this rate CW can only offset from the external trigger by ~37ms (1e6 clk cycle). To overcome this I use a timer in the microcontroller to add extra delay and now I would like to scan the interval automatically.
What would be useful if after the Glitch Explorer iterated through a full set of parameters, I can emit a signal on a GPIO pin of the CW to the mC, to decrement the timer value, and then to restart the capture. Moreover the other parameters of the glitch also seems to change as the target goes on with the execution, and if I find a glitch I am not interested in every combination, so I would like the Glitch Explorer to skip ahead.
I was unable to identify the parts of the source code where I need to add my modification, could you please point me into the right direction?
I already altered the addResponse function in chipwhisperer/software/chipwhisperer/capture/ui/GlitchExplorerDialog.py to query the usb token of the target, but these callback functions are unclear. Do you maybe have a call graph?
In the CW PRO, is this problem solved?