Allen-Synthesis / EuroPi

EuroPi: A reprogrammable Eurorack module based on the Raspberry Pi Pico
Creative Commons Zero v1.0 Universal
431 stars 84 forks source link

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

Closed roryjamesallen closed 8 months ago

roryjamesallen commented 2 years ago

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
roryjamesallen commented 1 year ago

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

roryjamesallen commented 8 months ago

Fixed in #333