-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I cannot make it work! i need some help. when i run OpenBatteryInformation.exe. i get this error "Failed to get a valid response after 2 attempts". I have an Arduino Nano 3.0 clone from Aliexpress, on the chip is written Atmel MEGA328PB. I have tried to write to firmware with latest version of Arduino IDE selected Atmega 328P processor, compiled and uploaded with no errors! but when i open OpenBatteryInformation.exe same error. I have check to see if the bootloader is the problem, i have uploaded an basic Blink Sketch from Examples, and everthing worked fine. I have tried Arduino IDE ver.1.8.19, installed MiniCore package with support for Atmega 328PB i get this error when uploading:
"Error: connected part ATmega328P signature does not match -p ATmega328PB's (override with -F or use -p ATmega328P)
Error: unable to read signature data for part ATmega328PB (rc = -1)
Error: unable to read signature data (rc = -1)
use -F to override this check
the selected serial port use -F to override this check
does not exist or your board is not connected"
Then i had tried Manually Creating PlatformIO Project in VS Code, selected Arduino Nano Atmega328, also New Bootloader, then selected Atmega 328/PB (microchip) and i get this error:
"*** [upload] could not open port 'COM14': PermissionError(13, 'Access is denied.', None, 5)
Using manually specified: COM14"
after this i got another error:
"avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x9f
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x9f"
i have swapped cables, other PC, the tried on my Macbook with no success!