2 Replies Latest reply on Jul 27, 2017 9:42 AM by user_9986863

    Adding an extra module and my app stops working

    user_9986863

      Im developing an app with CY8C27143
      It uses all 8 digital user modules
      I wanted to test adding a Comparator user module
      So I just added the Comparator and generated the code for that configuration and the app stops working.
      Trying to trace the fault I just unplaced the user module (Comparator) and regenerated configuration code, the app worked again.
      Then i  removed Comparator module totally and added a PGA UM (just for testing if analog side had a problem), generated code and same, app stops working!
      Then removed one of the digital user modules, removed referent code for that UM , leaving the PGA UM in schematic and generating configuration code. 
      App works again! 
      So adding a 9th user module seems to be the fault??
      Can anybody  help in what i´m doing wrong or how to trace the problem?

         

      Thanks in advance

         

      Luis

        • 1. Re: Adding an extra module and my app stops working
          user_1377889

          I even cannot build your project without an error message. Far away from checking assembly code. Why don't you use C-language?

             

           

             

          Bob

          • 2. Re: Adding an extra module and my app stops working
            user_9986863

            Hi Bob.

               

            It builds on my machine, I´m using 64 bit Windows but either tried on a 32 bit OS and also builds well.

               

            You need to send MIDI  messages in order to make it work.

               

            The case here is , when uncomment DAC9 config and start lines, then burning the app, it behaves strange.

               

            Have not tried in run time to change config.

               

            On the C side I´m on my way slowly, don´t now why mi head refuses to grasp C concepts :-)

               

            Would you recommend me a C book with full of examples to try? Cypress used to have good App Notes  with a bunch of code but not any more.

               

            Best Regards

               

            Luis