Author Topic: Load C Code on DDR3  (Read 2665 times)


  • Active Member
  • *
  • Posts: 1
Load C Code on DDR3
« on: May 09, 2016, 11:28:25 PM »
After loading the .bit file onto flash I want to be able to load C code through the UART onto the DDR3 for the FPGA Microblaze to execute. (Is this possible?) End goal is to load C code files from Labview for the Microblaze to execute.
Background Information:
I am able to load code onto the FPGA through the Xilinx SDK, and I am able to load a small sample program using impact onto the flash by converting the .bit and .elf into a .mcs file. However I don't want to load it on flash, but on the DDR3.
I have run a "Memory Test" program and the DDR3 works.
I am looking for some guidance and suggestions, thank you very much.

Antti Lukats

  • Hero Member
  • *****
  • Posts: 542
Re: Load C Code on DDR3
« Reply #1 on: May 10, 2016, 10:03:40 AM »
yes this is possible but you need some kind of BOOTLOADER to load the and execute the code.

you can take xilinx SREC bootloader as example - should be easy to convert the input from flash read to uart reads

xilinx SREC loader can load directly only from SPI flash, so that needs no patching and we have examples for this
« Last Edit: May 10, 2016, 10:47:52 AM by Antti Lukats »