From: Claude Sylvain on
Hello all,

In a project, I use a Spartan-3 XC3S400 FPGA from Xilinx.

The design use a Microblaze CPU instantiated in the FPGA.

I use the Digilent Spartan-3 starter kit for prototyping. Note that the
original XC3S200 FPGA has been removed, and replaced by a XC3S400 FPGA.

I want to erase/program the platform FLASH PROM installed in this board (the
XCF02S IC) with a new FPGA configuration file, using the Microblaze CPU.

Xilinx application note xapp544 is a good starting point for doing this stuff.
But, there are some information that is missing to be able to achieve this
task. These informations are:

a) How long it take to program a PROM row (after the program row command
has been sent to the PROM) ?

b) What is the format a FPGA configuration file (.bit, .mcs, .hex), and
associated programmation algorithm to get the PROM programmed correctly ?


I was searching for more than 1 week about this information without finding
anything.
Is it possible that this information is confidential and can not be published ?


Claude Sylvain
Electro-Technica inc.





From: Marco T. on

"Claude Sylvain" <claudesylvain(a)sympatico.ca> wrote in message
news:NhsQf.5254$xM2.414382(a)news20.bellglobal.com...
> Hello all,
>
> In a project, I use a Spartan-3 XC3S400 FPGA from Xilinx.
>
> The design use a Microblaze CPU instantiated in the FPGA.
>
> I use the Digilent Spartan-3 starter kit for prototyping. Note that the
> original XC3S200 FPGA has been removed, and replaced by a XC3S400 FPGA.
>
> I want to erase/program the platform FLASH PROM installed in this board
> (the XCF02S IC) with a new FPGA configuration file, using the Microblaze
> CPU.
>
> Xilinx application note xapp544 is a good starting point for doing this
> stuff. But, there are some information that is missing to be able to
> achieve this task. These informations are:
>
> a) How long it take to program a PROM row (after the program row
> command has been sent to the PROM) ?
>
> b) What is the format a FPGA configuration file (.bit, .mcs, .hex), and
> associated programmation algorithm to get the PROM programmed correctly ?
>
>
> I was searching for more than 1 week about this information without
> finding anything.
> Is it possible that this information is confidential and can not be
> published ?
>
>
> Claude Sylvain
> Electro-Technica inc.
>
>
>

Have you already seen XAPP482?
It explains how to store configuration file and software application into
platform flash.

Marco


From: Antti Lukats on

"Claude Sylvain" <claudesylvain(a)sympatico.ca> schrieb im Newsbeitrag
news:NhsQf.5254$xM2.414382(a)news20.bellglobal.com...
> Hello all,
>
> In a project, I use a Spartan-3 XC3S400 FPGA from Xilinx.
>
> The design use a Microblaze CPU instantiated in the FPGA.
>
> I use the Digilent Spartan-3 starter kit for prototyping. Note that the
> original XC3S200 FPGA has been removed, and replaced by a XC3S400 FPGA.
>
> I want to erase/program the platform FLASH PROM installed in this board
> (the XCF02S IC) with a new FPGA configuration file, using the Microblaze
> CPU.
>
> Xilinx application note xapp544 is a good starting point for doing this
> stuff. But, there are some information that is missing to be able to
> achieve this task. These informations are:
>
> a) How long it take to program a PROM row (after the program row
> command has been sent to the PROM) ?
>
> b) What is the format a FPGA configuration file (.bit, .mcs, .hex), and
> associated programmation algorithm to get the PROM programmed correctly ?
>
>
> I was searching for more than 1 week about this information without
> finding anything.
> Is it possible that this information is confidential and can not be
> published ?
>
>
> Claude Sylvain
> Electro-Technica inc.
>

