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.