In our last release, we published the initial support for Pycom devices (WiPy 3.0 and FiPy 1.0 - here more details).
Because of these devices are lacking a USB port, Pycom provides 3 different shields (all three with the USB port and 100% compatible with all Pycom devices) to enable the programming of the onboard ESP32 microcontroller.
If you go to our official documentation, you can find the procedure to register, virtualize and uplink Pycon devices with Zerynth using the basic Pycom shield (the Expansion Board).
The main and more important step is to put the Pycom device in “Download Mode”; to do this you have to:
- Open the Serial Monitor;
- Connect a jumper between GND and D0;
- Press Reset on-board button; ESP32 SDK messages must appear on the serial monitor, confirming that the device is in “Download Mode”.
ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2)) waiting for download
Now the board is in "Download Mode" and you can remove the jumper and start the registration/virtualization process.<br><br><b>Note Very Important: </b>putting the device in "Download Mode" is necessary for both <b>Registration</b> and <b>Virtualization</b>; so every time you need to register and virtualize a Pycom Device you need this procedure (not necessary, instead, for uplink your Zerynth script).<br><br><b>Note Very Very Important</b>: the correct mounting of a Pycom device on a Pycom shield is always the same and valid for all combinations: the WS2812 RGB Led of the device must be over the USB port of the shield<br><br>If you have the PySense or PyTrack shield instead of the Expansion board, don't worry, the procedure is a little bit different but still possible :)<br>Here a picture to show where the jumper must be inserted to obtain the same result as described before:<br><br><img src="https://community.zerynth.com/uploads/editor/tp/5wcesnjpm2di.jpg" alt="" title="Image: https://community.zerynth.com/uploads/editor/tp/5wcesnjpm2di.jpg"><br><br>Happy coding!!!<br><br><br>