Forum Discussion
SGlow
Occasional Contributor
4 years agoTrouble enabling HPC to FPGA bridge on Cyclone V SoC
I'm working on a bare metal application on a Cyclone V SoC (5CSEBA6U23I7NDK).
Things are going reasonably well, I have the u-boot SPL booting from eMMC on power-up and it's loading my application....
- 4 years ago
OK, after many hours of head scratching I think I found my problem.
To use the HPS->FPGA slave you need to set bit 3 of the remap register located at address 0xFF800000. To use the lightweight bridge you need to set bit 4 of this register.
Seems to be working now!
S
sstrell
Super Contributor
4 years agoAssuming you're using HWLibs, did you issue alt_bridge_init?
SGlow
Occasional Contributor
4 years agoThanks for the response. I'm not actually using the hwlibs, but did read through the code for alt_bridge_init and I think I'm doing everything that it does (which isn't really much other then take the bridge out of reset). I'll keep looking.