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: 
Highlighted
Visitor hannes14
Visitor
6,012 Views
Registered: ‎11-01-2012

cant find microblaze_mcs_data2mem

Jump to solution

hello,

 

i do my first steps with the microblaze mcs and got a problem...

 

i work with a tutorial and get to the point where i have to type the following in the tcl-console:

 

microblaze_mcs_data2mem /workspace/hello_world_0/debug/hello_world_0.elf


and get this error message: invalid command name "microblaze_mcs_data2mem"

 

i took a look in the folder where microblaze_mcs_data2mem should be. but it isnt there.

 

i work with ise 14.2. what can i do?

 

 

thanks for your help

 

0 Kudos
1 Solution

Accepted Solutions
Visitor tare_izo
Visitor
7,108 Views
Registered: ‎01-26-2014

Re: Integrating .elf file to ISE

Jump to solution
SOLVED!

It was Reset pin from Microblaze...I didn't put it in constrait file.
Best regards.
0 Kudos
6 Replies
Xilinx Employee
Xilinx Employee
6,000 Views
Registered: ‎08-06-2007

Re: cant find microblaze_mcs_data2mem

Jump to solution

Hi,

 

Did you first "source" the tcl file with "source microblaze_mcs_setup.tcl" at the command prompt?

It has to be done every time you start the tools.

 

Göran

Visitor hannes14
Visitor
5,996 Views
Registered: ‎11-01-2012

Re: cant find microblaze_mcs_data2mem

Jump to solution

Hey Göran,

 

thank you for this fantastic hint.

 

That was the problem.

 

 

 

0 Kudos
Visitor tare_izo
Visitor
5,273 Views
Registered: ‎01-26-2014

Integrating .elf file to ISE

Jump to solution

Hello,

 

Does anyone know how to integrate .elf file from SDK into .bit file in ISE?

I followed tutorial where I implemented Microblaze processor and VHDL top module. I connected everything and when I try to downlaod .bit file to FPGA nothing happens. Like there is no C code to be run.

 

Tutorial link:  http://ece.wpi.edu/~rjduck/Microblaze%20MCS%20Tutorial%20v5.pdf

 

Thanks.

 

0 Kudos
Scholar sampatd
Scholar
5,264 Views
Registered: ‎09-05-2011

Re: Integrating .elf file to ISE

Jump to solution

You can use Data2Mem command to update the .bit file (from ISE) with the .elf (from SDK)contents:

 

For example, to update my.bit with code.elf based on my.bmm, use the following command in ise command prompt:

 

data2mem -bm my.bmm -bd code.elf -bt my.bit -o b new.bit

 

This will create new.bit, which is initialized with code.elf file. 

 

0 Kudos
Visitor tare_izo
Visitor
5,257 Views
Registered: ‎01-26-2014

Re: Integrating .elf file to ISE

Jump to solution

Thank you for quick reply. I tried the command and it creates new .bit file but again nothing happens. I have been working all day on this problem... do you have any suggestion for a tutorial maybe I missed some steps.

 

P.S. I used microblaze_mcs_bd.bmm from a ipcore_dir folder.

 

Thank you, best regards.

 

 

0 Kudos
Visitor tare_izo
Visitor
7,109 Views
Registered: ‎01-26-2014

Re: Integrating .elf file to ISE

Jump to solution
SOLVED!

It was Reset pin from Microblaze...I didn't put it in constrait file.
Best regards.
0 Kudos