[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [partial-reconfig] SYSACE problems on ML402
Hi,
this is the solution I found to properly open and read bitstream from Compact Flash:
In Xilinx Platform Studio, I go to my software application project and then on "Set Compiler Options...". On the "Environment" tab I select "Use Default Linker Script" and put 0x50 in "Program Start Address" and 4096 in "Stack Size". Using these options the system can read from Compact Flash every type of file. I copied them from a reference project found on Xilinx website (ml402_emb_ref_81).
Regards
Paolo Furia
2008/11/27, Lu Yi <yilu@xxxxxxxxxxxxxxxxxxxxx>:
> Hello,
>
> Yes, my test program can use sysace_open() open bitstream from CF card,
> but
> bitstream can't be read by system_fread().
>
You should firstly build your system and run the flash memory self test
application(EDK will create automatically) to make sure the system works,
after that, you can modify the system to the sub-module for the partial
reconfiguration system.
> my test program's sysace_fread() return is -1
>
> P.S.I use EDK 9.1.02i, ISE 9.1i, PlanAhead 9.1.02i_PR2.
>
> Thanks for your help.
>
> Best Regards,
> Shih-Shen
>
> 2008/11/27 Lu Yi <yilu@xxxxxxxxxxxxxxxxxxxxx>
>
>> > Hello,
>> >
>> > I have already traced the XHwIcap_CF2Icap() code. I can't use
>> > system_fread()
>> > to read my bitstream, but I can directly use IMACT to download full
>> > bitstream and partial bitstream, then it works.
>> >
>>
>> Do you mean the bitstream can not be loaded(or found) from flash by
>> using
>> sysace_fread()?
>>
>> > Can you find what the problem is?
>> >
>> > Thanks for your help!
>> >
>> > Best Regards,
>> > Shin-Shen
>> >
>> > 2008/11/26 Lu Yi <yilu@xxxxxxxxxxxxxxxxxxxxx>
>> >
>> >> > Hello,
>> >> >
>> >> > Another question, dose the sysace_fread() has relation with ICAP?
>> >> > I use HWICAP 1.00.b, dirver 1.00c
>> >> >
>> >>
>> >> No, sysace_fread() only load bitstream from flash to the buffer you
>> >> point
>> >> to. Checke the codes of XHwIcap_CF2Icap(), you will know how the
>> process
>> >> works.
>> >>
>> >> > Thanks for your help.
>> >> >
>> >> > Best Regards,
>> >> > Shih-Shen
>> >> >
>> >> > 2008/11/26 Lu Yi <yilu@xxxxxxxxxxxxxxxxxxxxx>
>> >> >
>> >> >> Hello,
>> >> >>
>> >> >> As far as I know, at least the ICAP module 1.00.b and drive 1.00.c
>> >> works
>> >> >> for V4 board when you use the sysace_fread().
>> >> >> check the follwing link and database of Sept.
>> >> >>
>> >> >>
>> >>
>> http://www.itee.uq.edu.au/~listarch/partial-reconfig/archive/2008/09/msg00006.html<http://www.itee.uq.edu.au/%7Elistarch/partial-reconfig/archive/2008/09/msg00006.html>
>> <
>> http://www.itee.uq.edu.au/%7Elistarch/partial-reconfig/archive/2008/09/msg00006.html
>> >
>> >> <
>> >>
>> http://www.itee.uq.edu.au/%7Elistarch/partial-reconfig/archive/2008/09/msg00006.html
>> >> >
>> >> >>
>> >> >> regards,
>> >> >> luyi
>> >> >> > Hello,
>> >> >> >
>> >> >> > Can I ask a question? Can you use sysace_fread() to read your
>> >> >> bitstream
>> >> >> ?
>> >> >> > I meet the same problem that sysace_fread() dosen't work. I do
>> not
>> >> >> make
>> >> >> > sure
>> >> >> > that I use ICAP_X0Y1, but I run the ICAP example that show the
>> same
>> >> >> output
>> >> >> > with yours.
>> >> >> > These are the result of the test:
>> >> >> >
>> >> >>
>> >>
>> --------------------------------------------------------------------------
>> >> >> > Status: 447
>> >> >> > HWICAP Status Register:
>> >> >> > cfgerr_n: 1
>> >> >> > dalign: 1
>> >> >> > rip: 0
>> >> >> > in_abort_n: 1
>> >> >> > Always 1: 1
>> >> >> > Always 1: 1
>> >> >> > Always 1: 1
>> >> >> > Always 1: 1
>> >> >> > Done: 1
>> >> >> > -- Reading Device IDCODE through ICAP:
>> >> >> > Creating cmd bitstream...
>> >> >> > Sending cmd bitstream to ICAP...
>> >> >> > Reading from ICAP...
>> >> >> > Device IDCODE is: 9321EB40
>> >> >> > -- Reading Device IDCODE through ICAP:
>> >> >> > Creating cmd bitstream...
>> >> >> > Sending cmd bitstream to ICAP...
>> >> >> > Reading from ICAP...
>> >> >> > Device IDCODE is: 9321EB40
>> >>
>> >>
>> >>
>> >
>>
>> ___________________________
>> partial-reconfig mailing list
>> partial-reconfig@xxxxxxxxxxxxxx
>> Mailing List Archive :
>> http://www.itee.uq.edu.au/~listarch/partial-reconfig/<http://www.itee.uq.edu.au/%7Elistarch/partial-reconfig/>
>>
>
___________________________
partial-reconfig mailing list
partial-reconfig@xxxxxxxxxxxxxx
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/partial-reconfig/