you are partially right :( the full programming specs of platform flash are
confidential and have never been made available.

however all the required info can be obtained by looking at BSDL files and
SVF files. So I have sucesfully created custom programming software that can
program platform flash directly from .BIT files

Antti







From: Claude Sylvain on
Yes, I seen it.

Unfortunatly, it do not include the information I want.
The way the information is stored inside the configuration file, so I can build
my own program to read and program the PROM.


Claude Sylvain
Electro-Technica inc.



"Marco T." <marc(a)blabla.com> wrote in message news:duu1gb$bfh$1(a)nnrp.ngi.it...
>
> "Claude Sylvain" <claudesylvain(a)sympatico.ca> wrote in message
> news:NhsQf.5254$xM2.414382(a)news20.bellglobal.com...
>> Hello all,
>>
>> In a project, I use a Spartan-3 XC3S400 FPGA from Xilinx.
>>
>> The design use a Microblaze CPU instantiated in the FPGA.
>>
>> I use the Digilent Spartan-3 starter kit for prototyping. Note that the
>> original XC3S200 FPGA has been removed, and replaced by a XC3S400 FPGA.
>>
>> I want to erase/program the platform FLASH PROM installed in this board (the
>> XCF02S IC) with a new FPGA configuration file, using the Microblaze CPU.
>>
>> Xilinx application note xapp544 is a good starting point for doing this
>> stuff. But, there are some information that is missing to be able to achieve
>> this task. These informations are:
>>
>> a) How long it take to program a PROM row (after the program row command
>> has been sent to the PROM) ?
>>
>> b) What is the format a FPGA configuration file (.bit, .mcs, .hex), and
>> associated programmation algorithm to get the PROM programmed correctly ?
>>
>>
>> I was searching for more than 1 week about this information without finding
>> anything.
>> Is it possible that this information is confidential and can not be
>> published ?
>>
>>
>> Claude Sylvain
>> Electro-Technica inc.
>>
>>
>>
>
> Have you already seen XAPP482?
> It explains how to store configuration file and software application into
> platform flash.
>
> Marco
>


From: Claude Sylvain on
I already found the BSDL description of the XCF02S PROM
(http://www.xilinx.com/xlnx/xil_sw_updates_display.jsp?BV_UseBVCookie=yes&update=bsdl&software=PROMs).

But, I was not knowing anything about SVF files. That was the missing chain !

Based on what I read in xapp503
(http://www.xilinx.com/bvdocs/appnotes/xapp503.pdf), the steps I will have to
do are:

a) Convert the .bit configuration file to an .svf file, using iMPACT.

b) Build a custom program to read, interpret and program the .svf file into
the PROM, using the Microblaze CPU.


I don't still know the time it takes to program a PROM row. Maybe it is in the
XCS02S BSDL file, and I have missed it. Nervertless, it can be optained by
doing iterative test.


Thank you for your help. That's exactly the information I want.

Claude Sylvain
Electro-Technica inc.




"Antti Lukats" <antti(a)openchip.org> wrote in message
news:duu1tq$obg$1(a)online.de...
>
> "Claude Sylvain" <claudesylvain(a)sympatico.ca> schrieb im Newsbeitrag
> news:NhsQf.5254$xM2.414382(a)news20.bellglobal.com...
>> Hello all,
>>
>> In a project, I use a Spartan-3 XC3S400 FPGA from Xilinx.
>>
>> The design use a Microblaze CPU instantiated in the FPGA.
>>
>> I use the Digilent Spartan-3 starter kit for prototyping. Note that the
>> original XC3S200 FPGA has been removed, and replaced by a XC3S400 FPGA.
>>
>> I want to erase/program the platform FLASH PROM installed in this board (the
>> XCF02S IC) with a new FPGA configuration file, using the Microblaze CPU.
>>
>> Xilinx application note xapp544 is a good starting point for doing this
>> stuff. But, there are some information that is missing to be able to achieve
>> this task. These informations are:
>>
>> a) How long it take to program a PROM row (after the program row command
>> has been sent to the PROM) ?
>>
>> b) What is the format a FPGA configuration file (.bit, .mcs, .hex), and
>> associated programmation algorithm to get the PROM programmed correctly ?
>>
>>
>> I was searching for more than 1 week about this information without finding
>> anything.
>> Is it possible that this information is confidential and can not be
>> published ?
>>
>>
>> Claude Sylvain
>> Electro-Technica inc.
>>
>
> you are partially right :( the full programming specs of platform flash are
> confidential and have never been made available.
>
> however all the required info can be obtained by looking at BSDL files and
> SVF files. So I have sucesfully created custom programming software that can
> program platform flash directly from .BIT files
>
> Antti
>
>
>
>
>
>
>