Hi all,
I would like to glitch a USB powered target device (either crowbar on core voltage or EMFI). My plan is to control USB supply of the target using a PhyWhisperer and trigger a ChipWhisperer Husky as soon as target power is applied.
My questions is: What is the easiest way to generate an output signal on the PhyWhisperer which can be used to trigger the ChipWhisperer?
One obvious way that works is using the PhyWhisperer Shunt Out connect it to ChipWhisperer’s measurement input and trigger on starting power consumption. I was wondering if a trigger based on the 20-Pin ChipWhisperer Connector wouldn’t be more convenient.
Yes, you could do that, using either the ADC or SAD trigger module on Husky.
That would be easier and more robust, but PhyWhisperer doesn’t issue a trigger on target power-up; it can only issue a trigger when there is some matching USB activity. Maybe you can trigger on whatever your target’s first USB babble is? Then you can have PW trigger CW via either its “Trig Out” MCX or its IO4 pin on the 20-pin connector.
Thank you for the response!
Is there any workaround to trigger on any data the target starts sending? I would like to avoid capturing this info for every new target before being able to define the trigger.
No, however by using the mask option of set_pattern()
, or perhaps set_stat_pattern()
, I think it should be possible to come up with something that works in ~all cases?