dhruv_electro
Advanced Member level 4
[ PSoC Creator ] [ FreeRTOS ] [ PSoC 5 CY8C5868AXI-LP035 ] [ GLCD 128x64 ]
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.
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 :
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.
Attaching:
View attachment 1. Application program for CY8CKIT-050.zip (PSoC Creator workspace)
View attachment 2. Application program for our Hardware.zip (PSoC Creator workspace) (Only with different PIN usage)
Call Stack window screen shot where problem occurs:
1.
2.
PS: This discussion is going on in parallel at
1. Cypress Community Forum
2. FreeRTOS Forum
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.
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 :
Code:
CY_ISR(IntDefaultHandler)
{
while(1)
{
/***********************************************************************
* We must not get here. If we do, a serious problem occurs, so go
* into an infinite loop.
***********************************************************************/
}
}
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.
Attaching:
View attachment 1. Application program for CY8CKIT-050.zip (PSoC Creator workspace)
View attachment 2. Application program for our Hardware.zip (PSoC Creator workspace) (Only with different PIN usage)
Call Stack window screen shot where problem occurs:
1.
2.
PS: This discussion is going on in parallel at
1. Cypress Community Forum
2. FreeRTOS Forum