dhruvacharya wrote on Saturday, September 26, 2015:
Hi there,
[ FreeRTOS V8.2.1 ] [ PSoC Creator ] [ PSoC 5 ] [ CY8C5868AXI-LP035 ] [ GCC ARM CM3 port ]
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.
Please find my Project here (As I am new to this forum I don’t know how to attach my project files so attaching zip file for PSoC Creator 3.2 workspace).
- Application program for CY8CKIT-050 here.
- Application program for our Hardware here (Only with different PIN usage)
The problem is that if we run this program with the PIN used for CY8CKIT-050 and program it in 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 this point :
CY_ISR(IntDefaultHandler)
{
while(1)
{
/***********************************************************************
* 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?