Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

aocl program fails with error code -2

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.