Search Results

Search results 1-16 of 16.

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

  • I guess my question is whether you're calling both DeInit and Init after wake. Perhaps, the SD driver is being left in a state that it can not recover from. Aside from the file system. hmm.. I did post this in the emfile forum..

  • If I may, I've dropped your code into my project but the call to GUI_ExecCreatedDialog() in _DoMenu() never returns. My project is a FreeRTOS based project so maybe it has to do with the other call to GUI_Delay() in the UI Thread? Does that make sense? Oh.. I think I see. .It doesn't return until the dialog is closed. So I must not be getting touches to it. I am submitting touch events in another thread.

  • Are you calling DeInit() and then Init() after waking?

  • I have successfully implemented multi-touch. now I am curious how one can have some elements of gestures working on windows that have controls like sliders, etc. The Pan takes over any sliding movement so one can no longer drag slider thumbs. I have never used this feature yet so I am just asking in case there is a something I am missing. Thank you.

  • emWin MultiTouch/Gesture question

    jona - - emWin related

    Post

    Working with multi-touch on a STM32F746 Discovery with the FT5336. I have an app that has only been using single touch events up until now. I have implemented code from your examples using _CreateInput, CreateUpInputs, etc. I can see touch events and gesture events coming through but when a single touch UP even is sent, it contains the UP flag and x,y are 0. I do have a control at 0,0 in my windows. Almost all of my buttons and touch events occur on WM_NOTIFICATION_RELEASED. SO , when a finger i…

  • 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.