Altera_Forum
Honored Contributor
9 years agoQsys, How do you determine the Address for an Avalon-MM Block?
Ok, so I've managed to compile my SoC block with Qsys, I had some prior error but it was due to not setting the TOP module correctly.
Now it's compiled and I even managed to add some LEDs signals to confirm this when uploading the .sof to the FPGA. But the problem comes when I try to access the block I created I get some kernel panic messages from ttyS1. I run the program with a remote debugger through ssh, and everything is fine, the open("/dev/mem") and the mmap(...), until I write to the returned pointer. So all I can guess is that I'm writing to the wrong address. Can somebody point to the right direction on how to this correctly? ______________________________________________ The problem was that I wasn't using the headers provided by the EDS and defined the wrong starting address for the light-weight H2F bus.