I have a working Hydra.
I installed the crystal for the RTC and connected a battery to the RTC.
I do know that 1.2v is on D1. I have no way to tell if the crystal is working.
The following code is in the ProgramStarted method:
DateTime dt = DateTime.Now;
if(dt.Year < 2012)
{
dt = new DateTime(2013, 11, 15, 17, 0, 0);
Utility.SetLocalTime(dt); //Debug.Print("Set new date/time: " + dt.ToString());
}
I remove the main power from the board and then power up and the date & time I set is gone.
First off, my reading of our extensions to NETMF show that the functions you need to access are part of our Premium extensions, which only come with Premium extended boards. Hydra is OSHW extensions. Some documents that will probably help your understanding:
@ Brett - Document updated! I still rely pretty heavily on our own documentation when trying to answer Forum questions; so, as you can imagine, I’m particularly frustrated when they (and consequently me) are wrong ! That’s why Gus puts me on documentation – the experienced guys don’t use the docs so they don’t find the mistakes!!
Thanks for the help, information has been very useful.
Now I have connected a battery (3.3 v) between pin 5 (VBAT) and pin 10 (GND) socket 1, but does not work, the mainboard does not respond, remove the battery and returns to normal operation.