Whirlybird: Difference between revisions
m →Firmware: variation notes and typos fix |
m →Firmware: notes on boot mode and erase |
||
| Line 67: | Line 67: | ||
Some of the boards do properly enter "Boot Mode" which is done by connecting <code>GPIO0</code> to ground. This can easily be done by using a jumper wire from a through hole header that exposes both <code>GPIO0</code> and ground and pressing a reset button immediately below it. Alternatively this can be achieved by using a wire pressed to the bottom right most module pin and the metal RF shield on top of the module while connecting USB to power on. | Some of the boards do properly enter "Boot Mode" which is done by connecting <code>GPIO0</code> to ground. This can easily be done by using a jumper wire from a through hole header that exposes both <code>GPIO0</code> and ground and pressing a reset button immediately below it. Alternatively this can be achieved by using a wire pressed to the bottom right most module pin and the metal RF shield on top of the module while connecting USB to power on. | ||
Successfully resetting with <code>GPIO0</code> low and monitoring the <code>Tx</code> pin output, the device will send the following when properly configured and enabled to work with <code>esptool.py</code>. | |||
<pre> | |||
Build:Mar 27 2021 | |||
rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0)) | |||
waiting for download | |||
</pre> | |||
For first time use with Micropython a complete erase of flash should first be performed with the following, | |||
<pre> | <pre> | ||
esptool.py -p /dev/ttyACM0 -b 115200 erase_flash | esptool.py -p /dev/ttyACM0 -b 115200 erase_flash | ||