Results 1 to 3 of 3

Thread: avrdude.exe stk500_getsync() not in sync error

  1. avrdude.exe stk500_getsync() not in sync error

    I have no problems Uploading my sketch using the Arduino 1.0.6 development environment.
    I would like to be able to download sketch from a program created with C#.
    To do this I am trying to call avrdude.exe to do the work.

    Using a batch file command
    avrDude.exe -Cavrdude.cnf -patmega644p cstk500v1 -PCOM4 -b57600 -D -uflash:w:myProject.cpp.hex:i
    which I copied changing the processor type and filename.

    The response is avrdude.exe: stk500_getSync<>: not in sync: resp=0x00
    I tried some different baudrates with slightly different errors
    9600 resp=0xe4
    28800 resp=0x92
    57600 resp=0x00
    28800 resp=0x00

    Can someone point out my stupid mistake?
    I am using a ArbotiX-M Robocontroller Item # IL-ARBOTIXM
    From a window 7 32bit computer if that matters.

    Thank you

  2. #2

    Re: avrdude.exe stk500_getsync() not in sync error

    Do you have an XBee plugged in? The XBee and programming shares a serial port (if using a bootloader) so you have to unplug it.

    Otherwise, I find that a ICSP programmer is much better to work with when doing custom AVR programming. Bootloaders are finicky and take space and take over the startup/initialization phase of the chip more than I like.

  3. Re: avrdude.exe stk500_getsync() not in sync error

    Sorry about the Delay responding, I had a surprise appendectomy And just got back to my computer.

    I do not have an XBee plugged in.

    My goal is to be able update the firmware for Turrets from an existing application written in C#. The computers that will be running the turrets are not used for development and I want to limit the amount of software I need to load onto them.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. avrdude : verification error
    By amir204 in forum Arbotix, Microcontrollers, Arduino
    Replies: 0
    Last Post: 09-29-2015, 04:09 AM
  2. Question(s) avrdude: stk500_getsync(): not in sync: resp=0x00 Error
    By hwan we in forum Software and Programming
    Replies: 8
    Last Post: 11-20-2014, 04:23 PM
  3. Question(s) stk500_cmd(): programmer is out of sync - Uploading sketch error
    By Liquidiser in forum Arbotix, Microcontrollers, Arduino
    Replies: 1
    Last Post: 08-25-2014, 09:02 AM
  4. Question(s) Compiling Error with Arduin IDE / Pypose : could not read servo error
    By lweydert in forum Software and Programming
    Replies: 3
    Last Post: 03-27-2013, 08:16 AM
  5. Issues with Arbotix Programming- avrdude: stk500_getsync() error
    By Nitro in forum Software and Programming
    Replies: 4
    Last Post: 12-11-2012, 01:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •