BotoX / xiaomi-m365-compatible-bms

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

V1.7 BMS wiring problem/uploading firmware #48

Open clemtrinc opened 3 years ago

clemtrinc commented 3 years ago

Hi, did anyone manage to flash the firmware on a newer version of the BMS ? I followed the wiring images, soldering the ISP programmer on the chip directly, but cannot communicate with the atmega controller apparently, I get

"avrdude: initialization failed, rc=-1 avrdude: AVR device initialized and ready to accept instructions avrdude: Device signature = 0x000000 avrdude: Yikes! Invalid device signature. avrdude: Expected signature for ATMEGA328P is 1E 95 0F"

and wonder if the diagram is correct, as I already double checked my solders.

Thanks

argaar commented 3 years ago

If you're receiving 0x00000 probably there is some issue with wirings, check that your pins are not shorted. I've successfully flashed on a 1.6 version but only after numerous retries since my alligator clips are very cheap