cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Anva_2903386
New Contributor II

I have a working project using PSOC5LP, EmWin, and a TFT display.  When I copy and paste the working project in the same workspace, the newly copied project compiles without errors but the TFT does not work when the program runs.

I use the same "Project/Build Settings, compiler and linker" for both projects pointing to the Emwin graphics library.

As another option, I moved the working folder away from "c:\users\myname\project" to c:\sync\PSOC to ensure the path is shorter.

I also tried the "Archive bundle" and restore it as a new project in the same folder and workspace with the same results.

I have no idea where to find the issue, any assistance will be appreciated.

Update - Running the debugger the code get stuck in the GUI_Init(); function

Code getting stuck here - Increasing the Heap size does not solve the problem.

CY_ISR(IntDefaultHandler)

{

    /***************************************************************************

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

    * an infinite loop.

    ***************************************************************************/

    #if defined(__GNUC__)

        if (errno == ENOMEM)

        {

            #ifdef CY_BOOT_INT_DEFAULT_HANDLER_ENOMEM_EXCEPTION_CALLBACK

                CyBoot_IntDefaultHandler_Enomem_Exception_Callback();

            #endif /* CY_BOOT_INT_DEFAULT_HANDLER_ENOMEM_EXCEPTION_CALLBACK */

           

            while(1)

            {

                /* Out Of Heap Space

                 * This can be increased in the System tab of the Design Wide Resources.

                 */

            }

        }

        else

    #endif

        {

            #ifdef CY_BOOT_INT_DEFAULT_HANDLER_EXCEPTION_ENTRY_CALLBACK

                CyBoot_IntDefaultHandler_Exception_EntryCallback();

            #endif /* CY_BOOT_INT_DEFAULT_HANDLER_EXCEPTION_ENTRY_CALLBACK */

            while(1)

            {

            }

        }

}

0 Likes
15 Replies