Forum Discussion
Altera_Forum
Honored Contributor
12 years agoAfter your reply and some work around this issue I realized I was having a two-fold problem.
The driver, if load through modprobe does not work as intended. Also, through aocl install it is also rubbish. However, it works if compiled through the make_all script and aocl diagnostic tests with success if the driver is loaded through aclpci_load. I tried this multiple times until it finally worked for some reason. When you say you use a prebuilt image, you just need to flash the FPGA once and then you can run whatever you want through the host application? I'll explain. I flashed my FPGA with the movingAverage.aocx, it took quite a while, I did a reboot, loaded the pci driver and now I want to run myDesign.aocx. I can just run the myDesignHostApplication which reads the myDesign.aocx, and creates and builds the program through a binary using clCreateProgramWithBinary and clBuildProgram? Is this a correct procedure? I took it from the main.cpp included in the movingAverage example. Thank you