Forum Discussion
Altera_Forum
Honored Contributor
20 years agonp_timersnapl doesn't change
Hi Friends! I use the following program: #include <stdio.h># include "nios2_system.h"
int main (int argc, char* argv)
{
np_timer* timer0=((np_timer*) na_high_res_timer);
float r=0;
...
Altera_Forum
Honored Contributor
20 years agoHi Lothar,
> What could be the reason? Here are some possibilities: 1. The pointer is not correct (old/invalid header). 2. "Readable snapshot" is not enabled. 3. You have a data cache and the registers are never actually accessed. Regards, --Scott