Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Programmer is not responding on: January 22, 2007, 06:09:32 am
I got my replacement arduino-ng today: It works like a charm!

With the working borad I programmed the serial_hello_world example from http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/ onto a atmega8 and put it in the defective board. I get no TX activity at all...
If I can provide any help with locating the error, just tell me!
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Programmer is not responding on: January 18, 2007, 04:52:39 am
>> Hmm.  Maybe the Italian post office has decided they don't like Arduino.
So what am I supposed to do now?
3  Forum 2005-2010 (read only) / Troubleshooting / Programmer is not responding on: January 16, 2007, 04:34:42 am
(This were some single posts before, I put them together for better understanding)

Hi @ all!
Today I got my arduino-ng board and was quite happy to have it in my hands...
But after some hours with it, I have to admit that it feels like it won't work Sad
 
It tried the Arduino-7 Software under both Windows and Linux, with different delays between pressing reset and trying to write to the device. Tried usb vs. external power. I got a ATmega168 with bootloader too, so I re-seated about 10 times... same results:
"Programmer is not responding."
I even tried AVR-Studio for Windows... The only difference is, that AVR-Studio seems to retry the connection attempt resulting in longer RX activity.
Tried another USB-cable and another computer...
 
But I have never ever seen any TX activity (except after connecting the USB-plug)!!
 
The ATmega8 does one L-led flash after reset, then some seconds nothing and then flashing about 3Hz.
The ATmega168 does 3 flashes, then some time noting, then 3 flashes and so on.
 
----------

>>Hmm... with the ATmega8, does the RX light flash before the L LED starts blinking at 3 HZ?
>> If so, you've got the timing right, as the  bootloader is listening for uploads when the LED is off.  
Yup.
 
>> Can you try setting the upload.verbose flag (in your preferences file) to true and post the output you get?
Sure, but I'd like to do:
Code:
./uisp -v=4 -dpart=atmega8 -dprog=stk500 -dserial=/dev/ttyUSB0 -dspeed=19200
Transmit: { 0 [30]   [20] }
Programmer is not responding.
I get the same output with other baudrates (9600, 2400, 1200) and under Windows and with the atmega168 (of course I set -dpart=atmega168).

With avrdude I get:
Code:
./avrdude -F -p atmega8 -P /dev/ttyUSB0 -c stk500 -b 19200 -vvvv
         avrdude: Version 5.3.1, compiled on Jan 13 2007 at 22:28:39
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "/usr/local/etc/avrdude.conf"
         User configuration file is "/home/jakob/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port            : /dev/ttyUSB0
         Using Programmer      : stk500
         Overriding Baud Rate  : 19200
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: Send: 0 [30]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
avrdude: Send: Q [51]   [20]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

As I said, I tried AVR-Studio too. It seems it retries to (re-)send the init sequence of 0x30 0x20 a couple of times, but does get no answer either.
I can even manually send some bytes to it, no response.
(The easiest way is something like echo "0" > /dev/ttyUSB0)

Any comments? Due to the fact more people have the same problem with the arduino-ng, could it possibly be a hardware or design issue?

BTW: I got my arduino-ng from Smart Projects.
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Programmer is not responding (correctly) on: January 15, 2007, 02:38:36 pm
[Edit:]

I moved my post to http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1168940083
Pages: [1]