Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
771 Views

Accessing memory sections from software.

Is there a way to access the beginning and end of the memory sections from within the software? For example, I need to know where the .text section begins and ends so that I can calculate a checksum but I don't want to hardcode it.

0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
46 Views

Hi, 

 

I am not sure if you are looking for this but please take a look into .objdump file generated in the software folder (same directory with .elf file).
Altera_Forum
Honored Contributor I
46 Views

Right, I'm aware of the .objdump file. What I'm wanting is something that will give me the beginning/end addresses of sections while I'm still working on the code. Until I'm finished coding and testing, I really don't want to hardcode it and change it every time I add or take away code.

Altera_Forum
Honored Contributor I
46 Views

I see. I am not aware of such feature available.

Reply