Forum Discussion
Altera_Forum
Honored Contributor
16 years agoNeed an information
Hello everyone, I need to fetch the current time when I use Nios II IDE (v.9.1). Can anyone write me the syntax in C language. I tried one but it does nothing. Thanks to all for your time...
Altera_Forum
Honored Contributor
16 years agoSo you don't have any network connection, which will make it difficult to use NTP.
You can either type the time yourself at boot time by having your NIOS application asking it on the JTAG uart, or create your own protocol, with a small software on your PC that would send automatically the time to your NIOS application, either through the Uart or by using the console tools. The first solution is the easiest to implement.