[XRT] ERROR: xclRegRW: can't map CU: - when trying to access to read/write register inside the fpga

0

Hi,

Using xrt application and trying to access to read/write register and got this error: [XRT] ERROR: xclRegRW: can't map CU:

My xrt.ini contains this content: [Debug] profile=true [Runtime] rw_shared=true runtime_log=console

and inside the my code I used those commands:

/ Read clock count from clk_cnt* registers and unite into 64-bit value // There is issue with [XRT] error : xclRegRW: can't map CU: clock count is 0

xclOpenContext(handle, xclbinId, cuidx, false); xclRegRead(handle, cuidx, clk_cnt_lsb_offset, &clk_cnt_lsb); xclCloseContext(handle, xclbinId, cuidx); xclOpenContext(handle, xclbinId, cuidx, false); xclRegRead(handle, cuidx, clk_cnt_msb_offset, &clk_cnt_msb); xclCloseContext(handle, xclbinId, cuidx); long int clock_count = ((long int)clk_cnt_msb << 32) | (long int)clk_cnt_lsb; std::cout << std::endl << "Clock count is: " << clock_count << std::endl;

  • Hi, you might want to add the FPGA Development tag to this question.

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