Power Controller with AMP2 (udpi fails, even when enabled)


I have the same problem as a previous poster, in that I have the Amp2, and when I try and use the rotary encoder or the click to power on/off in plays a fraction of music and then turns back off.

I'm trying to upgrade the firmware (Release 5 here https://github.com/hifiberry/powercontroller/releases) on the power controller, however when I perform the check: pyupdi -c /dev/ttyAMA0 -d mega808 -fr

I get the following failure:

Traceback (most recent call last):
  File "/bin/pyupdi", line 11, in <module>
    load_entry_point('pyupdi==0.0.0', 'console_scripts', 'pyupdi')()
  File "/usr/lib/python3.9/site-packages/updi/pyupdi.py", line 95, in _main
  File "/usr/lib/python3.9/site-packages/updi/nvm.py", line 17, in __init__
  File "/usr/lib/python3.9/site-packages/updi/application.py", line 17, in __init__
  File "/usr/lib/python3.9/site-packages/updi/link.py", line 32, in __init__
Exception: UPDI initialisation failed

I've already run the below and rebooted.


And I can see that reflected in the config.

I am supplying power via the USB-C on the pi at the moment, but have also tried with both the USB-C and the barrel jack connection in.

Any help much appreciated.






1 comment

Please sign in to leave a comment.