cniweb / avr-netino

Port of Arduino core for AVR-Net-IO board (exported from http://code.google.com/p/avr-netino).
GNU General Public License v3.0
5 stars 4 forks source link

problem with programming bootloader #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
I have a problem with the programming of the bootloader. It mkommt the error:
avrdude: stk500_getsync (): not in sync: resp = 0x00
ISP to put a DIAMAEX-AVR programmer
The base lies a ATMEGA32
Hardware at the Pollin board is rebuilt. I wonder if a serial two-wire 
connection is sufficient.

Original issue reported on code.google.com by farm.ha...@gmail.com on 1 Jan 2014 at 6:03

GoogleCodeExporter commented 9 years ago
Hi,

can you explain in more detail what you are doing?

Are you trying to program the bootloader via the serial line?
This will not work.
The bootloader must be programmed via ISP (a 10 pin header).

Original comment by mic.maas...@gmail.com on 5 Jan 2014 at 7:51

GoogleCodeExporter commented 9 years ago
thanks for the reply.

Programmer is an ISP (10pins) Diamex DM-ISP
Programmer's OK
I can Arduino download file program (with ATMEL AVR Studio)) and thus does
the NET-IO hardware.
My only problem is coming when programming the bootloader this error
message:

avrdude: stk500_getsync (): not in sync: resp = 0x00

Original comment by farm.ha...@gmail.com on 9 Jan 2014 at 9:38

GoogleCodeExporter commented 9 years ago
Hallo,
This is the arduino-text when bootloader is programing:

C:\Program Files\Arduino\hardware/tools/avr/bin/avrdude -CC:\Program
Files\Arduino\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega1284p
-cstk500v1 -P\\.\COM5 -e -Ulock:w:0x0f:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDC:m
-Ulfuse:w:0xFF:m

avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Program
Files\Arduino\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM5
         Using Programmer              : stk500v1
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude done.  Thank you.

2014/1/9 Andreas Haase Haase <farm.haase@gmail.com>

Original comment by farm.ha...@gmail.com on 9 Jan 2014 at 9:47

GoogleCodeExporter commented 9 years ago
Hello,

the messages from avrdude are saying, that it cannot comunicate with your 
programmer, the DIAMEX.
I guess that either your programmer setting or the com port setting in your 
arduino ide is wrong.

Michael

Original comment by mic.maas...@gmail.com on 10 Jan 2014 at 7:56

GoogleCodeExporter commented 9 years ago
Hi folks,

I experienced similar problems with the most recent arduino/avr-gcc-versions on 
Fedora 20. In my case the STK500-Programmer was not addressed correctly - 
protocol stk500v1 did not work, changing to the "old" setting stk500 and using 
the virtual serial device fixed it. Here's the code I neede to add to the 
programmer-file:

>cat arduino/hardware/arduino/programmers.txt 
# See: http://code.google.com/p/arduino/wiki/Platforms
avrstk.name=STK500 Serial
avrstk.communication=serial
avrstk.protocol=stk500

...

Original comment by Roman.Sc...@gmail.com on 13 Jul 2014 at 12:32

cniweb commented 9 years ago

Please check and, if necessary, close the error, Thanks!