help i cant tell what to do to fix this avrdude error when uploading

(Read 446 times)
i am getting this error when trying to upload the transmitter sketch to my arduino nano in arduino pro ide 0.1.2 and i can never seem to get the arduino ide to even compile so i have success with verification and compilation just a fail to upload please help!



Uploading...
{
  "sketchUri": "file:///c%3A/Users/salvatore/Documents/Arduino/transmitter/transmitter.ino",
  "fqbn": "arduino:megaavr:nona4809:mode=on",
  "optimizeForDebug": false,
  "port": "COM3"
}
--------------------------
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): timeout/error communicating with programmer (status -1)
Upload error: Error: 2 UNKNOWN: uploading error: uploading error: exit status 1



This is a strange error to me. Can you use normal Arduino IDE? Did you install the needed library?



i have all the libraries installed correctly and compiles in both arduino pro ide and arduino ide.

when using arduino ide 1.8.13 i get the following when trying to upload and leads to failure to upload

Warning: Board arduino:avr:fiov3 doesn't define a 'build.board' preference. Auto-set to: AVR_FIOV3
Warning: Board arduino:avr:promicro16 doesn't define a 'build.board' preference. Auto-set to: AVR_PROMICRO16
Warning: Board arduino:avr:promicro8 doesn't define a 'build.board' preference. Auto-set to: AVR_PROMICRO8
Warning: Board arduino:avr:WiFlyin doesn't define a 'build.board' preference. Auto-set to: AVR_WIFLYIN
Warning: Board arduino:avr:minibench doesn't define a 'build.board' preference. Auto-set to: AVR_MINIBENCH
C:\Users\salvatore\Documents\Arduino\libraries\RF24-master\RF24.cpp:559:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf_P(PSTR("Data Rate\t = "PRIPSTR"\r\n"),pgm_read_word(&rf24_datarate_e_str_P[getDataRate()]));
                 ^
C:\Users\salvatore\Documents\Arduino\libraries\RF24-master\RF24.cpp:560:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf_P(PSTR("Model\t\t = "PRIPSTR"\r\n"),pgm_read_word(&rf24_model_e_str_P[isPVariant()]));
                 ^
C:\Users\salvatore\Documents\Arduino\libraries\RF24-master\RF24.cpp:561:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf_P(PSTR("CRC Length\t = "PRIPSTR"\r\n"),pgm_read_word(&rf24_crclength_e_str_P[getCRCLength()]));
                 ^
C:\Users\salvatore\Documents\Arduino\libraries\RF24-master\RF24.cpp:562:17: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf_P(PSTR("PA Power\t = "PRIPSTR"\r\n"),  pgm_read_word(&rf24_pa_dbm_e_str_P[getPALevel()]));
                 ^
Sketch uses 19328 bytes (62%) of program storage space. Maximum is 30720 bytes.
Global variables use 1594 bytes (77%) of dynamic memory, leaving 454 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x07
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x07
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.



i have used the arduino pro ide to make some flight sim controlls with 2 pro micro's ( rudder and brakes,switch box) and a leonardo board(throttle, mixture, 2 trim tabs, and look left/right)

i had trouble @ first but i learned i had to manually install the libraries to get them to compile and upload same thing i did to get the transmitter code to verify and compile

still having trouble getting the game to reckonize the boards as inputs i have read that changing the board name solves this but havent tried yet and im still researching

but i know i got the libraries from github and put them into the right folder



so after buying close to 100 dollars in parts i cannot get this nano v3 board to do anything i keep researching and cannot find anything i am becoming extremely frustrated and loosing faith and hope and i am starting to regret buying parts when i could have spent 50 bucks more and got a trannis transmitter and i don't have the privlage of wasting money considering i have an income of less than 300 bucks a month and i have most of that spent on bills so this took me a long time to save the money to get everything i have followed all instructions and triple checked and even triple checked the libraries being installed correctly (i have 3 computers giving same errors)


what am i doing wrong i have 3 nano boards and even the ones i havent done any thing with give the same errors just in case something was causing an issue uploading while wired to all the components for the transmitter project i tried uploading the sketch to all 3 boards

i got 3 boards to make the transmitter and 2 receivers

thanks for everyones help but i have no clue what to do



ok today i looked up this issue and tried a few sugestions.
1. try old boot loader
2.change to the driver for clones
3. try old boot loader

next options is check baud rate and set if possible?
burn bootloader after i buy a uno and learn that?

try turning on the battery pwr while trying to burn?

all things i have read about on other forums and im a lil scared to turn on battery pwr incase it doesn't have that "scholkisky" diode thing(i know i spelled that way wrong lol).
also not sure once i know the baud rate of the board how do i set the file in the ide library to match?
burning the boot loader seems easy but it will be a while b4 i can afford a genuine uno board.

all concerns i have currently from my research not sure what to try and in what order what is everyone's opinion i would love some help or guidance of what to try



ok after a fresh install of Arduino ide on a fresh computer and manual install of all libraries and purchasing a new cable we have success!!! it works! its alive

it is annoying that the ide doesn't work correctly and must manually install libraries and boards etc.

also i think the computer and cable had a lot to do with it not working!

after 45 min of getting the new cable i had the ide installed, got the code loaded, verified, and uploaded
and thank you for giving me the help and inspiration as well as a place to complain lol
i am supper happy i got it working