I am using an ATmega1284P, “Mighty1284P 8MHz board” and programmer "USBtinyISP. (AVR pocket programmer)
I get a lot of errors trying to upload and have to do it several times before the program is uploaded.
I have used the AVRISP mkii via AVR studio, but this is a bit of a pain to change programs and look for the current file.
Is there a “setting” some were to make the USBtinyISP a bit more robust…
I can only use “file”, “Upload using programmer”, (Ctrl+Shft+U), when I try from the main screen “upload” it errors and displays error:
processing.app.SerialNotFoundException: Serial port ‘COM3’ not found. Did you select the right one from the Tools > Serial Port menu?
But it will upload via “file”, “Upload using programmer”, (Ctrl+Shft+U)
I have also found a neat RTC software from AVR (App AVR134), but I can not get it to work as an Arduino sketch…
Please see attached.
Could some one see if they can transpose the code to C++ or for Ardunio
Or if they have a similar sketch.
I would prefer not to use a RTC chip as I am VERY short on PCB real estate
Avr134.zip (59.6 KB)