Search Results

Search results 1-20 of 55.

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

  • I would like to automate the writing of flash. The problem is that the file name to write changes from time to time depending on the version. Is there any way using a parametrized command or script file so that the filename to write becomes a parameter? best regards Max

  • I work with RT1051 and I have a project contained and executed in RAM. I wrote a command file to automate loading and execution: Source Code (11 lines)Every version I make <ENTRYPOINT> can change, forcing me to introspect the produced binary. To automate this aspect as well, how could I do it? For example, is it possible to pass parameters from JLink command line to CommandScript? Or is it possible to declare variables inside the script that I would populate by reading the content of a specific …

  • Is the source code of i.MXRT1050_QSPI flashloader available? I would need to see how the pins, clocks, and MPU are configured. I hope and believe there is nothing to keep hidden since the hidden part is distributed as a pre-compiled library (SEGGER_OFL_Lib_CortexM_LE.a). I'm just talking about startup code and the various functions to populate as explained in the wiki page wiki.segger.com/Open_Flashloader best regards Max

  • I have a board that mounts RT1051 and QSPI. How do I select that type of memory, since I believe HyperFlash is selected by default? best reagards Max

  • I'm having trouble with an RT1061. I am attaching the log file. The J-Link works since I can write and debug FW in RAM. Flash works since my FW in ram can read and write flash correctly. Also J-Link can read the content of the flash. The power supply is stable and the clock is working. The error is: Brainfuck Source Code (22 lines) What are the reasons why it can fail like this?

  • 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…51551d70adf077c29c9e4d387

  • 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…51551d70adf077c29c9e4d387 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…