Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Hi Yuxuan, if you run "aocl flash hello_world.aocx" (your design) after you have run "aocl flash pcie385n_a7_factory.aocx" your design will overwrite the factory image. As you have managed to regain access to your board when going back to the factory design it confirms your design is somehow wrong and that the board itself is working as expected. Maybe you compiled it for a D5 board instead of an A7? You do not need to update your flash if you are only using 13.1; you only need to update your flash if you are updating to 14.0. Thanks, G --- Quote End --- Thank you. It is not working. I think you are right there's problem with the design.aocx. But I am sure I am using A7 board since I can get information from JTAG and also your a7 factory image works for my board. When I burnt the flash with the design, it failed. But after that, I flashed back to factory image and ran $./hello world...it showed : ./hello_world 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 querying device for info: ======================== cl_device_name = pcie385n_a7 : pcie-385n altera stratix v computing card cl_device_vendor = nallatech inc. cl_device_vendor_id = 4466 cl_device_version = opencl 1.0 altera sdk for opencl, version 13.1 cl_driver_version = 13.1 cl_device_address_bits = 64 cl_device_available = true cl_device_endian_little = true cl_device_global_mem_cache_size = 32768 cl_device_global_mem_cacheline_size = 0 cl_device_global_mem_size = 4294967296 cl_device_image_support = false cl_device_local_mem_size = 16384 cl_device_max_clock_frequency = 1000 cl_device_max_compute_units = 1 cl_device_max_constant_args = 8 cl_device_max_constant_buffer_size = 1073741824 cl_device_max_work_item_dimensions = 3 cl_device_max_work_item_dimensions = 1024 cl_device_min_data_type_align_size = 128 cl_device_preferred_vector_width_char = 4 cl_device_preferred_vector_width_short = 2 cl_device_preferred_vector_width_int = 1 cl_device_preferred_vector_width_long = 1 cl_device_preferred_vector_width_float = 1 cl_device_preferred_vector_width_double = 0 command queue out of order? = false command queue profiling enabled? = true using aocx: hello_world_131_pcie385n_a7.aocx cvp failed cvp failed kernel initialization is complete. launching the kernel... thread# 2: hello from altera's opencl compiler! CvP failed, but *hello world* is printed. How can I interpret this? Thanks so much. yuxuan