cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
6,254 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
Highlighted
Visitor
Visitor
7,350 Views
Registered: ‎01-26-2014
SOLVED!

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

View solution in original post

0 Kudos
6 Replies
Highlighted
Xilinx Employee
Xilinx Employee
6,242 Views
Registered: ‎08-06-2007

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

Highlighted
Visitor
Visitor
6,238 Views
Registered: ‎11-01-2012

Hey Göran,

 

thank you for this fantastic hint.

 

That was the problem.

 

 

 

0 Kudos
Highlighted
Visitor
Visitor
5,515 Views
Registered: ‎01-26-2014

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
Highlighted
Scholar
Scholar
5,506 Views
Registered: ‎09-05-2011

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
Highlighted
Visitor
Visitor
5,499 Views
Registered: ‎01-26-2014

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
Highlighted
Visitor
Visitor
7,351 Views
Registered: ‎01-26-2014
SOLVED!

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

View solution in original post

0 Kudos