3 Replies Latest reply on Apr 19, 2012 9:57 AM by RoKl_290166

    FX3 code size

      How can I tell how large my program is?  I'm afraid that my EEPROM may be too small.

        • 1. Re: FX3 code size

          The code size is printed out at the end of the build process in the eclipse console window.

          • 2. Re: FX3 code size

            The size of the ELF file is listed at the bottom of the Eclipse window.  I need the IMG in order to size the EEPROM.

               

            If the size at the bottom of the Eclipse window after a build, then the EEPROM on the FX3 development board is not big enough to hold any of the Cypress sample code I've built.  All the sample code should fit, right?

            • 3. Re: FX3 code size
              RoKl_290166

              Hi,

                 

              the size which is printed by utility arm-none-eabi-size is only the section sizes of the .elf-file, means text-, data- and bss-section. This is the same size the .img-file (which contains only  these sections) has plus some header- and length-information bytes which are special to the .img-format!

                 

               

                 

              Regards,

                 

              Robert