GUI_DispString stops working

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • GUI_DispString stops working

    Hi

    I'm using the FDI uEZGUI 1788 board to develop a new operator interface. I've
    run into a brick wall and need your help. In the application software uEZ
    commands are used to read/write serial data using the Stream read and write
    commands. Text is read from the serial port and is displayed using the emWin
    GUI_DispString() procedure and this is working fine. When serial data is sent
    out while serial data is displayed on the LCD panel the display will freeze.
    Serial massages are still coming in and being sent to the display with the emWin
    GUI_DispString() procedure, but nothing is seen on the LCD display. Have you
    seen anything like this before? this only happens when the serial port is
    writing and reading at the same time(Semaphores don't help), any help would
    be greatly appreciated.

    PS : emWin is in a binary format with no source



    Thanks,



    Carl
    Baron
  • Maybe this would help

    When the display is locked up this is the code which will restore the GUI_DispString() back to working order. Since I don't have source code what does GUI_init() really do? This would maybe help to locate the root cause.

    Thanks
    Carl

    void ResetGUI(void)
    {

    T_uezDevice hLCD;
    U32 FrameBufferSize;
    T_uezTask hTouchTask;


    FrameBufferSize = UEZ_LCD_DISPLAY_WIDTH * UEZ_LCD_DISPLAY_HEIGHT * GUI_NUM_VIRTUAL_DISPLAYS * GUI_PIXEL_WIDTH;
    GUI_pMem = (U32*)(GUI_VRAM_BASE_ADDR + FrameBufferSize);
    GUI_MemSize = (GUI_VRAM_SIZE - FrameBufferSize);
    GUI_Init();
    }