UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
5,241 Views
Registered: ‎08-30-2009

Bootloader for MicroBlaze

Hi all,

 

I have a custom board which I could successfully write some applications for my MicroBlaze and run it, now I want to write a bootloader for my MicroBlaze to read code from a parallel(intel Strata) or serial (SIP)  Flash and load it to the external SRAM or SDRAM and run from it, I have some questions:

  1. How should I write the bootloader?
  2. How should I read from external SRAM or SDRAM and run my application from it ?
  3. If I want to use SDRAM do I need an SDRAM controller also?

I am at the first stage and I need to know from where I should start.

I would appreciate any help on this issue.

 

Thanks in advance.

 

Hossein,

 

0 Kudos
3 Replies
Moderator
Moderator
5,218 Views
Registered: ‎09-12-2007

Re: Bootloader for MicroBlaze

There is a Falsh wizard in the XPS tool that you can use. Once your flash is CFI compliant, This will create the bootloader for you.

 

See page 209+ in the Embedded Systam Ref Manual, below:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/est_rm.pdf

0 Kudos
Xilinx Employee
Xilinx Employee
5,202 Views
Registered: ‎08-01-2007

Re: Bootloader for MicroBlaze

just continue stephen's reply,  if you use SDRAM, you definitely need a DRAM controller, you can use the MPMC core in our EDK to control SDRAM

0 Kudos
Adventurer
Adventurer
5,143 Views
Registered: ‎08-30-2009

Re: Bootloader for MicroBlaze

Hi Stephan,

 

Thank you for your answer I think I need to read more about this issue in EDK reference manual .

I want to know if I must use a falsh with CFI(Common Flash Interface) support or I can use any one like K9F2G08R0A from SAMSUNG which is a little bit slower - compared to intel strata flashes - and has wider time constraints?

How about AM29F040 from AMD?

Generally, what conditions and specifications should the Flash have in our Embedded system?

 

Regards,

Hossein

0 Kudos