Search Results

Search results 1-20 of 50.

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

  • I am able to build a firmware that resides in QSPI and that is loaded into ITCM from the ROM bootloader at startup. What happens, for example on the EVKB, is that J-Link correctly writes the FW in QSPI flash then sets the program counter at the entry point. Unfortunately, in this way, what is being executed is not the firmware just written, but the one that was running before writing, because the RAM is not touched by J-Link. It should be the ROM bootloader that populates the RAM. I would like t…

  • We have a custom board project equipped with two i.MX RT1051. We would like to use the JTAG connection, instead of the SWD, in order to link the two MCUs, as shown here en.wikipedia.org/wiki/JTAG#Daisy-chained_JTAG_(IEEE_1149.1) [img]https://upload.wikimedia.org/wikipedia/commons/c/c9/Jtag_chain.svg[/img] so we can only use one program/debug connector. The preliminary step for us is to make the JTAG connection work on EVKB (taking care to pull up the JTAG_MOD signal). However, the connection is …

  • I wonder what are the differences between WM_IsCompletelyCovered(), WM_IsCompletelyVisible() and WM_IsVisible(). For example if I have a hidden window? Or if my window is only partially covered? best regards Max

  • maybe I didn't explain myself well: I am perfectly aware of the manual and of the existence of the described procedure. I wondered if J-Link would offer any shortcuts to do this, given the criticality: they are one time programmable, and an error could compromise the chip irreversibly. Moreover, the programming of the QSPI also involves an algorithm of several steps. However, this is provided by J-Link as functionality. In any case, I understand that Segger has not addressed with the issue leavi…

  • Using J-link I can connect and debug my i.MX RT1051. I need to program the OTP eFuses to make my board boot from QSPI (I cannot use boot pins) Which J-Link commands I need? best regards Max

  • pattern fill

    mastupristi - - emWin related

    Post

    Is it possible to fill a rectangle with a pattern, for example a chess (one pixel of a color and a one pixel black)? something like this forum.segger.com/index.php/Att…d26fb97ee5b62e133d30202ee

  • understand MEMDEV better.

    mastupristi - - emWin related

    Post

    This was only an example. I have to draw the content of a portion of a window using differnt colors. Maybe I can use clipping rectangle best regards Max

  • understand MEMDEV better.

    mastupristi - - emWin related

    Post

    I caught your point. However, there are some details of your code that I would like to discuss in _cbWin0() at line 38 you declare hMemOverlay as static. This is a problem if you create two windows using _cbWin0. Two GUI_MEMDEV_Handle objects are created in memory but the first created will become orphan since the second one will overwrite the handle hMemOverlay (that is the only one static handle). and both windows will use the same (the second one created) MEMDEV. This can be This can be corre…

  • understand MEMDEV better.

    mastupristi - - emWin related

    Post

    Hi, I have a small sample code: C Source Code (62 lines) the result of this code is: forum.segger.com/index.php/Att…d26fb97ee5b62e133d30202ee This is strange and counterintuitive. I created a square MEMDEV of side 10 and filled it with white and then wrote it down at position 5,5. Really GUI_*() functions work in the coordinates of the window (in the example there is GUI_DrawRect()) while GUI_MEMDEV_WriteAt() works in absolute coordinates? Then I try to put an offset to the GUI_MEMDEV_WriteAt():…

  • What happens if I call the LISTWHEEL_MoveToPos() function while the LISTWHEEL is moving? Is the request ignored? Is the request queued and executed at the end of the current movement? Is the current movement being overridden by the new request? best regards Max

  • Is it possible to animate the change of selection of ListBoxes and ListView similarly to how ListWheel is implemented? Could you give me a suggestion on how to do it? best regards Max

  • I need ListWheel not to wrap around elements. That is: above the first element, instead of showing the last element, do not draw anything. And equally under the last item should not display anything. Is it possible to configure ListWheel to have this behavior? Alternatively, how can I achieve such behaviour? best regards Max

  • Can the MOTION feature of the window manager be used without the use of the touch screen or another pointer input device? Like the example MOTION_OverlapByWindow.c, I have a multi-page window, but I have hardkeys instead of touch screens. What function or message should I use to trigger movement from one page to another? best regards Max

  • I tried to get the size of the background window: C Source Code (17 lines) and size il 16383 for both x and y, whether I use the WM_GetWindowSize*() or WM_GetInsideRectEx() functions. Why? I expected the size of the background window to be the same as the size of the LCD. Am I making a mistake? best regards Max

  • I read thist post, but I'm puzzled. I tried to convert the Tahoma Bold 13 to a standard font (not extended). I attached the c file created (with txt extension). I then made a program to display the printable characters ASCII first with the embedded font 13B and then with the one I created. I have also attached those screenshot. If you see the result it is surprisingly identical. I find it hard to think that this is a coincidence. I am more inclined to think that Segger started from Tahoma to mak…

  • I was able to establish that the GUI_FONT_13B_ASCII font is based on the TrueType Tahoma font. With Font Converter I verified the equality of about ten characters and numbers. I wonder which font the GUI_FONT_16B_ASCII is based on. best regards Max

  • How can I add characters (symbols) to an existing font? best regards Max

  • in the emWin 5.40 reference manual I find: -------------------------------- WM_GetInsideRect() Description Returns the coordinates of the client area of the active widget less the border size. The function sends a message to the active window to retrieve the inside rectangle. If the widget does not handle the message (that means the widget has no border) WM_GetClientRect will be used to calculate the rectangle. The result is given in win- dow coordinates. That means x0 and y0 of the GUI_RECT str…

  • What is the best way to visualize the animation of an hourglass or gears that rotate to be shown in a waiting popup? best ragards

  • I found that some functions should not be called when processing the WM_PAINT message: [img]https://s10.postimg.org/6qmdcp461/WM_PAINT.png[/img] I wonder if this also applies to WM_PRE_PAINT and WM_POST_PAINT, and in general for which other messages this applies. best regards Max