Jlink flash load problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Jlink flash load problem

跳至解决方案
7,164 次查看
gronoarona
Contributor II

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. 

 

 

0 项奖励
回复
1 解答
7,120 次查看
gronoarona
Contributor II

Sorry for slow answer.

It turns out the problem was with newest jlink linux drivers, after downgraded everything work.

在原帖中查看解决方案

0 项奖励
回复
4 回复数
6,880 次查看
max3
Contributor I

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.

0 项奖励
回复
7,121 次查看
gronoarona
Contributor II

Sorry for slow answer.

It turns out the problem was with newest jlink linux drivers, after downgraded everything work.

0 项奖励
回复
7,144 次查看
jeremyzhou
NXP Employee
NXP Employee

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.
------------------------------------------------------------------------------

0 项奖励
回复
7,149 次查看
jay_heng
NXP Employee
NXP Employee

Are you using i.MXRT? Which part? Which board and flash?

0 项奖励
回复