Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20778 Discussions

Cyclone V Memory Map Hardware Base and Register addresses

Altera_Forum
Honored Contributor II
1,210 Views

Hi all, 

 

I'm working with a board that has a Cyclone V SoC 5CSXFC6D6F31 on it but can't seem to find the memory map for the Base or Register addresses to read or write to devices. 

 

The SoC has a dual core Cortex A9 but I'm still not sure how to figure out the memory map to access internal and external hardware. 

 

I searched through the hwlib for bare metal programming, but don't think it corresponds to specific parts. 

 

Would anyone happen to know how to view the hardware addresses for the individual components like SDRAM, Flash, VGA, HDMI, Framebuffer, USB, SPI etc? 

 

The company who made the board didn't include a board specific library so I have no way to program their board, and need the physical memory addresses of the hardware. 

 

Also, I can't get Quartus II or DS-5 to see this board, so I'm going to have to program this board in Atmel Studio which can create binaries for Cortex M series, but the executables should be interchangeable. 

 

It's difficult, but I might have to make a binary compiler just to get this board working. 

 

Thanks
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
352 Views

Hi, 

 

you could have a look at [1] and [2] for further details of the address-mapping. 

For external hardware the addressed depend on the concrete implementation (HPS-Interface or FPGA-Bridge)... 

 

I hope this is what you expected?! 

 

[1] http://wl.altera.com/literature/hb/cyclone-v/hps.html 

[2] http://www.rocketboards.org/
0 Kudos
Altera_Forum
Honored Contributor II
352 Views

Thank you for your help Taz, the HPS memory map should be the same for all Cyclone V's. 

 

Looks like the registers are in the documentation too along with how to write to them.
0 Kudos
Reply