|
Hi everyone:
Just ignore my previous question. I was quite dumb yesterday.
Kehuai Wu, kw@imm.dtu.dk Department of Informatics and Mathematical Modelling DK-2800 Kgs. Phone: +45 4525 3728 Fax: +45 4593 0074
-----Original
Message-----
Hi everyone:
I’m testing ICAP and HWICAP at the moment. I made an extremely simple program attached with this mail in EDK 6.3. It does some simple operation with the HWICAP API. So far I’m having some problems, so, a little suggestion is definitely welcome.
For now, the initialization (XHwIcap_Initialize), register value fetching (XHwIcap_GetConfigReg) and desynchronization (XHwIcap_CommandDesync) works as expected, but every time I write partial bitstream into ICAP, the microblaze stops running. It appears those programs after reconfiguration can not be reached.
My system has a microblaze running at the extreme right of the chip, and a reconfigurable part at extremely left. After microblaze stops running, I can reset the microblaze and repeat the error. This means that the icap does not modify anything at microblaze’s side, which is ok. I’ve tested the partial bitstream with jtag downloading, and it works perfectly.
The partial bitstream is difference based, and is generated by bitgen –r. It basically has the following parts:
11 control words 212 configuration words for the only frame need to be modified. 3 control words 106 NOOP 4 control words 3 NOOP.
It is slightly different from ug002, even if it is generated from bitgen. I changed CRC to default, because I removed some trash from bit files.
I don’t know if anyone can help me on this. I cannot find any demo programs with HWICAP API, so it is possible that I just made small programming errors.
Kehuai Wu, kw@imm.dtu.dk Department of Informatics and Mathematical Modelling DK-2800 Kgs. Phone: +45 4525 3728 Fax: +45 4593 0074
|