I have been uploading different sketches to the NyBoard v1.1 so I can use different I2C devices with it. At one point, I started getting an error and it does not allow me to upload any new sketches, always with the same type of error. Below I am simply trying to upload a blank sketch:
Sketch uses 3852 bytes (11%) of program storage space. Maximum is 32256 bytes.
Global variables use 578 bytes (28%) of dynamic memory, leaving 1470 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x49
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6e
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x73
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x65
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x72
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x76
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6f
Failed uploading: uploading error: exit status 1
Any ideas?
Edit:
There is data coming from the serial console from a previous sketch, so the ATMega is still working:
09:47:57.058 -> Init servos: k
09:47:57.192 -> Init IMU
09:47:57.678 -> Init servos: k
09:47:57.810 -> Init IMU
09:47:58.309 -> Init servos: k
09:47:58.417 -> Init IMU
09:47:58.960 -> Init servos: k
What type of warranty does the mainboard have? 😪
"programmer is not responding" is often happened when there is no correct serial port found. If you operate in Windows, please check the serial port is found correctly and the port set in the Arduino IDE as follows before upload the sketch.
Hi, could you take a short video to show the LEDs on the green uploader during the uploading process? Is the yellow LED consistently lighting up?
Sometimes it does start the board correctly, sometimes not. When it does work, this is the serial output:
10:26:10.218 -> k 10:26:10.218 -> Init IMU 10:26:10.680 -> Init servos: 25.00MHz 10:26:10.716 -> Load skills 10:26:14.518 -> * Start * 10:26:14.518 -> Bittle 10:26:15.017 -> Ready! 10:26:15.017 -> Low power:0V 10:26:18.289 -> p 10:26:18.990 -> 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10:26:18.990 -> 0, 0, 0, 0, 0, 0, 0, 0, -2, -10, 3, -4, -1, 13, -2, 13, 10:26:18.990 -> c 10:26:20.092 -> Low power:0V
Trying to stock OpenCat sketch, I get this:
Sketch uses 30988 bytes (96%) of program storage space. Maximum is 32256 bytes. Global variables use 1110 bytes (54%) of dynamic memory, leaving 938 bytes for local variables. Maximum is 2048 bytes. avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xb7 avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xb7 Failed uploading: uploading error: exit status 1