5 Replies Latest reply on Apr 11, 2019 3:22 AM by SrinathS_16

    FX3 .img file

    gean_3054931

      Hello,

      How to check data memory and code memory allocation in .img file?

      thank you.

        • 1. Re: FX3 .img file
          SrinathS_16

          Hello,

           

          The .map file that is generated as part of the project build contains the memory configuration for the FX3 firmware.

           

          Best regards,

          Srinath S

          • 2. Re: FX3 .img file
            gean_3054931

            Hello shrinath,

            we are using cyusb3035 FX3S ,it has 512KBytes of SRAM,our application .img file size is 256KBytes.

            i wanted to know how much code memory and data memory is allocated in this 256kbytes.How to check this in .map file.i have attachd the map file,please let me know.

            thank you.

            • 3. Re: FX3 .img file
              SrinathS_16

              Hello,

               

              Please view below the memory allotment for your firmware file.

              Code memory size - 180kB

              Data memory size - 32kB

               

              This information is present as part of the *.ld file that comes with the FX3 SDK in the following path.

              C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\fw_build\fx3_fw

               

              Best regards,

              Srinath S

              1 of 1 people found this helpful
              • 4. Re: FX3 .img file
                gean_3054931

                Thank you shrinath,

                1)what is the I-TCM and its showing 16KB.

                what variables/data is stored in TCM?

                 

                2)which file is generated by the linker in fx2lp(keil) like .map file in case of fx3(ez-usb)?

                 

                thank you.

                • 5. Re: FX3 .img file
                  SrinathS_16

                  Hello,

                   

                  - I-TCM is the Instruction Tightly Coupled Memory and it contains the interrupt handlers and a few library APIs.

                  - FX2LP has got a fixed memory map unlike FX3 and it can be seen from the EZ-USB TRM.

                   

                  Best regards,

                  Srinath S

                  1 of 1 people found this helpful