BotoX/xiaomi-m365-compatible-bms

Error "Cant open device /dev/ttyUSB0

Hazuka opened this issue · 4 comments

all is in the title. I have the USBasp and the V1.6 BMS and i CANT find any solutions to program it.. Any help? :)

image

i have no com port in Device list of PlatformIO... any advice?

image

But its detected by Windows. what goes wrong ? XD

BotoX commented

Upload protocol Arduino is not usbasp
It's for uploading the code via uart when using a bootloader
Usbasp is used with avrdude to upload bootloader
But it can also be used for firmware with avrdude
Or with platformio, read the documentation of platformio avr

Finally need to removed ENTIERELY the WinUSB drivers for it to make an exchange for libusb drivers. problem solved. Thanks you Botox for your message ;)

Upload protocol Arduino is not usbasp
It's for uploading the code via uart when using a bootloader
Usbasp is used with avrdude to upload bootloader
But it can also be used for firmware with avrdude
Or with platforming, read the documentation of platformio avr