...Pin 15: MOSIPin 16: MISOPin 17: SCKPin 29: RESET (connected to RESET header pin and then via a 10k resistor to +5V)Pin 30: RXDPin 31: TXDI've checked all the pins and outputs with a multimeter continuity check and everything appears fine, no dry joints or short circuits, all pin to pin resistances are as low as expected and resistor values correct.I have used the ArduinoISP file, optiloader (Bill Westfield) and an alternative version of ArduinoISP from Nick Gammon (http://www.gammon.com.au/forum/?id=11637) and they all install the bootloader fine (and Nick's program reads it back to confirm it's on so it definitely works with the MOSI/MISO).However, when I then try and program the MCU with a sketch using the Arduino IDE I get this error: avrdude: stk500_getsync(): not in sync: resp=0x00
...I then tried with a standalone USB to serial board (http://onecall.farnell.com/ftdi/mm232r/development-kit-usb-uart-module/dp/1146037), after loading the bootloader with the above system. I connected up the board to give a 5V output (confirmed with multimeter) and then connected the RTS pin from the serial board via a series 0.1uF capacitor to my reset pin, and the serial TXD and RXD to the MCU's RXD and TXD respectively (I also tried it the other way round on the off chance, it gave the same error).
dc42 you are my hero, after much faffing about I realised that what I thought was an error was actually it blinking back to me... it's been a long night!So I got it to work in the end by programming the Arduino with the ArduinoISP sketch, connecting up all the correct ICSP as before then putting the capacitor over the reset and then selecting programmer as Arduino as ISP, then doing what you suggested and just clicking on upload using programmer.I've tried it with a few different options and it works fine so this is the solution, using the program as it was intended still doesn't work but I don't care so long as I can program Thank you so much for taking the time to help an idiot in need, it is very much appreciated!If I knew where you lived i'd buy you a beer, you've just saved me hours of trying to learn avr studio, I can now get on with finishing the board!
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16