10 Replies Latest reply on Oct 20, 2015 6:54 AM by dhacc_284416

    [FreeRTOS] [LCD 128x64] My Application Program is Running fine with CY8CKIT-050 but in my Hardware it hangs on CY_ISR(IntDefault

      Hi there,
      I am facing weird problem with my Application on PSoC 5 based hardware. This application is based on FreeRTOS, and application contains 128×64 kind of monochromatic LCD (Graphical LCD), having controller like ks0107.


      We are attaching:
      1. Application program for CY8CKIT-050.
      2. Application program for our Hardware. (Only with different PIN usage)


      The problem is that if we run this program with the PIN used for CY8CKIT-050, it runs smoothly and complete every task as desired with no problem at all. But if we only change the MCU PINs as used in our Hardware and program the Hardware MCU with same program, application runs to certain point and then hang. We tried debug mode and found out that after running for some time application goes to :




              * We must not get here. If we do, a serious problem occurs, so go
              * into an infinite loop.


      which is in Cm3Start.c. And at this point application stays in hanged state.


      Here please note that this only happens if we used the same program in our Hardware. But if we use it in Kit (CY8CKIT-050), it runs completely fine without any fault.


      We would like to also share that we have used FreeRTOS prior to this application, and we have successfully built applications with FreeRTOS.


      Will you please check this files and see if we have made any mistake anywhere?