Altera_Forum
Honored Contributor
11 years agoDE5 Acceleration Board Driver Issue After Update
I recently installed DE5net board from Terasic, which worked fine until I installed Quartus/AOCL SDK update 3 and 4. After re-installing the driver using "aocl install" command, the board will not pass diagnostic.
Here is the error under Linux: running diagnostic for : acl0 driver version: 13.1. expected version starting with: 13.1.4 using platform: altera sdk for opencl failed clgetdeviceids. error code: -1 aocl diagnostic: failed. And error under Windows: running doagnostic for : ac10 expected mmd version: v13.1 received mmd version: v13.1.4 assertion failded: 0 && "buf mismatch", file acl_hal_mmd.c, line 250" this application has requested the runtime to terminate it in an unusual way. please contact the application's support team for more information. aocl diagnostic: failed. I can still flash or program the board with .aocx files compiled with any version of Quartus just fine, but host programs no-longer works (clgetdeviceids returns -1 ), even after I flashed it with an .aocx file compiled with the updated version of Quartus. Only reverting to the 13.1.0.162 version of Quartus/AOCL SDK will fix the issue. After contacting the author of the Linux version of the driver, he kindly provided me with a solution: simply change the version number in the version.h file of the driver source code to 13.1.4 and recompile the driver. This worked perfectly for my Linux setup and I am now able to use DE5 board with updated version of Quartus/AOCL SDK. This fix however, does not seem to work under Windows since the Windows driver is close sourced. I am just wondering if anyone knows if there is a fix for Windows as well, or if Altera/Terasic plans to release an updated version of driver for DE5 board in the future. Thanks! Ryan