Go Down

Topic: Programmer is not responding (Read 44 times) previous topic - next topic

robbert

Hopefully people won't mind that I've responded to an old thread but I am experiencing the same problem as described many times above.

I bought an Arduino Mega a few weeks ago (my first Arduino) and spent a day playing with it, writing and compiling sketches with no problems. I put it away and when I wanted to continue my exploration a week later, the board didn't work anymore.

Uploading of compiled sketches is failing with the following error:
avrdude: stk500_recv(): programmer is not responding

When I give the upload command the ftdi activity is as follows:
txLed__txLed__txLed___________________txLed____________fail

From what I remember my last working sketch involved some serial test output but if I connect my board to my pc, the serial monitor doesn't show any output. The board also doesn't seem to respond to the reset button (S1 right?) or to connecting the reset pin to ground.

From reading the posts in this thread it seems there are usually two main causes for this error, a malfunctioning FTDI chip or a bootloader problem.

Can anyone tell me what my problem is likely to be and what could have led to the problem? What options are there to revive my board?

Sadly the Mega has a soldered AVR which means replacing the chip is out of the question.

Thanks.

dishbreak

Hey, just adding my info.

Running Ubuntu 9.10:
Code: [Select]

hvishal@dish-desk:~$ uname -a
Linux dish-desk 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
vishal@dish-desk:~$ lsusb
Bus 007 Device 002: ...
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ...
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[b]Bus 003 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
[/b]Bus 003 Device 002: ...
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


The first few times I tried running the code, it didn't work and I was afraid I'd gotten a bad board. The first few times, only /dev/ttyS0 was available. However, /dev/ttyUSB0 came available once inexplicably, and that did the trick.

Ujwal Shrestha

Hello everyone,
I was too having same kinda of problem for some hours back.
Recently, I figured the problem with the circuit. The problem was with RX and TX communication and resetting the Atmega chip. The RX and TX communication can be re-estabilished with RTS and DTR pin by a resistor. Later the connection can be given to reset pin of the atmega chip with a capacitor. I've attached the arduino duemilanove circuit with the correction. It works fine for me, hope same for you as well.
here is the link for the picture of the modified circuit that works.

hxxp://ujwal.shrestha.me/avrdude-stk500_recv-programmer-is-not-responding/

thexeno

it's only the incompatibility of avrdude with the ubuntu... like 10.04.. but I don't know exactly how to do..

wam

#94
Oct 29, 2010, 05:30 pm Last Edit: Oct 29, 2010, 05:31 pm by ajawamnet Reason: 1
OK, here's what I had to do to get the UNO to program using an AVRISPMKII to work with 0021 either to load sketches or load the boot loader:

1. uninstall anything related to AVR studio, this includes AVRTools, AVR studio (latest 4.18 SP3) and Jungo using Win Xp's Add Remove programs
2. open windows Device Manager (or as I call it "mangler")
3. Go to the Jungo entry and Uninstall both entries
4. reboot/ log off Windows seems to work
5. Set preferences.txt to avrispmkii  - see http://arduino.cc/en/Hacking/Programmer
6. Connect the AVRISPMKII
7. When Winblows asks the New Hardware found do a manual install and point to the avrisp2.inf in the [where ever you have Arduino installed]\hardware\tools\avr\utils\libusb\bin subdirectory
8. let it load that.
9. open Arduino

This should work to upload sketches and bootloader from arduino's IDE...

Go Up