Do you have an STK500 Programmer? If not then why is your FlashAVR.bat calling it?
The nano is an Arduino, Right? It has a Mega328P like the UNO, Right?
Then I would deduce that you need to look at lines in the FlashAVR.bat file that represent what you actually have. I'm no Nano expert but I would think that you should be trying the lines below. Of course change the com port as necessary.
William. "Do you have an STK500 Programmer? If not then why is your FlashAVR.bat calling it?"
That error is from using
REM Call AVRdude for Arduino_Uno bootloader:
REM You will have to confirm the com (communications) port - currently set for com6
"AVRdude\avrdude.exe" -c Arduino -P Com7 -b 115200 -p AT%2 -U flash:w:%1:i
everything else is rem'd
There's a problem
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just my first use of nano. Simple error, probably says about serial programing speed somewhere in the arduino nano griff.
I found the nanos use the same com, unlike my 2 unos which always have different com number. Anobium explained a complicated (to me) win workaround.
Thanks again, it's like a uno now but 2 extra analogue pins.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
3 arduino nanos arrived today. I flashed an existing uno gcb program and got odd errors. It said it's same 328p just more breadboardy.
See https://sourceforge.net/p/gcbasic/discussion/596084/thread/ca88ae9e/#d587 previously answered. This is thread is resolved.
error pictures
it's same as uno as far as programming yes?
Last edit: stan cartwright 2017-12-02
This is with another nano hanging on a usb cable
Stan,
Do you have an STK500 Programmer? If not then why is your FlashAVR.bat calling it?
The nano is an Arduino, Right? It has a Mega328P like the UNO, Right?
Then I would deduce that you need to look at lines in the FlashAVR.bat file that represent what you actually have. I'm no Nano expert but I would think that you should be trying the lines below. Of course change the com port as necessary.
"AVRdude\avrdude.exe" -c Arduino -P Com6 -b 115200 -p AT%2 -U flash:w:%1:i
"AVRdude\avrdude.exe" -c Arduino -P Com6 -b 57600 -p AT%2 -U flash:w:%1:i
@Stan. Please send all broken kit here. I am sure I can repair. :-)
Last edit: Anobium 2017-12-03
William. "Do you have an STK500 Programmer? If not then why is your FlashAVR.bat calling it?"
That error is from using
REM Call AVRdude for Arduino_Uno bootloader:
REM You will have to confirm the com (communications) port - currently set for com6
"AVRdude\avrdude.exe" -c Arduino -P Com7 -b 115200 -p AT%2 -U flash:w:%1:i
everything else is rem'd
There's a problem
`#Dotrytofigureouttheserialportconnectionofyourdevicesbeforeprogramming
Is Nano on Com7 ? Look at device manager and see where it is. Then modify the line accordingly
Is your nano a cheap clone? .... I will assume that it is and that it uses CH340 USB.
Is the Ch340 Driver loaded and operational? If not then troubleshoot.
Did you try 57600 Baud? I think someone once mentioned that in the forums.
changing to 57600 Baud and it flashed ok. Thank you William. it should be mentioned somewhere to save user head scratching and posting to forum.
Stan,
This issue was resolved quite a while back in this thread:
https://sourceforge.net/p/gcbasic/discussion/596084/thread/ca88ae9e/
You even participated in the thread.
All you had to do was search the forum for "Nano" an you would have had the answer.
William
Just my first use of nano. Simple error, probably says about serial programing speed somewhere in the arduino nano griff.
I found the nanos use the same com, unlike my 2 unos which always have different com number. Anobium explained a complicated (to me) win workaround.
Thanks again, it's like a uno now but 2 extra analogue pins.