Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Hi, The Nallatech factory flash configuration can be reloaded to the PCIe-385N for Altera OpenCL 13.1 with the appropriate flash file below by running the "aocl flash pcie385n_a7_factory.aocx" command (or "aocl flash pcie385n_d5_factory.aocx"). G --- Quote End --- Hi gigi, Thanks for the package. Is this the default hardware image burnt into the flash, just want to make sure. I was trying to figure out a problem. I downloaded Hello_Wolrd sample code package for 13.1 for Altera Web. I burnt the hello_world_131_pcie385n_a7.aocx they provide and powered off my computer and restarted. When I run ./hello_world after run make -f makefile. It failed.
fpga is in user mode. enabling bridges
querying platform for info:
==========================
cl_platform_name = altera sdk for opencl
cl_platform_vendor = altera corporation
cl_platform_version = opencl 1.0 altera sdk for opencl, version 13.1
error: cl_device_not_found
location: ../common/src/aocl_utils.cpp:355
query for number of devices failed Also, same case if I burnt hello_world.aocx I compiled by myself. More hint. When I run aocl diagnostic aocl diagnostic: running diagnostic from /home/jisuansuogcb/altera/13.1/hld/board/pcie385n/linux64/bin
running diagnostic for : acl0
fpga is in user mode. enabling bridges
using platform: altera sdk for opencl
failed clgetdeviceids.
error code: -1
aocl diagnostic: failed.
But when I run aocl install, it is done. aocl install: running install from /home/jisuansuogcb/altera/13.1/hld/board/pcie385n/linux64/bin
using kernel source files from /usr/src/kernels/2.6.18-274.el5xen-x86_64
make: entering directory `/usr/src/kernels/2.6.18-274.el5-xen-x86_64'
building modules, stage 2.
modpost
make: leaving directory `/usr/src/kernels/2.6.18-274.el5-xen-x86_64'
It seems like some problem with PCIe. But aocl diagnostic was successful before I burnt aocx into flash. So I am afraid if I ruint PCIe drivers in ROM and am thinking about burnt the default hardware image back. Thank!!