News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

Load C Code on DDR3

Started by algoballer, May 09, 2016, 11:28:25 PM

Previous topic - Next topic

algoballer

Hello,

Problem:
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

#1
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