Forum Discussion

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

acl_hal_mmd.c assert failure

Hi people,

I'm still working on getting everything to run with version 14 of the tools.

I'm almost there, but at runtime, I get this:

FAILED to read auto-discovery string at byte 16: Expected version is 13, found 11

acl_hal_mmd.c:206:assert failure: Failed to initialize kernel interfaceAssertion failed: 0, file acl_hal_mmd.c, line 206

I did flash a 14.0 design on the board using aocx flash. I am also trying to run a 14.0 kernel. My path is as follows:

AOCL_BOARD_PACKAGE_ROOT=C:\Programs\altera\14.0\hld\board\nalla_pcie

ALTERAOCLSDKROOT=C:\programs\altera\14.0\hld

Do any of you have an idea what can be wrong?

3 Replies

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

    For 14.0, you can also try:

    aocl diagnose

    aocl program acl0 kernel.aocx
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Edit: I finally found out the problem. There was one kernel in the lot that wasn't right, I don't know why. I had tried aocl program on one kernel, but not all of them. Yet, on one, aocl would say that it can't read the .aocx file. I recompiled that kernel and everything is fine now.