I am programming a atmel ATMEGA644A, he is connected to à pcf2127 (RTC) on a board.
I use atmelstudio6 to send my C programms to the microcontrollers.
I am at the end of my project, this card is suppose to control LED eclairement through day.
All I need is that atmel studio get time from computer with time.h library (localtime fonction) and send it to the microcontroller to set my rtc's date and hours.
He must send it through my USB to JTAG connexion.
Can i do a C programm who run permanently, and store the clock time in a file that atmel can reach ? Does atmel do such things ? Like real time programming juste before sending my clock data ?
Thank you for your response. I am a bit lost in that pc/microcontrollers link.