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++

writing to register

Altera_Forum
Honored Contributor II
1,045 Views

Why doesn't this work? 

 

//from system.h:  

USER_LOGIC_REGISTER_BASE 0x00920850 

 

//my code:  

 

IOWR(USER_LOGIC_REGISTER_BASE, 0, 0x00 ) 

reg = IORD(USER_LOGIC_REGISTER_BASE,0)  

 

Can anyone tell me what I'm doing wrong? 

 

Thanks.  

 

Newbie
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
343 Views

what are you reading back?

0 Kudos
Reply