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 dongfongsyu
Visitor
1,472 Views
Registered: ‎02-14-2015

inconsistent conversion of elf to bin file

Dear Community Users,

    Has anyone encounter the following problem (inconsistent bin. file after using mb-objcopy) ? I ran the example freertos application on Vivado SDK 2017.4, and I converted the elf file to bin file by using mb-objcopy. After this, I examined the bin content and the default memory content. The last element of the bin file is 00E1F505 ( or 05f5e100), but the last element of the default memory file is not 05f5e100. There are lots of unclear values following 05f5e100 in the memory content. It is particularly strange that there are lots of "a5a5a5a5"! Did anyone has the same issue? Any suggestions would be greatly appreciated!

 

Fig. BIN file

0001.png

 

Fig. Memory Contents

0002.png

0003.png

Tags (3)
0 Kudos
3 Replies
Voyager
Voyager
1,422 Views
Registered: ‎06-20-2017

Re: inconsistent conversion of elf to bin file

I don't know about your particular problem, but you might want to take a look at your map file or linkerscript to see what else those other memory locations are used for.  E.g., stack, heap, bss, etc.

Mike
0 Kudos
Visitor dongfongsyu
Visitor
1,367 Views
Registered: ‎02-14-2015

Re: inconsistent conversion of elf to bin file

Thanks a lot for the reply and suggestion. When I ran the sample application on SDK and the OS platform is standalone, the memory content is consistent with what I have observed from the BIN file, and at least under this situation, there won't be so many "a5a5a5a5" values. However, when I ran the SDK application and the freertos901_xilinx is chosen as the OS platform, the memory content looked very weird. (Both cases use the same processor (Microblaze) and the same hardware exported from Vivado.) I am curious if anyone has ran into the same situation. 

0 Kudos
Voyager
Voyager
1,346 Views
Registered: ‎06-20-2017

Re: inconsistent conversion of elf to bin file

Did you try the suggestions?

Mike
0 Kudos