… but it doesn’t work well and I don’t know why. It starts with the green led (idle) … I push the start button … and it turns inmediately to red (problem). It only stays yellow (working) while I’m pressing the start button.
I’ve tested all the conections in the prototyping board and the are no short-circuit. The conections are like in the schematic.
Based on those errors you’re seeing, the target AVR isn’t responding.
Ensure that the MISO/MOSI/CLK/RESET pins are connected according to the schematic.
Make sure the chip isn’t plugged in backwards - that happens to me alot.
After checking those, I’d recommend removing the shield you made, removing the avr from it and testing the contacts between the chip socket pins and the wires (other pins) that plug into the arduino. (there could be a bad trace, maybe?)
Clearly though, the start button and LEDs are working, so it must be either a typo in the software (or a different Arduino IDE version) or a wire connection issue. I wrote the code with arduino 0005 for windows.