0

"UPDI Initialization falied" when trying to flash the power controller

Hello,

maybe somebody has some advice:

I wanted to program the power controller, but I didn't get too far :-(

My programming efforts are resulting in the message:

# pyupdi -c /dev/ttyAMA0 -d mega808 -f firmware.hex
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 did start the tool

/opt/hifiberry/bin/enable-updi

in advance, though, and I also checked that there is the line

dtoverlay=disable-bt

in the config file, but for some reason the systems seems to ignore that (?)

I was logged in as "root" all the time.

Thanks in advance for any help!

 

 

2 comments

Please sign in to leave a comment.