Changes

Tutorial A9 Bypassing LPC1114 Read Protect

10 bytes removed, 14:09, 17 April 2018
Automating the Glitch
</syntaxhighlight>Add 2 methods, one for setting the reset pin low, and one for setting the reset pin high. Having two methods will help make triggering off the glitch more precise:<syntaxhighlight lang="python">
def rst_low(self, scope, target, project):
self.scope.io.nrst = 'low'
def rst_high(self, scope, target, project):
self.scope.io.nrst = 'high'
</syntaxhighlight>Add a method to update the glitch parameters and tell the glitch explorer window about them. In this case, we care about the repeat (will determine how wide the glitch is) and the offset of the glitch from the trigger (how long after resetting the glitch happens). The following method covers a wide range, so you'll probably want to narrow things down a bit. Glitches between 5100 and 5300 with a repeat around 10 (on the board we used, glitching at 5211 with a repeat of 10 produced a lot of successes, while another worked better at 5181/11) seem to bypass the bootloader the best:<syntaxhighlight lang="python">
def update_parameters(self, scope,taret,project):
Approved_users, administrator
366
edits