Search Results

Search results 1-20 of 58.

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

  • Hello, I'm using JLink 7.98h, JLink Ultra+, and I'm trying to write QSPI flash of a RT1170-EVKB evaluation board. I can do this by connecting to CM7 core, but when I try to use CM4 I have some problems: For example this is the JFlashExe screenshot: forum.segger.com/index.php/Att…5d0b941e359d77b6b34e13af2 I can successfully connect to core but it fails to erase flash: I attach forum.segger.com/index.php/Att…5d0b941e359d77b6b34e13af2 Where am I wrong? How to make it works? best regards Max

  • Hello, I traced the process of writing a FW in flash using a logic state analyzer. I was able to observe some very questionable behaviors. The file is quite large, and even its decoding contains more than 3,000 commands. However, there are some peculiarities that I would like to discuss with you Reads take place byte by byte I was able to observe that the memory reads, in the initial comparison and in the final verification are done using the 0x6B command, but one byte at a time. In this way, re…

  • hi, I use RT1176 and i have to write flash (mapped to 0x30000000) The FW is divided into two parts, - a first part called the boot header exactly 8K in size - a second part which is the actual application and starts at offset 0x2000. For each of the two parts I have an elf file. How do I write both parts into the flash using a script? I tried the following script: Source Code (9 lines) But I get a timeout error when trying to write the second part: Source Code (107 lines)in particular I notice t…

  • 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…5d0b941e359d77b6b34e13af2

  • 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…5d0b941e359d77b6b34e13af2 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