5 Replies Latest reply on Sep 18, 2017 10:41 PM by anks

    Ghost Components in PSoC Creator

    user_247803908

      I'm having a very weird problem in PSoC Creator.

       

      I had placed a Debouncer component, "Debounced_CRSTX" in my TopDesign schematic. Later, I deleted that component. When I try to build, I get this:

       

      PsOC Creator.png

      Errors 1-6 refer to things that I deleted.

       

      So I delete the TopDesign.cysch file, get the old one from my GIT repository. Same error. Then I delete every generated file, and try again. Same thing. This doesn't make any sense... this component and the associated nets were only in this project for about ten minutes this morning, and yet, they seem permanent. This is a pretty serious bug in the system. I image I can completely re-create the project an have these not appear any longer, but that should not be necessary.

       

      Screen shot of the full project is attached. Never mind the C-code errors, not the problem.

        • 1. Re: Ghost Components in PSoC Creator
          user_1377889

          Which version of Creator are you using? Can you please post your complete project so that we all can have a look at all of your settings. To do so, use

          Creator->File->Create Workspace Bundle (minimal)

          and attach the resulting file.

           

           

           

          Bob

          • 2. Re: Ghost Components in PSoC Creator
            user_247803908

            Too late... I fixed it by grabbing last night's project file from my GIT repo.  Guess that's my work-around if happens another time. This was the second time I ran into this. First time, there was a non-existent wire generating build errors. In that case, I wasted an hour re-drawing the schematic.

             

            So that's a clue -- those components deleted from the schematic were still hidden somewhere in the project, but inaccessible to me. They ought to be deleted when I remove the component. Sure sounds like a bug to me.

             

             

             

            • 3. Re: Ghost Components in PSoC Creator
              michael_1534646

              I have the same problem with my projects on PSoC Creator 4.1.

              There is some kind of bug in the software. These errors are not really errors, because the project compiles normally (when you look at the Output tab, you see that the compilation finishes without errors). The way to make them disappear is to close the Creator and open it again.

              This is very annoying.

              • 4. Re: Ghost Components in PSoC Creator
                user_247803908

                Actually, the version of the error I have seen didn't disappear after resetting either Creator or rebooting Windows. It also wouldn't actually matter if the code compiled or not -- I can't trust the compiler to do the right thing if it's producing errors, and it's against the policies I set for our hardware group to do any kind of release with errors of any kind. 

                 

                However, restoring one's original project file did remove the error. So I'm pushing stuff to GIT pretty regularly when working in the schematic editor, just in case it shows up again.

                • 5. Re: Ghost Components in PSoC Creator
                  anks

                  Hello,

                   

                  Can you please provide steps to reproduce this issue on a Windows system.

                  The workaround for this issue is closing and reopening the Creator.