Old install works just fine, but a new install of mcu expresso is unable to connect to my jlink and debug. I have uninstalled and reinstalled multiple times. Tried 64 bit jlink and 32 bit jlink. What is the deal. I saw an earlier forum post with some wierd patch to install. But shouldnt this just work??????
Can I escalate this to a FAE
Why does it need to go into serial download mode?
When I can download and debug on older installations?
Why would I need yet another tool made by someone else when you have an IDE that is supposed to have everything taken care of?
Why can I not just use JFLASH to blank the rom?
Also why on gods green earth cant I just use a jlink device to do this. Why does it need some serial downloader????
I am sorry for any misunderstanding.
The MCUBootUtility (created by one of our colleagues) it is an optional tool to erase and program the RT while we try to regain debug access. The MCUXpresso and the J-link tools can also be used , but they work over SWD/ JTAG. Sometimes we could face issues with SWD, therefore using UART/USB protocols (MCUBootUtility) we can communicate with the RT
We typically recommend set the i.MX RT processors into serial downloader mode, to regain debug access, this step when the RT enters this mode, the main application is no longer booted, also in this mode could be easier to perform a mass erase and update a new application. This process can be done using SWD (J-link) or UART/USB (MCUBootUtility). The deal here is stop the main application using the serial downloader mode, clean the older application and debug the new one.
The steps to do it is:
you can choose the version of MCUXpresso that you want to use in the following page: Design : Product Information : MCUXpresso IDE (flexnetoperations.com)
I hope this information help you!!
Downloading 16352 bytes @ address 0x6009BFA0 - Verified OK
Downloading 128 bytes @ address 0x6009FF80 - Verified OK
Downloading 16352 bytes @ address 0x600A0000 - Verified OK
Downloading 16352 bytes @ address 0x600A3FE0 - Verified OK
Downloading 16352 bytes @ address 0x600A7FC0 - Verified OK
Downloading 16352 bytes @ address 0x600ABFA0 - Verified OK
Downloading 128 bytes @ address 0x600AFF80 - Verified OK
Downloading 16352 bytes @ address 0x600B0000 - Verified OK
Downloading 16352 bytes @ address 0x600B3FE0 - Verified OK
Downloading 16352 bytes @ address 0x600B7FC0 - Verified OK
Downloading 16352 bytes @ address 0x600BBFA0 - Verified OK
Downloading 128 bytes @ address 0x600BFF80 - Verified OK
Downloading 16352 bytes @ address 0x600C0000 - Verified OK
Downloading 16352 bytes @ address 0x600C3FE0 - Verified OK
Downloading 16352 bytes @ address 0x600C7FC0 - Verified OK
Downloading 16352 bytes @ address 0x600CBFA0 - Verified OK
Downloading 128 bytes @ address 0x600CFF80 - Verified OK
Downloading 16352 bytes @ address 0x600D0000 - Verified OK
Downloading 16352 bytes @ address 0x600D3FE0 - Verified OK
Downloading 16352 bytes @ address 0x600D7FC0 - Verified OK
Downloading 16352 bytes @ address 0x600DBFA0 - Verified OK
Downloading 128 bytes @ address 0x600DFF80 - Verified OK
Downloading 16352 bytes @ address 0x600E0000 - Verified OK
Downloading 16352 bytes @ address 0x600E3FE0 - Verified OK
Downloading 16352 bytes @ address 0x600E7FC0 - Verified OK
Downloading 16352 bytes @ address 0x600EBFA0 - Verified OK
Downloading 128 bytes @ address 0x600EFF80 - Verified OK
Downloading 16352 bytes @ address 0x600F0000 - Verified OK
Downloading 16352 bytes @ address 0x600F3FE0 - Verified OK
Downloading 16352 bytes @ address 0x600F7FC0 - Verified OK
Downloading 16352 bytes @ address 0x600FBFA0 - Verified OK
Downloading 128 bytes @ address 0x600FFF80 - Verified OK
Downloading 16352 bytes @ address 0x60100000 - Verified OK
Downloading 16352 bytes @ address 0x60103FE0 - Verified OK
Downloading 16352 bytes @ address 0x60107FC0 - Verified OK
Downloading 16352 bytes @ address 0x6010BFA0 - Verified OK
Downloading 128 bytes @ address 0x6010FF80 - Verified OK
Downloading 16352 bytes @ address 0x60110000 - Verified OK
Downloading 16352 bytes @ address 0x60113FE0 - Verified OK
Downloading 16352 bytes @ address 0x60117FC0 - Verified OK
Downloading 16352 bytes @ address 0x6011BFA0 - Verified OK
Downloading 128 bytes @ address 0x6011FF80 - Verified OK
Downloading 16352 bytes @ address 0x60120000 - Verified OK
Downloading 16352 bytes @ address 0x60123FE0 - Verified OK
Downloading 16352 bytes @ address 0x60127FC0 - Verified OK
Downloading 16352 bytes @ address 0x6012BFA0 - Verified OK
Downloading 128 bytes @ address 0x6012FF80 - Verified OK
Downloading 16352 bytes @ address 0x60130000 - Verified OK
Downloading 16352 bytes @ address 0x60133FE0 - Verified OK
Downloading 16352 bytes @ address 0x60137FC0 - Verified OK
Downloading 16352 bytes @ address 0x6013BFA0 - Verified OK
Downloading 128 bytes @ address 0x6013FF80 - Verified OK
Downloading 16352 bytes @ address 0x60140000 - Verified OK
Downloading 16352 bytes @ address 0x60143FE0 - Verified OK
Downloading 16352 bytes @ address 0x60147FC0 - Verified OK
Downloading 16352 bytes @ address 0x6014BFA0 - Verified OK
Downloading 128 bytes @ address 0x6014FF80 - Verified OK
Downloading 16352 bytes @ address 0x60150000 - Verified OK
Downloading 16352 bytes @ address 0x60153FE0 - Verified OK
Downloading 16352 bytes @ address 0x60157FC0 - Verified OK
Downloading 16352 bytes @ address 0x6015BFA0 - Verified OK
Downloading 128 bytes @ address 0x6015FF80 - Verified OK
Downloading 16352 bytes @ address 0x60160000 - Verified OK
Downloading 16352 bytes @ address 0x60163FE0 - Verified OK
Downloading 16352 bytes @ address 0x60167FC0 - Verified OK
Downloading 16352 bytes @ address 0x6016BFA0 - Verified OK
Downloading 128 bytes @ address 0x6016FF80 - Verified OK
Downloading 16352 bytes @ address 0x60170000 - Verified OK
Downloading 16352 bytes @ address 0x60173FE0 - Verified OK
Downloading 16352 bytes @ address 0x60177FC0 - Verified OK
Downloading 16352 bytes @ address 0x6017BFA0 - Verified OK
Downloading 128 bytes @ address 0x6017FF80 - Verified OK
Downloading 16352 bytes @ address 0x60180000 - Verified OK
Downloading 16352 bytes @ address 0x60183FE0 - Verified OK
Downloading 16352 bytes @ address 0x60187FC0 - Verified OK
Downloading 16352 bytes @ address 0x6018BFA0 - Verified OK
Downloading 128 bytes @ address 0x6018FF80 - Verified OK
Downloading 16352 bytes @ address 0x60190000 - Verified OK
Downloading 16352 bytes @ address 0x60193FE0 - Verified OK
Downloading 16352 bytes @ address 0x60197FC0 - Verified OK
Downloading 16352 bytes @ address 0x6019BFA0 - Verified OK
Downloading 128 bytes @ address 0x6019FF80 - Verified OK
Downloading 16352 bytes @ address 0x601A0000 - Verified OK
Downloading 16352 bytes @ address 0x601A3FE0 - Verified OK
Downloading 16352 bytes @ address 0x601A7FC0 - Verified OK
Downloading 16352 bytes @ address 0x601ABFA0 - Verified OK
Downloading 128 bytes @ address 0x601AFF80 - Verified OK
Downloading 16352 bytes @ address 0x601B0000 - Verified OK
Downloading 16352 bytes @ address 0x601B3FE0 - Verified OK
Downloading 16352 bytes @ address 0x601B7FC0 - Verified OK
Downloading 16352 bytes @ address 0x601BBFA0 - Verified OK
Downloading 128 bytes @ address 0x601BFF80 - Verified OK
Downloading 16352 bytes @ address 0x601C0000 - Verified OK
Downloading 16352 bytes @ address 0x601C3FE0 - Verified OK
Downloading 16352 bytes @ address 0x601C7FC0 - Verified OK
Downloading 16352 bytes @ address 0x601CBFA0 - Verified OK
Downloading 128 bytes @ address 0x601CFF80 - Verified OK
Downloading 16352 bytes @ address 0x601D0000 - Verified OK
Downloading 16352 bytes @ address 0x601D3FE0 - Verified OK
Downloading 16352 bytes @ address 0x601D7FC0 - Verified OK
Downloading 16352 bytes @ address 0x601DBFA0 - Verified OK
Downloading 128 bytes @ address 0x601DFF80 - Verified OK
Downloading 16352 bytes @ address 0x601E0000 - Verified OK
Downloading 16352 bytes @ address 0x601E3FE0 - Verified OK
Downloading 16352 bytes @ address 0x601E7FC0 - Verified OK
Downloading 16352 bytes @ address 0x601EBFA0 - Verified OK
Downloading 128 bytes @ address 0x601EFF80 - Verified OK
Downloading 16352 bytes @ address 0x601F0000 - Verified OK
Downloading 16352 bytes @ address 0x601F3FE0 - Verified OK
Downloading 16352 bytes @ address 0x601F7FC0 - Verified OK
Downloading 16352 bytes @ address 0x601FBFA0 - Verified OK
Downloading 128 bytes @ address 0x601FFF80 - Verified OK
Downloading 16352 bytes @ address 0x60200000 - Verified OK
Downloading 16352 bytes @ address 0x60203FE0 - Verified OK
Downloading 16352 bytes @ address 0x60207FC0 - Verified OK
Downloading 16352 bytes @ address 0x6020BFA0 - Verified OK
Downloading 128 bytes @ address 0x6020FF80 - Verified OK
Downloading 16352 bytes @ address 0x60210000 - Verified OK
Downloading 16352 bytes @ address 0x60213FE0 - Verified OK
Downloading 16352 bytes @ address 0x60217FC0 - Verified OK
Downloading 16352 bytes @ address 0x6021BFA0 - Verified OK
Downloading 128 bytes @ address 0x6021FF80 - Verified OK
Downloading 16352 bytes @ address 0x60220000 - Verified OK
Downloading 16352 bytes @ address 0x60223FE0 - Verified OK
Downloading 16352 bytes @ address 0x60227FC0 - Verified OK
Downloading 16352 bytes @ address 0x6022BFA0 - Verified OK
Downloading 128 bytes @ address 0x6022FF80 - Verified OK
Downloading 16352 bytes @ address 0x60230000 - Verified OK
Downloading 16352 bytes @ address 0x60233FE0 - Verified OK
Downloading 16352 bytes @ address 0x60237FC0 - Verified OK
Downloading 16352 bytes @ address 0x6023BFA0 - Verified OK
Downloading 128 bytes @ address 0x6023FF80 - Verified OK
Downloading 16352 bytes @ address 0x60240000 - Verified OK
Downloading 16352 bytes @ address 0x60243FE0 - Verified OK
Downloading 16352 bytes @ address 0x60247FC0 - Verified OK
Downloading 16352 bytes @ address 0x6024BFA0 - Verified OK
Downloading 128 bytes @ address 0x6024FF80 - Verified OK
Downloading 16352 bytes @ address 0x60250000 - Verified OK
Downloading 16352 bytes @ address 0x60253FE0 - Verified OK
Downloading 16352 bytes @ address 0x60257FC0 - Verified OK
Downloading 16352 bytes @ address 0x6025BFA0 - Verified OK
Downloading 128 bytes @ address 0x6025FF80 - Verified OK
Downloading 16352 bytes @ address 0x60260000 - Verified OK
Downloading 16352 bytes @ address 0x60263FE0 - Verified OK
Downloading 16352 bytes @ address 0x60267FC0 - Verified OK
Downloading 16352 bytes @ address 0x6026BFA0 - Verified OK
Downloading 128 bytes @ address 0x6026FF80 - Verified OK
Downloading 16352 bytes @ address 0x60270000 - Verified OK
Downloading 16352 bytes @ address 0x60273FE0 - Verified OK
Downloading 16352 bytes @ address 0x60277FC0 - Verified OK
Downloading 16352 bytes @ address 0x6027BFA0 - Verified OK
Downloading 128 bytes @ address 0x6027FF80 - Verified OK
Downloading 16352 bytes @ address 0x60280000 - Verified OK
Downloading 16352 bytes @ address 0x60283FE0 - Verified OK
Downloading 16352 bytes @ address 0x60287FC0 - Verified OK
Downloading 16352 bytes @ address 0x6028BFA0 - Verified OK
Downloading 128 bytes @ address 0x6028FF80 - Verified OK
Downloading 16352 bytes @ address 0x60290000 - Verified OK
Downloading 16352 bytes @ address 0x60293FE0 - Verified OK
Downloading 16352 bytes @ address 0x60297FC0 - Verified OK
Downloading 16352 bytes @ address 0x6029BFA0 - Verified OK
Downloading 128 bytes @ address 0x6029FF80 - Verified OK
Downloading 16352 bytes @ address 0x602A0000 - Verified OK
Downloading 16352 bytes @ address 0x602A3FE0 - Verified OK
Downloading 16352 bytes @ address 0x602A7FC0 - Verified OK
Downloading 16352 bytes @ address 0x602ABFA0 - Verified OK
Downloading 128 bytes @ address 0x602AFF80 - Verified OK
Downloading 16352 bytes @ address 0x602B0000 - Verified OK
Downloading 16352 bytes @ address 0x602B3FE0 - Verified OK
Downloading 16352 bytes @ address 0x602B7FC0 - Verified OK
Downloading 16352 bytes @ address 0x602BBFA0 - Verified OK
Downloading 128 bytes @ address 0x602BFF80 - Verified OK
Downloading 16352 bytes @ address 0x602C0000 - Verified OK
Downloading 16352 bytes @ address 0x602C3FE0 - Verified OK
Downloading 16352 bytes @ address 0x602C7FC0 - Verified OK
Downloading 16352 bytes @ address 0x602CBFA0 - Verified OK
Downloading 128 bytes @ address 0x602CFF80 - Verified OK
Downloading 16352 bytes @ address 0x602D0000 - Verified OK
Downloading 16352 bytes @ address 0x602D3FE0 - Verified OK
Downloading 16352 bytes @ address 0x602D7FC0 - Verified OK
Downloading 16352 bytes @ address 0x602DBFA0 - Verified OK
Downloading 128 bytes @ address 0x602DFF80 - Verified OK
Downloading 16352 bytes @ address 0x602E0000 - Verified OK
Downloading 16352 bytes @ address 0x602E3FE0 - Verified OK
Downloading 16352 bytes @ address 0x602E7FC0 - Verified OK
Downloading 16352 bytes @ address 0x602EBFA0 - Verified OK
Downloading 128 bytes @ address 0x602EFF80 - Verified OK
Downloading 16352 bytes @ address 0x602F0000 - Verified OK
Downloading 16352 bytes @ address 0x602F3FE0 - Verified OK
Downloading 16352 bytes @ address 0x602F7FC0 - Verified OK
Downloading 16352 bytes @ address 0x602FBFA0 - Verified OK
Downloading 128 bytes @ address 0x602FFF80 - Verified OK
ERROR: Timeout while preparing target, core does not stop. (PC = 0x20000182, XPSR = 0x41000000, SP = 0x20000B18)!
Failed to perform RAMCode-sided Prepare()
Writing register (PC = 0x60002308)
WARNING: Failed to read memory @ address 0x6001CC12
WARNING: Failed to read memory @ address 0x60002308
Reading 64 bytes @ address 0x60002440
WARNING: Failed to read memory @ address 0x60002440
WARNING: Failed to read memory @ address 0x60002450
WARNING: Failed to read memory @ address 0x6000252C
Reading 64 bytes @ address 0x60007180
WARNING: Failed to read memory @ address 0x60007180
WARNING: Failed to read memory @ address 0x600071B4
WARNING: Failed to read memory @ address 0x600071EA
Reading 64 bytes @ address 0x60007400
WARNING: Failed to read memory @ address 0x60007400
WARNING: Failed to read memory @ address 0x6000742C
WARNING: Failed to read memory @ address 0x6000742C
Reading 64 bytes @ address 0x60019C80
WARNING: Failed to read memory @ address 0x60019C80
WARNING: Failed to read memory @ address 0x60019CBC
WARNING: Failed to read memory @ address 0x60019CCE
Reading 64 bytes @ address 0x6001AA40
WARNING: Failed to read memory @ address 0x6001AA40
WARNING: Failed to read memory @ address 0x6001AA58
WARNING: Failed to read memory @ address 0x6001AA66
Reading 64 bytes @ address 0x6001A840
WARNING: Failed to read memory @ address 0x6001A840
WARNING: Failed to read memory @ address 0x6001A864
WARNING: Failed to read memory @ address 0x6001A876
Reading 64 bytes @ address 0x60007400
WARNING: Failed to read memory @ address 0x60007400
WARNING: Failed to read memory @ address 0x6000742C
WARNING: Failed to read memory @ address 0x6000745E
Reading 64 bytes @ address 0x60007180
WARNING: Failed to read memory @ address 0x60007180
WARNING: Failed to read memory @ address 0x600071B4
WARNING: Failed to read memory @ address 0x600071F6
Reading 64 bytes @ address 0x6000E240
WARNING: Failed to read memory @ address 0x6000E240
WARNING: Failed to read memory @ address 0x6000E268
WARNING: Failed to read memory @ address 0x6000E288
WARNING: Failed to read memory @ address 0x60002308
Reading 64 bytes @ address 0x60002440
WARNING: Failed to read memory @ address 0x60002440
WARNING: Failed to read memory @ address 0x60002450
WARNING: Failed to read memory @ address 0x6000252C
Reading 64 bytes @ address 0x60007180
WARNING: Failed to read memory @ address 0x60007180
WARNING: Failed to read memory @ address 0x600071B4
WARNING: Failed to read memory @ address 0x600071EA
Reading 64 bytes @ address 0x60007400
WARNING: Failed to read memory @ address 0x60007400
WARNING: Failed to read memory @ address 0x6000742C
WARNING: Failed to read memory @ address 0x6000742C
Reading 64 bytes @ address 0x60019C80
WARNING: Failed to read memory @ address 0x60019C80
WARNING: Failed to read memory @ address 0x60019CBC
WARNING: Failed to read memory @ address 0x60019CCE
Reading 64 bytes @ address 0x6001AA40
WARNING: Failed to read memory @ address 0x6001AA40
WARNING: Failed to read memory @ address 0x6001AA58
WARNING: Failed to read memory @ address 0x6001AA66
Reading 64 bytes @ address 0x6001A840
WARNING: Failed to read memory @ address 0x6001A840
WARNING: Failed to read memory @ address 0x6001A864
WARNING: Failed to read memory @ address 0x6001A876
Reading 64 bytes @ address 0x60007400
WARNING: Failed to read memory @ address 0x60007400
WARNING: Failed to read memory @ address 0x6000742C
Hi Anthony,
I have a recommendation to solve this problem, please switch to serial download mode and clear the flash, then switch to internal mode and debug, I truly recommend using MCUBootUtility to clear the flash. Download it from https://github.com/JayHeng/NXP-MCUBootUtility, in that page find the steps to install and use the tool.
You can consult the following post there are a similar error: Solved: RT1064+Jlink debug issue - NXP Community
I hope this information help you
Regards
Old PC is windows 10 with JTRACE hooked up
New PC is windows 11 with same jtrace
Custom board running QSPI Flash
Version of SDK 2.10.1
Version of mcu expresso is 11.5.7 I think because even the old install is upgraded now
https://community.nxp.com/t5/MCUXpresso-IDE/Using-QSPI-Flash-in-RT1060-with-MCUXpresso-v11-6-0-in-J-...
The new pc can connect and debug but can not download new code to it. It fails saying it cant read or write to addresses within the flash space. The project has the propper file as the flash loader. This just works on the old install. Why does the new install require a patch.
I tried using both the bundled version of segger and the not bundled versions of segger. I noticed now on the JFLASH interface I had to chose that it was qspi and not hyperflash.
I just know that my other computer with an old install works fine. This was a new windows 11 machine. It would connect to the debugger but it will not download the code to the board. It does build just fine. I am using a JLINK. I tried both the version installed by mcu expresso and the one that you can download from segger. I noted that to use jflash I had to change the chip from hyper flash to quad spi. I think that is the problem, but the silly project has the right flash loader in it.
the version of the SDK is 2.10.1 the version of MCU EXPRESSO is 11.5.7. I believe As I have even updated the old comp to the latest mcu expresso and it works.
The forum post with the patch requirements.
Hi Anthony thanks for contact us I am glad of help
Please share with me the following information to understand better this issue:
Thanks in advance