I've been working on a project where I've converted an existing circuit design from PTH to SMD. In the process of doing this, I've ended up adding a ICSP header to the board as I am no longer able to remove my microcontroller to program it using an Arduino board.
My intention was to program the board using the 'Upload With Programmer' option in the IDE. The first thing I did was user AVRDude to make sure that everything was working properly, when I test the board I get this message:
avrdude: AVR device initialized and ready to accept instructions
Great I thought, the board is alive! However now it comes to programming the thing and I feel I'm in over my head. My board has a debug light on pin 1 so I have tried to upload a simple sketch just to get that to flash but I'm getting nothing. Do I need to do anything else to the microcontroller before I can use the 'Upload With Programmer' option? Should I be setting anything in AVRStudio first?
I've been using the 168 Pro Mini setting when doing these experiments and it doesn't seem to error out (when looking through the verbose logs). I've also tried uploading the bootloader which seems to work too. Should I be editing the boards.txt file to suit this microcontroller?
(Let me know if you need any further details to help me out :))