Hello, new user here and I am going through the fault injection tutorials and have come to an error I am getting for the solution notebook for SOLN_Fault 2_2 - Voltage Glitching to Bypass Password. The error I am getting is in the 10th code block, which I will put below as well as the error output. Essentially it is an error with GlitchController, and I have not had any luck debugging.
gc.set_range("ext_offset", 0, 150)
if scope._is_husky:
gc.set_range("width", 1900, 1901)
gc.set_range("offset", 2000, 2500)
gc.set_global_step([50])
gc.set_step("ext_offset", 1)
else:
if PLATFORM=="CWLITEXMEGA":
gc.set_range("width", 43.5, 47.8)
gc.set_range("offset", -48, -10)
#gc.set_range("ext_offset", 7, 10)
gc.set_range("ext_offset", 30, 45)
scope.glitch.repeat = 11
elif PLATFORM == "CWLITEARM":
#should also work for the bootloader memory dump
gc.set_range("width", 30.7, 36)
gc.set_range("offset", -40, -35)
scope.glitch.repeat = 7
elif PLATFORM == "CW308_STM32F3":
#these specific settings seem to work well for some reason
#also works for the bootloader memory dump
gc.set_range("ext_offset", 11, 31)
gc.set_range("width", 47.6, 49.6)
gc.set_range("offset", -19, -21.5)
scope.glitch.repeat = 5
gc.set_step("ext_offset", 1)
Thanks!
