Forum Discussion

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

Cyclone V SOC kernel PLL error

Hello All

I am trying to execute kernel on Cyclone V SOC board. Host program and kernel are compiled ok

The kernel uses about 87% usage of the resource. But I am getting a PLL error after program FPGA.

Can you please give me some indications.

Error messages are below:

root@socfpga:~# export ALTERAOCLSDKROOT=/home/root/opencl_arm32_rte

root@socfpga:~# export AOCL_BOARD_PACKAGE_ROOT=$ALTERAOCLSDKROOT/board/c5soc

root@socfpga:~# export PATH=$ALTERAOCLSDKROOT/bin:$PATH

root@socfpga:~# export LD_LIBRARY_PATH=$ALTERAOCLSDKROOT/host/arm32/lib:$LD_ARY_PATH

root@socfpga:~# insmod $AOCL_BOARD_PACKAGE_ROOT/driver/aclsoc_drv.ko

root@socfpga:~/james# aocl program /dev/acl0 deformation.aocx

aocl program: Running reprogram from /home/root/opencl_arm32_rte/board/c5soc/arm32/bin

Reprogramming was successful!

root@socfpga:~/james# aocl diagnose

aocl diagnose: Running diagnostic from /home/root/opencl_arm32_rte/board/c5soc/arm32/bin

Verified that the kernel mode driver is installed on the host machine.

PLL Error: Read invalid pll setting for 196.608000 MHz. Make sure read access too acl_kernel_clk is functioning and the post-quartus-script succeeded

acl_hal_mmd.c:215:assert failure: Failed to read PLL configdiagnostic: acl_hal_mmd.c:215: l_try_device: Assertion `0' failed.

aocl diagnose: failed.

root@socfpga:~/james#

Thanks

3 Replies

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

    What version of the SDK are you using on your development PC and on your SoC (which has just the RTE)? Type "aocl version" on both.

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

    --- Quote Start ---

    What version of the SDK are you using on your development PC and on your SoC (which has just the RTE)? Type "aocl version" on both.

    --- Quote End ---

    Hello pnac

    Thanks a lot for your reply. The aocl version on my PC is 14.1 and on SOC is 14.0

    I think that is the reason causing it. I will give it another try later today,

    Will update the thread once I can confirm it

    Thanks again!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    What version of the SDK are you using on your development PC and on your SoC (which has just the RTE)? Type "aocl version" on both.

    --- Quote End ---

    It works after the version is matched. Thanks pnac