I working on zephyr, but it is not a case.
Until i installed mcuxpresso i can't flash cpu using jlink.
I found the command west flash fails and invoked it myself in JLinkExe.
so: J-Link>LoadFile zephyr.bin 0x60000000
i get:
'loadfile': Performing implicit reset & halt of MCU.
ResetTarget() start
ResetTarget() end
AfterResetTarget() start
AfterResetTarget() end
Downloading file [zephyr.bin]...
****** Error: Timeout while preparing target, core does not stop. (PC = 0x2000017E, XPSR = 0x41000000, SP = 0x20000B18)!
Failed to perform RAMCode-sided Prepare()
Unspecified error -1
I really don't know how to find solution.
Solved! Go to Solution.
Sorry for slow answer.
It turns out the problem was with newest jlink linux drivers, after downgraded everything work.
This is a late response, but I consistently experience this issue with J-Link and MIMXRT1064. It is seemingly related to the J-Link version, but has anyone at NXP tested a fresh install recently? J-Link debugging while, for example, the SDK example Blinky is running in onboard flash is unusable. I've tested many different J-Links, all with the same issue.
MCU-Link-Pro doesn't have these issues.
Sorry for slow answer.
It turns out the problem was with newest jlink linux drivers, after downgraded everything work.
Hi @gronoarona ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
I was wondering if you can illustrate the steps of replicating the programming failure.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------
Are you using i.MXRT? Which part? Which board and flash?