8 Replies Latest reply on Jun 18, 2019 10:16 PM by KandlaguntaR_36

    debug and release mode

    gean_3054931

      Hi,

      how to build fx3 firmware in release mode ?what is the difference between debug and release mode building?

      thank you.

        • 1. Re: debug and release mode
          HirotakaT_91

          Hi,

           

          The firmware image size in Release mode is smaller compared to the Debug mode image.

          The Debug mode image contains additional debug symbols to allow the user to debug using JTAG.

           

          Best regards,

          Hirotaka Takayama

          1 of 1 people found this helpful
          • 2. Re: debug and release mode
            gean_3054931

            thank you,

            how to build it with cypress ez usb sdk?

             

            regards,

            geethanjali

            • 3. Re: debug and release mode
              HirotakaT_91

              Hi,

               

              On the Cypress EZ USB Suite (Cypress EZ USB SDK), you can click hammer icon to build your firmware.

              You can select Debug or Release by clicking drop down list on the right side of hammer icon.

               

              Cypress EZ USB Suite consists of Eclipse IDE development environment and GNU tool chain to help you build the firmware development environment.

              Also included are the drivers and software examples to let you easily link to PCs with FX3.

               

              Best regards,

              Hirotaka Takayama

              1 of 1 people found this helpful
              • 4. Re: debug and release mode
                gean_3054931

                thank you,

                debug and release mode configurations are there,

                what is the profiledebug and release?

                • 5. Re: debug and release mode
                  HirotakaT_91

                  We have provided four different libraries in the Cypress EZ USB SDK. i.e,

                  1. Debug

                  2. Release

                  3. Profile Debug

                  4. Profile Release

                  Some of the example projects are configured with all four types of Build configurations, so that we can select and build based on our choice.

                   

                  If you want to use the API (CyU3PthreadPerfGet) that report RTOS Thread Performance.

                  The libraries correspond to this API is provided only in Profiling Enabled Build.

                  Therefore, the project need to be build either using Profile Debug or Profile Release.

                   

                  Best regards,

                  Hirotaka Takayama

                  1 of 1 people found this helpful
                  • 6. Re: debug and release mode
                    gean_3054931

                    thank you,

                    where i can i find these information completly.

                    regards,

                    geethanjali.

                    • 7. Re: debug and release mode
                      GrCa_1363456

                      Hirotaka Takayama,

                       

                      Thank you for describing additional methods of debug supported with the FX3 EZ USB SDK.

                       

                      I would also like any supporting information describing the "Profile Debug" and "Profile Release" processes.

                       

                      Regards,

                      Greg

                      • 8. Re: debug and release mode
                        KandlaguntaR_36

                        The use of Profile debud and release is: There are some APIs whose library is not included in default debug and release mode.

                        If you wanna to use such APIs, you need to build the code with Profile debug or release.

                         

                        Example APIs are CyU3PDeviceGetCpuLoad, CyU3PDeviceGetDriverLoad, CyU3PDeviceGetThreadLoad, CyU3PThreadPerfGet and etc., Search for profilling in API guide for other APIs.