hungalab / ficmgr

fic board CLI manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

binファイルの焼き込みに失敗しても成功と出てしまう

kensuke-iizuka opened this issue · comments

mk1 boardに対して、-pm sm16オプションを付けてコンフィギュレーションを行う.

$ sudo ./ficmgr.py -tfic01 -p fic_top.bin

ficwwwのlibficでは

DEBUG: Recived bytes:  35843364
DEBUG: Program FPGA...
Transfer 4381678 / 35843364 [12.22 %]
Transfer 9575642 / 35843364 [26.72 %]
Transfer 14757774 / 35843364 [41.17 %]
Transfer 19955650 / 35843364 [55.67 %]
Transfer 25135274 / 35843364 [70.13 %]
Transfer 30329610 / 35843364 [84.62 %]
Transfer 35509300 / 35843364 [99.07 %]
DEBUG: Waiting for RP_DONE
ERROR: FPGA configuration failed at ficlib2.c fic_prog_sm16 631

とエラーになっているが、ficmgrでは

INFO: Select FPGA configuration mode: sm16                                                  
INFO: Send FPGA configuration fic_top.bin to fic01                                          
INFO: Awaiting response from fic01... be patience ...                                       
INFO: FPGA configuration on fic01 is success

と出てしまう。
sm8にすると焼き込み、HLSのreset, startができる。

mark1とmark2のbit幅の違いを理解していなかっただけで自分の勘違いだったので閉じます。