Go Down

Topic: Error uploading code (while time ago worked fine..) (Read 671 times) previous topic - next topic

bokeauss

Hi all,

I'm playing with one board I made time ago with an Atmega328 and MCP2200 for USB communications. I used to upload the code using Arduino IDE (version 1.5.x) with no problems.

Now, after long time with the electronics on the drawer, I am trying to upload a new code (Arduino IDE 1.8.5) and getting this error message in the console:

Code: [Select]

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xce
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x9d
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf7
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xad
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0d
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x9d
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x98
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xdd
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xcf
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe7

avrdude done.  Thank you.


The point is that:
a) drivers are installed (and updated)
b) I'm using the correct COM port
c) the board is working since I can talk to the board through the serial port monitor…

I can try to reburn the bootloader but I would like to know what's happening. Looks like Arduino IDE is not communicating well with the MCP2200.

Any help or clue is appreciated. Thanks in advance. 
* Utiliza un 'Subject' para tu hilo que explique su contenido.

* Si preguntas sobre software, pon el código de tu programa, facilita la ayuda.

* Si consigues solucionar tu problema, Explica en tu post como lo conseguiste para beneficio de todos.

* Cambia el 'Subject' de tu hilo y añade '[Solucionado]' si la duda está resuelta.

robtillaart

Not knowing a solution but have you retried the 1.5 IDE?
If that does work there is something broken in the IDE / avrdude call.
If that does not work it might be the board.

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

bokeauss

I could succesfully upload the code with no errors using Arduino IDE 1.0.5. However, I cannot do that with the rest of versions.... why???
* Utiliza un 'Subject' para tu hilo que explique su contenido.

* Si preguntas sobre software, pon el código de tu programa, facilita la ayuda.

* Si consigues solucionar tu problema, Explica en tu post como lo conseguiste para beneficio de todos.

* Cambia el 'Subject' de tu hilo y añade '[Solucionado]' si la duda está resuelta.

Go Up