3 Replies Latest reply on May 6, 2020 6:03 PM by NoriakiT_91

    My PSoC5LP does not work after on Power but reset

    LeYu_281131

      Hi My name is YS

      and I have a problem with PSoC5LP(marking as CY8C5668AXI-LP034 1425 A 04 624499)

       

      I am using PSoC5LP for a while, everything was perfect for me.

       

      but Yesterday, my PSoC5LP seems to be does not work.

      my application not working even UART communication.

       

      so, I attach "Miniprog3" to debug, and suddenly my application work.

      I tried another way, press "Reset Button", and my application work.

       

      once PSoC5LP working, every function is working befere Power Off.

      BootLoader also working.

      but It is not right answer, Press "Reset" button every Power on situation.

       

       

      I tried to debug with "attach to Runnning Target" and got some data

      but I have no idea, what happened and how to debug.

       

      therefore, I shared my problem in this community

      Please, give any comment for it.

       

      Thank you.does not work.PNG

        • 1. Re: My PSoC5LP does not work after on Power but reset
          NoriakiT_91

          YS,

           

          It was assumed from your screen shot that the Bootloadable (Application) starts from 0x1E00.

          The Program Counter (pc) register indicates that CPU is running at 0x113A somewhere in the Bootloader.

           

          Please show the Bootloader disassembly list at 0x113A to specify what is happen to the Bootloader.

           

          Regards,

          Noriaki

          • 2. Re: My PSoC5LP does not work after on Power but reset
            LeYu_281131

            Dear Noriaki

             

            Thank you for your advice for my Problem.

             

            Actually, I do not have any experience about disassembly.

             

            Could you give any material, how to get disassembly list?

             

            Regards,

            YS

            • 3. Re: My PSoC5LP does not work after on Power but reset
              NoriakiT_91

              YS,

               

              Please ensure your Project's Build Settings is set to create the MAP file and LST file.

               

              GS004727.png

              GS004728.png

               

              You can see MAP and LST files in the Results tab of the Workspace Explorer

              GS004724.png

              For example, you can see where is the main() function on the Flash in the MAP file as follows.

               

              GS004729.png

               

              In this case, main() function starts at 0x00000088.  At first, please find what is located at the address 0x0000113A using the MAP file.

               

              After that, refer the LST file to find the location of 0x0000113A.  Please note that the addresses in the LST file are relative addresses from the starting address described in the MAP file.

               

              GS004730.png

               

              In my case, the UART_PutString() function is called from 0x00000088+0x001e=0x000000a6

               

              Regards,

              Noriaki