BotoX / xiaomi-m365-compatible-bms

Xiaomi M365 compatible, open source firmware for ATMega328p+BQ769x0 BMS. Ninebot in proto_test branch
197 stars 45 forks source link

Error "Cant open device /dev/ttyUSB0 #42

Closed Hazuka closed 4 years ago

Hazuka commented 4 years ago

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? :)

Hazuka commented 4 years ago

image

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

Hazuka commented 4 years ago

image

But its detected by Windows. what goes wrong ? XD

BotoX commented 4 years ago

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

Hazuka commented 4 years ago

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