Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17267 Discussions

aocl program fails with error code -2

Altera_Forum
Honored Contributor II
1,929 Views

Hi 

I am trying to get OpenVino working with Intel FPGA. In one of the steps listed in https://software.intel.com/en-us/articles/openvino-install-linux-fpga. I am supposed to run following command. I have complete Quartus download version 17.1. 

 

aocl program acl0 ~/A10_bitstreams/0-8-1_rc_fp11_16x32_arch17.aocx 

 

I get following error when i do that 

aocl program: Running program from /home/iotg-dev70/intelFPGA_pro/17.1/hld/board/a10_ref//linux64/libexec 

Programming device: a10gx : Arria 10 Reference Platform (acla10_ref0) 

Reprogramming device [0] with handle 1 

mmd program_device: Board reprogram failed 

OpenCL Notification Callback: Reprogram of device failed 

Failed clCreateProgramWithBinary. 

Error code: -2 

aocl program: Program failed. 

 

Thanks 

Yatish
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
1,157 Views

Have you set up your board correctly and made sure that the diagnose test passes?

0 Kudos
Altera_Forum
Honored Contributor II
1,157 Views

I think the issue was 0-8-1_rc_fp11_16x32_arch17.aocx is for Arria 10 accelerator card and i am using arria 10 gx dev kit. It works fine with arria 10 gx dev kit binary.

0 Kudos
Reply