"Programmer is not responding" error only in linux [SOLVED]

I built my own micro board based using the Atmega8. I successfully uploaded the bootloader onto it and can program it no problem in the arduino IDE in windows vista, both using "Arduino NG or older w/ Atmega8" as my board setting.

However I cannot program it in linux using either arudino 0021 or 0022. I get the "avrdude: stk500_recv(): programmer is not responding" error in both. When uploading to the board the LED to indicate receiving data from the USB port blinks 3 times, and the sending light does nothing.

I based my board off the arduino duemilanove using the FTDI chip and auto resetting circuit to reset the micro when programming over USB. The board auto-resets correctly in windows, but it seems to be causing the problem in linux. If I have a program running on the board when I open the arduino IDE the program stops running, and the reset button doesn't restart it.

If it helps, heres a schematic of my board: http://i.imgur.com/wg9vf.png

Any ideas what the problem is, and what I should do to fix it?

This sounds like a permissions issue.

If you were to try and access the board from the command line with avrdude what happens?

First see if it works from the command line. If that fails add 'sudo' to the beginning of the command.

If that works you'll need to add a rules file to your system.

See here (in the Linux section) for more details:

http://www.ladyada.net/make/usbtinyisp/avrdude.html

You'll need to replace the VID and PID with that of your programmer.

I had to do this to get my USBASP programmer to work from the IDE on my Ubuntu workstation.

I suspect that on linux RTS might be pulled LOW and permanently resets the board. In my designs I only used the DTR line and it works on windows and linux the same as far as I can tell. Maybe remove the resistor on the RTS line.

BTW: http://i.imgur.com/wg9vf.jpg

madworm: I suspect that on linux RTS might be pulled LOW and permanently resets the board. In my designs I only used the DTR line and it works on windows and linux the same as far as I can tell. Maybe remove the resistor on the RTS line.

Looking at it now, I'm pretty sure you're right. The schematic for the duemilanove has a resistor there, but on the actual board there isn't one, and I have no issue programming the duemilanove in linux. When I get a chance I'll take out that resistor and report back.

I took out that resistor and the problem went away! Thanks for the help!