Search Results
Search results 1-20 of 60.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Hi, Re-reading this old post I read about “SetFlashDLNoRMWThreshold”, so I said to myself, “Why not try this as well?” I modified the script like this: Source Code (4 lines)And works!!! Now you can help me answer the question, “Why does it work?” regards Max
-
Hi, we have a bit of a problem with FWs larger than 57344 bytes (0xe000 in hexadecimal), that run XIP from flash, and we connect to CM4. We were also able to reproduce the problem with an example SDK (which I attach) on MCUXpresso IDE v11.10.0 [Build 3148] and running on EVKB, and JLink (tested 7.98h and .7.96o) In fact, the FW resides in flash at address 0x08002000 (but I have also tried having it reside at 0x08012000, with the same results) The flash is correctly written in all cases. If the F…
-
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…909060b7945340b4ccfc66352 I can successfully connect to core but it fails to erase flash: I attach forum.segger.com/index.php/Att…909060b7945340b4ccfc66352 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 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'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…
-
pattern fill
PostIs 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…909060b7945340b4ccfc66352
-
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…
-
Hi, I have a small sample code: C Source Code (62 lines) the result of this code is: forum.segger.com/index.php/Att…909060b7945340b4ccfc66352 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():…