Welcome! Log In Create A New Profile

Advanced

Teacup on Arduino Nano problem in upload (Solved)

Posted by caslor 
Teacup on Arduino Nano problem in upload (Solved)
May 06, 2017 05:24PM
Hi

i am trying to upload teacup in arduino Nano but have no luck with that..

from the board section i have choose cnc shiled v3 and for cpu the atmega 328p

in the ''edit / settings'' i choose the ''arduino'' for AVR Programmer as the standard stk500 was giving me always error with : time out connection


the problem is that when i am trying tou upload it in a Arduino Nano board it tries to connect but nothing happen
avrdude -c arduino  -b 115200 -p atmega328p -P /dev/ttyUSB0 -U flash:w:"/home/caslor/Downloads/TEACUPFirmWares/Teacup_Firmware-master/teacup.hex":i
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done.  Thank you.
RC = 1 - Build terminated
Upload terminated abnormally.



when i choose to upload in an Arduino UNO board then everything going well


avrdude -c arduino  -b 115200 -p atmega328p -P /dev/ttyUSB1 -U flash:w:"/home/caslor/Downloads/TEACUPFirmWares/Teacup_Firmware-master/teacup.hex":i
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "/home/caslor/Downloads/TEACUPFirmWares/Teacup_Firmware-master/teacup.hex"
avrdude: writing flash (17308 bytes):
Writing | ################################################## | 100% 2.74s
avrdude: 17308 bytes of flash written
avrdude: verifying flash memory against /home/caslor/Downloads/TEACUPFirmWares/Teacup_Firmware-master/teacup.hex:
avrdude: load data flash data from input file /home/caslor/Downloads/TEACUPFirmWares/Teacup_Firmware-master/teacup.hex:
avrdude: input file /home/caslor/Downloads/TEACUPFirmWares/Teacup_Firmware-master/teacup.hex contains 17308 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 2.14s
avrdude: verifying ...
avrdude: 17308 bytes of flash verified
avrdude done.  Thank you.

Upload completed normally.






what am i doing wrong ?


thanks in advance

Edited 1 time(s). Last edit at 05/08/2017 07:16AM by caslor.
Re: Teacup on Arduino Nano problem in upload
May 07, 2017 09:01AM
Could be the baudrate. I'm not 100% sure, but try 57600.


Triffid Hunter's Calibration Guide --> X <-- Drill for new Monitor Most important Gcode.
Re: Teacup on Arduino Nano problem in upload
May 07, 2017 06:39PM
Quote
Wurstnase
Could be the baudrate. I'm not 100% sure, but try 57600.

Wow !!! you are my saver smiling smiley

that was the problem smiling smiley

when i changed the Baudrate in teacup edit/settings from 115200 to 57600 , problem solved

Thanks for the help
Re: Teacup on Arduino Nano problem in upload
May 08, 2017 01:10AM
You're welcome smileys with beer

Edited 1 time(s). Last edit at 05/08/2017 01:10AM by Wurstnase.


Triffid Hunter's Calibration Guide --> X <-- Drill for new Monitor Most important Gcode.
Sorry, only registered users may post in this forum.

Click here to login