[Open_electroporator] Timers, PWM, low-level MCU setup
Nathan McCorkle
nmz787 at gmail.com
Sun Mar 12 21:48:26 UTC 2017
Slight clarification about below, the mass-erase or unprotect command
will require the DFU-mode to be setup again (3.3V on B0 while plugging
in the USB
On Sun, Mar 12, 2017 at 2:45 PM, Nathan McCorkle <nmz787 at gmail.com> wrote:
> So here are my STEPS TO UNBRICK:
>
> connect a wire to 3.3V on G30TH
> unplug USB connection, but be ready to plug it in (have it partially socketed)
> touch 3.3V wire to pin "B0" (on the opposite side of the G30TH from
> the USB connector, and NOT a through-hole)
> while keeping the wire touched to "B0", plug in the USB
> * the microcontroller should now be in DFU mode, and you can
> release the wire from "B0"
>
> git clone https://github.com/micropython/micropython.git
> cd micropython/stmhal/boards
> git clone https://github.com/dhylands/G30TH.git
> cd ..
> make BOARD=G30TH
> dfu-util -v -s :mass-erase:force -a 0 -d 0483:df11 -D build-G30TH/firmware.dfu
Get into DFU-mode again, with 3.3V on pin B0 while plugging in USB
> make BOARD=G30TH deploy
More information about the open_electroporator
mailing list