09-09-2016 07:43 AM
I have created a MicroBlaze project which I can load and programme via the SDK. However I need to create a boot file that can be loaded into memory and that the Virtex-7 part will boot and run from. How do I do this? I'd also like to be able to load this file into the FPGA via JTAG to be able to test that the file will work correctly. Can someone please point me at something which shows me how to do this please?
09-12-2016 02:57 AM
09-10-2016 04:42 AM
@pcaddick Go to your project directory, look for folder ****.sdk/hw/design_name_hw_platform/download.bit.
This download.bit file have .bit+.elf which can be converted to mcs using write_cfgmem and program flash or same download.bit can be downloaded directly using JTAG.
09-12-2016 12:19 AM
09-12-2016 01:55 AM - edited 09-12-2016 02:16 AM
thanks for your replies.
@pratham not sure how you combine the bit & elf file. I have always used Create boot image but this appears to be only for the Zynq architecture. I used to use this to create a bin file so I could boot from an SD card. This doesn't appear to be possible for the Virtex 7 part (or is it?)
ps I went to project directory and looked for folder ****.sdk/hw/ this doesn't exist. I did find the bit file in ****.sdk/design_name_hw_platform/. I found the elf file in ****.sdk/***_app\Debug
Where do you run write_cfgmem. Do you do this in the tcl shell?
@smarell I normally program the part using the SDK. I program the part using "program FPGA" under Xilinx Tools (2016.2) and then under the app I select Run As > Launch on Hardware (GDB).
What I want is one file that I can create and load into the boot memory that will load both the bit & elf file and run the code.
09-12-2016 02:02 AM
Please refer to the below snapshot. You have to select your application in place of "bootloop" to generate download.bit file which is a combination of your .bit and the .elf file specified.
09-12-2016 02:30 AM
@smarell That's great. I'm now able to program it so that its running immediately after its programmed. What I need now is the file that I should load into the boot memory so that it runs immediately after power up.
09-12-2016 02:57 AM