Cannot read from or write into the MCU flash memory using Segger J-Flash tool (Using the J-Link Plus tool).
Successfully can connect to MCU.
Reading form flash memory has not happening and the error message is shown below.
Need your support in fixing this problem
Hi @Jayasankar ,
Please tell me which RT1176 board you are using? The NXP MIMXRT1170-EVK ?
In fact, we need to know what's the external flash you are using, this will determine you can success with JLINK or not, your issue is caused by you use the wrong flashdriver in the JLINK.
Take an example, you need to use octal flash, but you use the qspi flash driver, then it will be failed.
So, please let me know your board situation and flash.
Best Regards,
Kerry
The MCU type we use is MIMXRT1171AVM8A with OctalSPI flash memory (MX25UW6445G).
Hi @Jayasankar ,
JLINK in default is using the QSPI flash, and the EVK in default is the QSPI flash.
If you want to use the octal flash, I suggest you try the RT-UFL, which I shared the doc in this link:
https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1170-Octal-flash-enablement/ta-p/1498369
If you still have a question about it, just kindly let me know.
Best Regards,
Kerry
Hello @kerryzhou
The target device is not visible after copying the Device and JLinkDevice.xml fie into JFlash directory. Is there something to run before starting JFlashExe command. So that the newly copied devices would relect in the JFlash window.
Hi @Jayasankar ,
Please try to input:
MIMXRT1170_UFL
Maybe the search engine in the JFLASH is not good, on my side, I can find it.
Best Regards,
Kerry
Hello Kerry,
I cannot find the target and shared the screenshot below.
I tried with multiple version of JFlash like V786f, V786h and V767d. But the newly copied devices are not showing in JFlashExe. Could you please share your Jflash package if possible.
Hi @Jayasankar ,
I download the newest Segger driver:
https://www.segger.com/downloads/jlink/JLink_Windows_V788a_x86_64.exe
After install it, then I add my related code:
Unzip my attached file, you will get:
You can copy it to the JLINK install path:
C:\Program Files\SEGGER\JLINKV788A\JLink
You can find, I can find the related RT117X
Please try it again.
Wish it helps you!
Best Regards,
Kerry
Hi @kerryzhou
As you could see in above pictures, I am working with Linux host machine. Hope it should work in Linux as well. Can you please confirm once.
Hi @Jayasankar ,
In your linux version, do you also do my related configuration or not?
If yes, I think you need to check with Segger side, it means the Segger software Linux version have issues, and our NXP also can't do the modification, you can check with Segger side:
https://www.segger.com/support/technical-support/
Best Regards,
kerry
Hi @Jayasankar
We are in the May Day Vocation now, if you have any updated information, I will reply you after back to work from 5.4, thanks a lot for your understanding.
Best Regards,
Kerry