Can't flash/debug our MIMXRT1064-EVK

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can't flash/debug our MIMXRT1064-EVK

4,132件の閲覧回数
florian_fouille
Contributor II

Hi,

I'm using the MIMXRT1064-EVK with the MCUXpresso IDE (v11.0.0 [Build 2516] [2019-06-05]) for a project.

We've been able to flash and debug the example and play with it. we tried to flash with one of our program and we can't flash anything anymore.

we are getting the following errors:

Error in final launch sequence:

Error: Unable to configure core for probe index 1.
Wire not connected

LinkServer has been terminated and will be restarted.
Please restart your debug session.
If the problem recurs, please power cycle your debug probe and restart MCUXpresso IDE.
Error: Unable to configure core for probe index 1.
Wire not connected

LinkServer has been terminated and will be restarted.
Please restart your debug session.
If the problem recurs, please power cycle your debug probe and restart MCUXpresso IDE.

(you can find the screenshot in attachment)


We try to:

=> reset the board with the buttons

=> Clear the memory with the IDE

=> https://mcuoneclipse.com/2019/01/02/regaining-debug-access-of-nxp-i-mx-rt1064-evk-executing-wfi/?_sm... (we could not get the NXP-MCUBootUtility to launch)

=> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.nxp.com%2Fthread%2F38911... (we try the "vector catch")

The dip switch are set to Internal flash and all jumpers are in their initial position.

Do you have a solution for us?

Thank you,

4 返答(返信)

3,792件の閲覧回数
florian_fouille
Contributor II

Hi,


We solved the issue. This is how we did:

1) Set the board to Serial Download boot mode. This can be done by setting SW7 with the following values:

SW7:1

SW7:2

SW7:3

SW7:4

0

0

0

1

2) Connect the board to your computer using the debug USB port. It should appear in File Explorer as “RT1064-evk (D:)”.

 


3) Copy and Paste a known good image file (*.axf file) into “RT1064-evk (D:)”. 

4) power off the board.

 

Set the board to Internal Flash boot mode. This can be done by setting SW7 with the following values:

SW7:1

SW7:2

SW7:3

SW7:4

0

0

1

0

 

 

 

5) Reconnect the board and you should have access to the debugger.

Thank you

3,793件の閲覧回数
ping1
Contributor V

Where can I find the image file(.axf) for EVK pls?

0 件の賞賛
返信

3,793件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Florian Fouillet,

Thanks for your reply.
Glad to hear that your issue has been solved.:smileylaugh:
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 件の賞賛
返信

3,794件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Florian Fouillet,

Thank you for your interest in NXP Semiconductor products and
for the opportunity to serve you.
I'd like to confirm that the MIMXRT1064 would be non-programmable after programming one of your programs, even example demos is disabled to be programmed again, is it right?
Meanwhile, I'd like you can try these below methods to fix this issue.
1. Update the firmware of the on-board debugger OpenSDA.
2. Adapt the SW7 to select Serial Downloader mode, then try to program the i.MX RT1064 under this mode, then recover to the Interteral Boot to boot.
BTW, you can download the NXP-MCUBootUtility via the link
https://github.com/JayHeng/NXP-MCUBootUtility/releases/tag/v1.4.0

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 件の賞賛
返信