pertinaks
Newbie level 3
- Joined
- Jul 28, 2011
- Messages
- 3
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,319
Hello everyone,
I am new using MicroBlaze and Xilinx SDK, EDK platforms. I couldn't understand how to download the compiled C software (I mean the .elf file) into FPGA. I generated a simple MicroBlaze CPU, instantiated it in a top module in ISE, and exported the hardware design with bitstream to SDK. In SDK I have created a blank C project and compiled the code below. SDK has compiled the code and generated a Release .elf file. There are my questions:
Note: I have double checked the ucf file and it seems correct.
Note: Target board is Spartan 3E Starter Kit from Digilent, Xilinx version is 13.2 licensed as 30-day evaluaiton
Thanks in advance
I am new using MicroBlaze and Xilinx SDK, EDK platforms. I couldn't understand how to download the compiled C software (I mean the .elf file) into FPGA. I generated a simple MicroBlaze CPU, instantiated it in a top module in ISE, and exported the hardware design with bitstream to SDK. In SDK I have created a blank C project and compiled the code below. SDK has compiled the code and generated a Release .elf file. There are my questions:
- When I try to download bitstream from SDK, and run as launch on hardware, I receive an error message saying that there is no mdm hardware in design. But I have nothing about debugging in software. Is it a mandatory to keep the debugging hardware?
- Although there is a top module including microblaze, Is it true to download bitstream via sdk?
- When I try to download bitstream via impact, there is no problem but device does not do anything as if the software was not downloaded. Quest: Does impact initialize the blockram with software or should I regenerate the bit file from ISE each time I compile the software?
- How do you download the software into FPGA in Xilinx 13.2, can you suggest me a tutorial, video or something like that?
Note: I have double checked the ucf file and it seems correct.
Note: Target board is Spartan 3E Starter Kit from Digilent, Xilinx version is 13.2 licensed as 30-day evaluaiton
Code:
#include <stdio.h>
#include <xuartlite.h>
#include <xuartlite_i.h>
#include <xuartlite_l.h>
#include <xutil.h>
int main (){
print("Try number: 1");
return 0;
}
Thanks in advance