9 Replies Latest reply on Nov 27, 2014 1:29 PM by user_285675076

    Clone project on another similar device

    user_285675076

      Hello everybody,

         

        I have a problem with a project on the CY8C28452 device. I can program the custom board I have for it using PSoC Programmer. However, if I try yo program it from PSoC Designer it doesn not work, since the board I have is populated with a CY8C28433, which seems to be a similar device. When I clone the project, and port it on the new device, I can program the board from PSoC Designer, but it does not run correctly.

         

        Can you, please, help me with some advice on what I should do?

         

      Thank you!

        • 1. Re: Clone project on another similar device
          user_14586677

          The parts seem to have significant differences -

             

           

             

           

          • 2. Re: Clone project on another similar device
            user_14586677

            Also I found that when cloning projects not all the time did the clone

               

            project pick up all the global properties settings, so examine those.

               

            Easy way is tp print out a project datasheet and compare them both.

               

             

               

            Regards, Dana.

            • 3. Re: Clone project on another similar device
              user_285675076

              Thank you for your responses! It seems that it will not work this way, so I will re-create the project on the new device. However, there seems to be a bigger problem.

                 

               

                 

              When I build a new project, I get this weird errors (It is an empty project, a main program with a while loop inside).  I am using the latest version of PSoC Designer (V5.4), downloaded from Cypress website.

                 

               

                 

              Starting MAKE...

                 

              creating project.mk -- no changes

                 

              /usr/bin/sh: -c: line 2: syntax error: unexpected end of file

                 

              /usr/bin/sh: -c: line 2: syntax error: unexpected end of file lib/psocconfig.asm

                 

              !E lib/psocconfig.asm(56): no such mnemonic 'RAM_PROLOGUE'

                 

              !E lib/psocconfig.asm(62): no such mnemonic 'RAM_EPILOGUE'

                 

              !E lib/psocconfig.asm(86): no such mnemonic 'RAM_PROLOGUE'

                 

              !E lib/psocconfig.asm(107): no such mnemonic 'RAM_EPILOGUE'

                 

              !E lib/psocconfig.asm(129): no such mnemonic 'RAM_PROLOGUE'

                 

              !E lib/psocconfig.asm(172): no such mnemonic 'RAM_EPILOGUE'

                 

              make: *** [lib/obj/psocconfig.o] Error 1

                 

              make: *** Deleting file `lib/obj/psocconfig.o'

                 

              Proj1 - 8 error(s) 0 warning(s) 11:31:41

              • 4. Re: Clone project on another similar device
                user_285675076

                The solution to the cloned project: The interrupt addresses change, that was the problem (boot.tpl has to be updated manually, it is not updated automatically). Sorry for the stupid question!

                • 5. Re: Clone project on another similar device
                  user_14586677

                  No problem, we have all been there, in my case repeatedly.

                     

                   

                     

                  Regards, Dana.

                  • 6. Re: Clone project on another similar device
                    user_285675076

                    This problem still exists: 

                       

                    When I build a new project, I get this weird errors (It is an empty project, a main program with a while loop inside).  I am using the latest version of PSoC Designer (V5.4), downloaded from Cypress website.

                       

                     

                       

                    Starting MAKE...

                       

                    creating project.mk -- no changes

                       

                    /usr/bin/sh: -c: line 2: syntax error: unexpected end of file

                       

                    /usr/bin/sh: -c: line 2: syntax error: unexpected end of file lib/psocconfig.asm

                       

                    !E lib/psocconfig.asm(56): no such mnemonic 'RAM_PROLOGUE'

                       

                    !E lib/psocconfig.asm(62): no such mnemonic 'RAM_EPILOGUE'

                       

                    !E lib/psocconfig.asm(86): no such mnemonic 'RAM_PROLOGUE'

                       

                    !E lib/psocconfig.asm(107): no such mnemonic 'RAM_EPILOGUE'

                       

                    !E lib/psocconfig.asm(129): no such mnemonic 'RAM_PROLOGUE'

                       

                    !E lib/psocconfig.asm(172): no such mnemonic 'RAM_EPILOGUE'

                       

                    make: *** [lib/obj/psocconfig.o] Error 1

                       

                    make: *** Deleting file `lib/obj/psocconfig.o'

                       

                    Proj1 - 8 error(s) 0 warning(s) 11:31:41

                       

                     

                       

                    Can anyone help me with this problem?

                    • 7. Re: Clone project on another similar device
                      user_1377889

                      Seemingly a file or a setting has been corrupted. I would try to de-install, then download and re-install Designer again.

                         

                       

                         

                      Bob

                      • 8. Re: Clone project on another similar device
                        user_14586677

                        Try a clean and build also, post your project for forum to look at -

                           

                         

                           

                            

                           

                                  

                           

                        “File”                                                           Designer

                           

                        “Archive Project”

                           

                         

                           

                        Regards, Dana.

                        • 9. Re: Clone project on another similar device
                          user_285675076

                          It is an empty project, just an empty while loop. I think the IDE has some problems.

                             

                          I will reinstall it, thanks!