Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/11/12 06:24
Read: times


 
#188623 - How to Determine code size of a c and obj file
Hi Everyone,

I am using C8051F124 from silicon labs and code banking in my project. The total code size after compilation comes to 115 KB and I am using code banking for this purpose. I have 10 C files in my project. Now, I have to assign bank0 to bank 3 to each of these files. All of my files are compiling without any error but while linking, I get the error of address space overflow in one of the banks.

I need to know the individual code size of each of the 10 .obj file so that I can assign the banks properly. Is there any way to find the actual code size of each of the files so that I can manage the code or shuffle the subroutines in the files as per need.

Thanks

Mohit

List of 10 messages in thread
TopicAuthorDate
How to Determine code size of a c and obj file            01/01/70 00:00      
   which toolchain?            01/01/70 00:00      
   Your tools will tell you...            01/01/70 00:00      
   Since May 2006            01/01/70 00:00      
   are you aware ....            01/01/70 00:00      
   Why do so many ask without giving the relevant facts?            01/01/70 00:00      
      unable to get the code size of each individual C file            01/01/70 00:00      
         Using the Keil C51 compiler            01/01/70 00:00      
            memory usage is displayed by the tool            01/01/70 00:00      
         your question is not clear            01/01/70 00:00      

Back to Subject List