Search Results

Search results 1-10 of 10.

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

  • Sounds like something is eating your stack, exceeding your heap , writing past the extent of an array or memory object? perhaps outside of emWin? Maybe?

  • EMWin Scrollbar problem

    jona - - emWin related

    Post

    Thank you for your response Florian. I use the scrollbars because it removes the necessity to add buttons on the left and right of a slider to increment or decrement the slider. As well, the scrollbar has an auto repeat feature built into it. I skinned the scrollbar appropriately and I am able to print values inside of the thumb. For the most part, they work very well. Though I did have that problem, which appears to be solved by adding the GUI_Exec(). Yeah.. probably not the best approach but I…

  • EMWin Scrollbar problem

    jona - - emWin related

    Post

    UPDATE: Calling GUI_Exec() in the WM_NOTIFICATION_VALUE_CHANGED handler after invalidating a single button above solved the problem with the slider going off into no-man's land. BUT, the WM insists on invalidating much more than that single button. Giving up on that for now since I haven't any way to debug what emWin thinks the Invalidate size should be.

  • EMWin Scrollbar problem

    jona - - emWin related

    Post

    More... When I invalidate other items on the dialog in the WM_NOTIFICATION_VALUE_CHANGED for the scrollbar, that is when the scrollbarcontinues to get INC or DEC messages from the WM. I have two rows of 8 buttons on the top of the window. The selected button is the only one that should get updated when the scrollbaris moved. Somehow, they all get invalidated and re-drawn, even if I only specify one of them. It seems that it is during that cycle that the scrollbar continually gets the message to …

  • EMWin Scrollbar problem

    jona - - emWin related

    Post

    I am using the scrollbars across my app instead of sliders. They work very well. BUT.. occasionally, the scrollbars will not track your finger but will instead, start heading in the direction of the touch , in single increments and will block until they reach their destination on their own, very slowly. There is no way to stop it. Any ideas or suggestions?

  • Fault problems with STM32F7

    jona - - emWin related

    Post

    I thought I should post what I hope is my solution in case anyone else runs into this. I had been running from my bootloader for the STM32F7 DISCO board. I ran the release version at 0x08000000,replacing the bootloader, and it ran fine. No hard faults from GUI_ALLOCLock/Unlock So, the problem must be in the BL. I went and modified the BL, adding HAL_DeInit and disabling the cache before jumping to the application. I also noticed that I had not been invalidating the I & D caches in the APP (not B…

  • Fault problems with STM32F7

    jona - - emWin related

    Post

    Hello I will start out by saying that I am indeed using STemWin 5.40 on the F7 DISCOVERY board(ST-LINK) with FreeRTOS in Visual GDB. I have been working on this project for a year now and I am almost ready to release the product for testing but I have run into a mind boggling problem. I hesitated to ask any questions here since I am using a free version and I think I was able to solve part of my problem reading posts here. The release version _seems_ to run fine with the ST-LINK attached but if …

  • GUI_ExecDialogBox() never returns

    jona - - emWin related

    Post

    I am using the STM32F7 Discovery. Currently I have a nearly complete system with many windows and functional touch controlled buttons, silders, listwheels, etc. Development has been ongoing for a few months. All of the dialogs are created with CreateDialogBox(). I needed some text input so I created an ASCII keyboard window and hoped to use the scheme from the numpad example. I created another project just to test the numpad example itself but I could not get that to work. In my project I can, i…

  • GUI_ExecDialogBox() never returns

    jona - - emWin related

    Post

    Oh.. ok. This threw me off from one of your examples: while (1) { GUI_ExecDialogBox(_aDialogUser, GUI_COUNTOF(_aDialogUser), _cbDialogUser, WM_HBKWIN, 0, 0); /* Execute the user dialog */ GUI_Delay(1000); } I can get the dialog to launch but it none of the controls do anything. Very much appreciate you taking the time to answer. THe only other problem I have now is the concept of using a dialog, like numpad, to edit text in an EDIT control on another window. As soon as the dialog appears, the ed…

  • GUI_ExecDialogBox() never returns

    jona - - emWin related

    Post

    Morning! On the STM32F7, using FreeRTOS, when I attempt to create blocking dialogs , with either my code or the (ST)emWin examples, GUI_ExecDialogBox() calls never return. Any hints? I realize that I am only a STemWin user but I have been trying to search for anyone else experiencing this and I haven't been able to find an answer. I understand if you can not help me. Thank you.