Sorry, I’m not native english speaking, so please no complicated answers
I have:
WIN XP latserst SP (running in VM-ware)
Ardunio 022
Stalker V1 (328)
Problem:
I’m able to comunicate with STK500 (and any proc. inserted) @COM2 with AVR Studio 4.xxx
I close AVR Studio and try to prog BLINK example from Arduino with setting:
board = Arduino Duemilenove or Nano w/ ATmega328
Serial Port = COM2
Arduino is not able to prog. stalker.
Error
Binary sketch size: 1018 bytes (of a 30720 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
What’s wrong?
Did you ever upload code with AVR Studio?
If you ever upload code with AVR Studio, you flushed the bootloader.
you need reburn the bootloader.
ATmegaBOOT_168_atmega328.zip (2.08 KB)
and config the fuse as:
low_fuses=0xFF
high_fuses=0xDA
extended_fuses=0x05
unlock_bits=0x3F
lock_bits=0x0F
Thanks
Albert
Sorry, I was away because of my job.
I was not able to get connection with my seedunio stalker board.
I make the connection with 6pin ISP cable from STK500 board to stalker board.
When I try to read out device signature, the board responds with 0x00 0x00 0x00.
On Stalker, the D1 LED is burning, D5 is flashing ~3Hz.
As long as I press the reset button, I get a correct device signature, but do I have to hold the reset button while programming the device?
How can I programm the stalker board with software from arduino IDE ?
Thank you for answers.
Hajo
You need a USB to Uart tool to program Stalker with Arduino IDE. and the 5 pin female connector under XBee.
And connect as:
USB2Uart<–>Stalker
VCC<-------->VCC
TX<---------->RXD
RX<---------->TXD
GND<-------->GND
DTR<-------->GND
In the Arduino IDE, you should select “Arduino Duemilanove or Nano w/ ATmega328” for Stalker V1 Atmega328
Thanks
Albert
Thank you for the fast response, Albert!
Can you give a hint for a good USB2UART device?
Is there a (easy) way to programm the stalker with STK500?
I have also an AVRISP mk2 clone (10pin ISP header) for programming. Is there an easy way for programming my stalker board?
Thank you for answering my (stupid) questions
Greetings Hajo
Our UartSBee 3.1 is compatible with Stalker v2.0.
Here it is:http://www.seeedstudio.com/depot/uartsbee-v31-p-688.html?cPath=109
Thanks
Albert