Jlink flash load problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jlink flash load problem

Jump to solution
2,067 Views
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 Kudos
1 Solution
2,023 Views
gronoarona
Contributor II

Sorry for slow answer.

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

View solution in original post

0 Kudos
4 Replies
1,783 Views
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 Kudos
2,024 Views
gronoarona
Contributor II

Sorry for slow answer.

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

0 Kudos
2,047 Views
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 Kudos
2,052 Views
jay_heng
NXP Employee
NXP Employee

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

0 Kudos