Reply
Visitor
Posts: 5
Registered: ‎04-11-2011

MULTIBOOT IN SPARTAN 6

Hi,

 

I am trying to create a dual-boot design but I couldn't find a good tutorial about this. Xilinx tutorials does not explain everything. Could you suggest me a reference?

 

Thanks.

Avnet Employee (Star Contributor)
Posts: 614
Registered: ‎04-20-2009

Re: MULTIBOOT IN SPARTAN 6

Xilinx has multiboot tutorials for both the SP601 and SP605 boards.  Did you find those?

 

Are you trying to multiboot in RTL or with a MicroBlaze design?  Avnet has examples of both.  If you can be a little more specific about what you are trying to do and what resources you have already looked at, I can provide more information.

 

Bryan

Visitor
Posts: 5
Registered: ‎04-11-2011

Re: MULTIBOOT IN SPARTAN 6

[ Edited ]

 


@bhfletcher wrote:

Xilinx has multiboot tutorials for both the SP601 and SP605 boards.  Did you find those?

 

Are you trying to multiboot in RTL or with a MicroBlaze design?  Avnet has examples of both.  If you can be a little more specific about what you are trying to do and what resources you have already looked at, I can provide more information.

 

Bryan


 

Hi,

 

Yes. I looked at them but they do not give enough information for me. I want to create an RTL design with multiboot.

 

Could you tell me that where I can find the examples from AVNET?

 

Thanks.

Avnet Employee (Star Contributor)
Posts: 614
Registered: ‎04-20-2009

Re: MULTIBOOT IN SPARTAN 6

I was mistaken in that the MultiBoot examples that Avnet has posted are for Spartan-3A.  Avnet doesn't have any Spartan-6 MultiBoot tutorials posted for our boards yet.  We have them for our Spartan-3A boards, but there are enough differences with Spartan-6 that I don't think those will help.

 

However, I have done this on my own successfully.  If you can be a little more specific as to what problems you are having, I think that I could help you.

 

Bryan

Visitor
Posts: 5
Registered: ‎04-11-2011

Re: MULTIBOOT IN SPARTAN 6

Thank you for your reply.

 

For testing, I created a design for my Spartan 6 and 128 Mbit Numonyx Flash device. I want to write one byte first and then read back this byte.

 

My module sends a 25 MHz clock signal to FLASH. The following is a part of my code:

//The spi_di_array data correspons to 06-02-80-00-00-F1 for writing and 03-80-00-00 for reading one byte

 

spi_cs_array    <= 212'h00FFFFFFFFFFFFFFFFFFFFFFFF0000000FFFFFFFFFFFFFFFFFFFF;
spi_clk_array   <= 212'h00555555555555555555555555555555555555555555555555555;
spi_di_array    <= 212'h00003C000C300000000000FF033800000000F300000000000FFFF;

 

(which are serialized).

 

Thank you.

 

Avnet Employee (Star Contributor)
Posts: 614
Registered: ‎04-20-2009

Re: MULTIBOOT IN SPARTAN 6

That looks nothing like the MultiBoot with which I'm familiar.  I'm not sure we are referring to the same thing.  I am referring to the same MultiBoot that is discussed in Xilinx UG380.

  http://www.xilinx.com/support/documentation/user_guides/ug380.pdf

 

Are you trying to write a state machine in HDL to access the SPI Flash?

 

Bryan

Visitor
Posts: 5
Registered: ‎04-11-2011

Re: MULTIBOOT IN SPARTAN 6

Sorry for misunderstanding. I wrote the wrong thing. I have solved the multiboot issue but the message I wrote was about writing data to FLASH.

 

Kind regards.