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.

  • LISTVIEW_SetItemBitmap

    crivelma - - emWin related

    Post

    Hi all. I have an issue regarding the creation of a page with emWin that is using LISTVIEW_SetItemBitmap. I want to put all bitmap on flash filesystem and load them one by one with LISTVIEW_SetItemBitma. The fact is that the function require a (const GUI_BITMAP *) so I create a SRAM buffer with this structure that I use as temporary storage. So the code looks like: guiGenData = GUIResourceLoadBitmap( image1 ) ; LISTVIEW_SetItemBitmap( hListId, 0, row, 0, 0, (const GUI_BITMAP *)&guiGenData ); gui…

  • Hi, I don't understand well how to use WM_Update() if I have the multibuffer enabled. Is it possible? Is there same kind of example? Regards, MC

  • Memory test failed in _InitOnce

    crivelma - - emWin related

    Post

    Hi. I receive the message in the subjuct during my board init. Running step by step with my debugger I see that the init fail around this piece of code of GUI_Alloc: // // Test 8 bit access // NumItems = NumBytes; for (j = 0; j < 2; j++) { pByte = (U8 *)Addr; for (i = 0; i < NumItems; i++) { Byte = (i + j) % 255; *pByte++ = Byte; } pByte = (U8 *)Addr; for (i = 0; i < NumItems; i++) { Byte = *pByte++; if (Byte != (U8 ((i + j) % 255)) { return 1; // 8 bit access error } } } Could you explain which…

  • TIVA emWin RemoveFreeBlock

    crivelma - - emWin related

    Post

    Hi Adrian. Below my code, this is the sample that I call every 1 second. HWinMain is the handle of foreground window. if( hWinMain ) { // // Live display // hItem = WM_GetDialogItem(hWinMain, ID_TEXT_3); strcpy( tmpString, appMain.config.message.general.live_display_1 ); strcat( tmpString, ": " ); AppDataGetTemperature( tmpValue, appData.test.control.t_current, 1 ); strcat( tmpString, tmpValue ); TEXT_GetText( hItem, tmpValue, 40 ); if( strcmp( tmpValue, tmpString) != 0 ) { TEXT_SetText(hItem, t…

  • WM attached and child windows

    crivelma - - emWin related

    Post

    Hi, I don't understand the mechanism of main window , attached window and child window. For example, when I create a window and then I attach a new one in a small rectangular, when I destroy the main window automatically is it destroyed also the attached window? If I use a child window is it the same? MC

  • TIVA emWin RemoveFreeBlock

    crivelma - - emWin related

    Post

    Honestly, I don't understand which handler you mean. I have a static page where I update with TEXT a timecounter. The only handler is the textbox. Regards, MC

  • TIVA emWin RemoveFreeBlock

    crivelma - - emWin related

    Post

    Hi Adrian, what do you mean as handlers? Can you tell me an example of a clean procedure to do that. Thanks in advance. MC

  • TIVA emWin RemoveFreeBlock

    crivelma - - emWin related

    Post

    All, I've integrated emWIN in my TIVA project with TI-RTOS. I'm using windows manager with memdev option and my application consist of a semi-static screen with an update every one second (only text fields). The issue I see is that after a random time of free running (from 30 sec to 31 h) an exception rise up on my TIVA C129 and in my exception call stack I see: RemoveFreeBlock AddFreeBlock Gui_Alloc The exception signalled by ARM is number 11 (SVCAll exception), and my debug version of the prog…

  • TIVAC129 Raster driver

    crivelma - - emWin related

    Post

    Thanks for your replay. Just a bit more information about the WM. I know that WM can us multiple buffer in order to avoid flickering between frame changes. Which is the correct init sequence to activate this feature? MC

  • TIVAC129 Raster driver

    crivelma - - emWin related

    Post

    Hi. I'm setting up the driver for LCD controller for TIVAC129. I'm able to fill-up correctly the frmae buffer with the screen produced by WM (widget, dialog). The issue is that I need to re-enable the LCD controller in order to see the window on my LCD. May be the DMA trasnfer conflict with frame buffer write of WM? Can you help me to find a correct set up for LCD controller? Thanks in advance. MC