I understand that the width is size of the glitch, and offset is a count of clock cycles from reset. At least I hope my understanding is correct. But what is ext_offset?
For context, I’m in fault101 section 1_2.
I understand that the width is size of the glitch, and offset is a count of clock cycles from reset. At least I hope my understanding is correct. But what is ext_offset?
For context, I’m in fault101 section 1_2.
Hi,
ext_offset
is a count of clock cycles from the trigger point. For example, having an ext_offset
of 10 will insert a glitch roughly 10 clock cycles after the glitch is triggered.
offset
is best thought of as moving the glitch back and forth within the clock cycle, meaning the highest and lowest values of offset
will all affect the same clock cycle. In terms of glitching, I’d say offset typically behaves more like width, where it mostly affects whether or not you get a glitch, whereas ext_offset
will affect which instruction on the target that you glitch.
Alex
So it’s 10 clock cycles instead of 10 ADC counts. Is that it?
Correct- the glitch module uses the target clock, not the ADC sampling clock.