Is it possible to run two fault injections using the cw308?

Dear all,
I would like to know whether it is possible to mount two fault injections (second-order fault attack) during the execution of some code.
Is there a tutorial or an example for doing that?

I am using a cw308 with an stm32f4 board, and I am considering clock glitch attack

Best,
Sousou

No, we don’t have a tutorial for this.
With CW-lite/pro, you can generate multiple glitches with scope.glitch.repeat, but they will be on on consecutive clock cycles, which is fairly limiting. Another option, is to set up a trigger event every time you want a glitch, and set scope.glitch.trigger_src = "ext_continuous".

With CW-Husky, you can add a programmable delay between successive glitches; this gives you a lot more options. See section 8 in the husky_intro.ipynb notebook.

Jean-Pierre

Thank you Jp for the answer,
So do you mean that I place the two triggers around the instructions I want to fault and set `scope.glitch.trigger_src = “ext_continuous”?

trigger.high()
inst1
trigger.low()

trigger.high()
inst2
trigger.low()

Best,
Sounsou

Yes, that’s exactly right.

Thanx, I will try that!