Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12602 Discussions

alt_timestamp_start() return -1

Altera_Forum
Honored Contributor II
1,899 Views

hi 

i build nios system with timer and set the bsp (timestamp,timer) 

compile is ok 

but when i run the alt_timestamp_start() get -1 

and alt_timestamp() also return -1 

 

!! the nticks() work good 

 

i read post from 2005 

""I can't see it clearly, but I think you set both your sys_clk_timer and timestamp_timer to be timer0? Can you disable the sys_clk_timer instead? Also remember to press the generate button."" 

i was do this mistake too should i fix this ?? 

 

i fix that ""sys_clk_timer and timestamp_timer can not be timer0?"" i disable the sys_clk_timer on the bsp editor  

 

tzahi
0 Kudos
2 Replies
Balle2
Beginner
788 Views

""I can't see it clearly, but I think you set both your sys_clk_timer and timestamp_timer to be timer0? Can you disable the sys_clk_timer instead? Also remember to press the generate button."" 

https://popcorntimeapk.org/

https://snaptube-downloadapp.com/

0 Kudos
dsmirnov
New Contributor I
788 Views
0 Kudos
Reply