Peripherals Stop Working during changing page on emwin.

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

  • Peripherals Stop Working during changing page on emwin.

    Hi there.
    I 've used keil 4.7 with emwin 5.16 on lpc1788.my gui consist of a main page and some sub pages.when gui shows main page every thing works perfect.but when i i hide main page and show a subpage , peripherals (usb,usart,caputre intterupt) stop working until i return to main page again.how can i solve this problem.
    another problem is when i compile program without debug information , my lpc1788 hangs.
  • Hi,

    How do you create the subpage?

    If it is a dialog, do not use GUI_ExecDialogBox() or GUI_ExecCreatedDialog(), since these functions are blocking and won't return until the dialog gets deleted. GUI_CreateDialogBox() should be used instead, which allows the application to continue.

    Regards
    Sven
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.