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

The L4 Watchdog Module Address Map is not exact in the hps.h

Altera_Forum
Honored Contributor II
1,132 Views

Hello, 

I would like to use header in my application using Altera Cyclone V. 

In the Cyclone V Hard Processor System Technical Reference Manual I can find this information about the Watchdog: 

L4 Watchdog Module Address Map 

Registers in the L4 Watchdog module 

Module Instance Base Address 

l4wd0 0xFFD02000 

l4wd1 0xFFD03000 

But in the following header file the address does not correspond: 

7 816:# define ALT_L4WD0_OFST 0xffd00200  

7 859:# define ALT_L4WD1_OFST 0xffd00300  

Is that the good header file? 

What can I do? 

Thanks for your help 

Jerome
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
411 Views

Hi, 

 

I'm not sure why you are seeing different values, but It should be like 

@6546:# define ALT_L4WD0_OFST 0xffd02000 @6589:# define ALT_L4WD1_OFST 0xffd03000  

I have checked the file from the "Quartus installation directory\ip\FreeRTOSv10.0.1\FreeRTOS\Demo\CORTEX_A9_Cyclone_V_SoC_DK\Altera_Code\HardwareLibrary\include\socal\hps.h" 

If you are facing the same issue try reinstalling Quartus. 

 

Let me know if you need any further assistance. 

 

Best Regards, 

Anand Raj Shankar 

(This message was posted on behalf of Intel Corporation)
0 Kudos
Altera_Forum
Honored Contributor II
411 Views

Hi, 

Thanks for your reply. 

I don’t use the same directory; the hps file is in that directory: 

C:\intelFPGA_pro\18.0\embedded\ip\altera\hps\altera_hps\hwlib\include\soca10\hps.h 

I cannot find your directory, can you give me a link to install Quartus free including the freeRTOS directory? 

Thanks for your help. 

Jerome
0 Kudos
Reply