Allen-Synthesis / EuroPi

EuroPi: A reprogrammable Eurorack module based on the Raspberry Pi Pico

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug Fix Tracking] Remove workaround for USB connection issue when possible

roryjamesallen opened this issue · comments

This is an issue solely to track the workaround to fix the USB connection issue, as it will hopefully be fixed 'properly' by a MicroPython version in the future, at which point the workaround should be removed and the previous MicroPython versions marked as incompatible with the module.

Specific removal condition

For the workaround in menu.py implemented in #183 to be removed, the following sequence of events must be able to be carried out without error from the Shell in Thonny:

  1. Have the Pico installed in the module
  2. Have rack power turned entirely off, and no USB connected
  3. Connect the Pico/module to a computer running Thonny using a USB cable
  4. Choose the port in Thonny to select 'MicroPython (Raspberry Pi Pico)
  5. Wait for >>> to be shown in the Shell window

Using MicroPython 1.20.0, this appears to be fixed, i.e. the delay added when connected over USB isn't required for a consistent connection to be made without error

Fixed in #333