Good day to everyone. I have an issue with the exit status 1 error.
I am using a nrf24l01 radio module to beam back some sensor readings. With other UNOand MEGAs the code works fine and the radios work. However, when I use a specific UNO, I get the error:
Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0f
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x10
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0f
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x10
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x0f
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x10
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
This means that somehow the board and computer can't communicate. However, the board is detected by the IDE (version 2.3.6) and the windows device manager as a device connected to COM Port 5.
I looked around for a solution and everything seemed fine: the cable was working, the code was working (both verified with other UNO boards), the board was connected to the right COM port, the TX/RX pins were free (I even disconnected every module attached to the board), I tried -and failed- to upload a blink program... Nothing.
I did this Loopback test to see if there were comunicaton errors: there were not, the test was passed succesfully.
In short, everyting seems to be okay with the UNO, however I get the exit status 1 error.
Does anyone know why? Thank you very much.