01-27-2010 03:48 PM
I'm new to the data2mem tool, and I'm trying to use it with an elf input file. First, I've compiled a very simple test program using sparc-elf-gcc (a LEON3 compiler). Next, according to the Data2Mem user guide (UG437) on page 21 the following commad should dump the hex contents of the elf file: data2mem -bd <file>.elf -d
Unfortunately, nothing happens when I run that command. My goal in using Data2Mem is to create *.vhd files to simulate with and synthesize with. Is this tool meant to be used with a specific compiler (IE MicroBlaze)? Or have I misunderstood the tool?
07-11-2011 02:05 PM
I had the same problem. I switched to SDK 13.2 and now it works. There is something wrong with SDK 13.1 - it would dump nothing. Scary stuff. Lucky me I started learning with SDK 13.1 :(. Now next question is where is the errata on these tools?