I have a few cheap Arduino Nano clones, which use the CH340 USB chip.
I had a few problems getting them to work with Ubuntu 22.04 LTS - first the ttyUSBx devices was not appearing, and then there were errors trying to upload firmware.
To get the ttyUSBx working, I had to
- uninstall brltty as that seemed to be grabbing the device - not a problem for me because I don't use braile, but if I did, it would have needed more faffing.
- add myself to the dialout group in /etc/group
- make /dev/ttyUSBx group read/write
- I still had errors doing upload using either the default nano board or the old bootloader version in the arduino IDE.
- Installed a patched driver for the CH340 chips from https://github.com/juliagoda/CH341SER
- After that, I can upload firmware using the 'old bootloader' version of the Arduino Nano board in the Arduino IDE.
Note, Have just re-checked and I think I am using the original CH341 driver, not the new one, so it must have been the bootloader change that got it working?
No comments:
Post a Comment