Trouble deploying sketch


#1

First i would like to say what a great idea that xod.io is, However i have yet to deploy a sketch to a arduino.

This is what i get upon trying to deploy. Thanks in advance

· Transpiling…
· Project was successfully transpiled. Searching for device…
· Port with connected Arduino was found. Installing toolchains…
· Toolchain is installed. Uploading…

Error occured during uploading: ChildProcessError: Command failed: “/home/alpha/.config/xod-client-electron/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude” -C “/home/alpha/.config/xod-client-electron/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf” -p atmega328p -c arduino -P /dev/ttyACM0 -b 115200 -D “-Uflash:w:/home/alpha/.config/xod-client-electron/upload-temp/build/xod-arduino-sketch.cpp.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.
"/home/alpha/.config/xod-client-electron/packages/arduino/tools/avrdude/6.3.0-arduino9/bin/avrdude" -C "/home/alpha/.config/xod-client-electron/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf" -p atmega328p -c arduino -P /dev/ttyACM0 -b 115200 -D "-Uflash:w:/home/alpha/.config/xod-client-electron/upload-temp/build/xod-arduino-sketch.cpp.hex:i" (exited with error code 1)


#2

after reloading the arduino ide and hitting reset on the arduino a couple times i seemed to have the sketch deployed


#3

The “not in sync: resp=0x00” means anything and is not directly related to XOD. We even glorified it in our office.

Basically, the problem is the board and PC can’t establish the data exchange connection. Several possible reasons:

  • Bad USB cable (try another)
  • Bad OS drivers (try on another PC, reinstall drivers)
  • Arduino is stuck (reset, make sure nothing is connected to the RST pin, try to press reset right at the moment when flashing starts)
  • PC serial port blunts (unplug-replug the cable, reboot)

#4

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.