CMSIS-Dap Connection Error

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

CMSIS-Dap Connection Error

ソリューションへジャンプ
5,402件の閲覧回数
Flo1989
Contributor III

Hello,

i have a Problem to connect my iMXRT1170 Evalboard via the On-Board Debugger with MCUExpresso. If i press the Debug Button, loaded the Blinky example before, i get the error message "An internal error occurred during: "Opening RedlinkServer telnet session...""

Flo1989_0-1634282304149.pngFlo1989_1-1634282334178.png

 

In the device Manager from Windows i see the CMSIS-Dap:

Flo1989_2-1634282404628.png

In the Details.txt of the Eval-Board is the Version:

Flo1989_3-1634282477926.png

Disabling of the Firewall was not successful. I also can connect and load a Example via Qt Creator.

Does anybody have a solution for this Problem?

Thanks,

Florian

 

 

タグ(1)
0 件の賞賛
1 解決策
3,963件の閲覧回数
Flo1989
Contributor III

The solution was to reinstall the whole OS on my PC (Windows 10)

元の投稿で解決策を見る

0 件の賞賛
13 返答(返信)
3,964件の閲覧回数
Flo1989
Contributor III

The solution was to reinstall the whole OS on my PC (Windows 10)

0 件の賞賛
5,363件の閲覧回数
stefanopietrosa
Contributor II

Hi

I started getting this same error with Redlink after the latest Windows 10 update (https://support.microsoft.com/en-gb/topic/october-12-2021-kb5006670-os-builds-19041-1288-19042-1288-...). Could it be the cause?

At the moment I can't seem to be able to launch any debug sessions.

Cheers
Stefano

0 件の賞賛
5,341件の閲覧回数
Flo1989
Contributor III

I deinstalled the Update but have still the same problem.

0 件の賞賛
5,376件の閲覧回数
Flo1989
Contributor III

Hi,

here are another Exception that is shown from MCUXpresso when i try to connect.

Flo1989_0-1634557480018.png

 

I now found the Debug Configurations,

there was no entry on "C/C++ (NXP Semiconductors) MCU Application", i double clicked on it and then there appeared the entry "evkmimxrt1170_iled_blinky_cm7 LinkServer Debug"

But the Error is still the same.

Flo1989_1-1634557663645.png

 

Also under the "Probes discovered" Window it says "No compatible probes available. ..."

Flo1989_2-1634557752452.png

 

I really have to solve this problem. We want do go with our development.

We have a KEIL Ulink-ME here, is it possible to use it with MCUXpresso?

 

Regards,

Florian

5,354件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi,

But the CMSIS-DAP can be found at the beginning, right? If you don't know how to get back, you can install MCUXpresso again.

In serial download mode, you can use MCUBootUitlity to connect RT1170 via J20 and erase the chip. 

https://github.com/JayHeng/NXP-MCUBootUtility

It's a powerful tool maintained by NXP employee.

BTW, before you switch to serial download mode, the power should be disconnected.

 

Regards,

Jing

0 件の賞賛
5,343件の閲覧回数
Flo1989
Contributor III

Hi,

i could erase the chip, but have still the same Problem. I will get another Eval Board next week then i will try it with this. I already tried to reinstall the complete Toolchain.

The Driver Version is correct?

Flo1989_0-1634715290117.png

 

Is it possible that something like in this post happens to the board?

https://dzone.com/articles/recovering-and-updating-the-nxp-opensda-bootloader

The post is old and my Bootloader Version is 0244.

But i will get a MCU-Link debugger also next Week. Is it possible to reflash the OpenSDA Debug Interface of the Board?

Regards,

Florian

0 件の賞賛
5,331件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @Flo1989 ,

Can you test on other computer?

 

Regards,

Jing

0 件の賞賛
5,378件の閲覧回数
Flo1989
Contributor III

Hi @jingpan 

I tried to go to serial download Mode by SW1 (Qt Software is no more running on the Board) and GUI Flash tool. I get the same Error, i also get the Error when the board is disconnected, so no USB is connected to the PC. Do i have to make any configuration for the Connection?

I can switch by GUI Flash tool between these Configurations but don't know how to change the configuration.

Flo1989_0-1634548405988.png

Regards,

Flo

0 件の賞賛
5,374件の閲覧回数
converse
Senior Contributor V

My guess is that the firewall is blocking access to the port used by the debugger and redlink server. Try configuring your firewall to allow port access for the IDE and the redlink server exe.

0 件の賞賛
5,373件の閲覧回数
Flo1989
Contributor III

Hi,

the firewall is already disabled!

0 件の賞賛
5,362件の閲覧回数
converse
Senior Contributor V

The problems you are reporting definitely look like problems with ports being blocked. Do you have a 3rd party anti-virus software as well as Defender?

0 件の賞賛
5,342件の閲覧回数
Flo1989
Contributor III

Yes, we use Sophos but i got the permission from our admin to deactivate the complete firewall including windows defender!

0 件の賞賛
5,381件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi @Flo1989 ,

You can try to reconfigure the chip to serial download mode by SW1. Then use MCUXpresso GUI Flash tool to erase the flash.

 

Regards,

Jing

0 件の賞賛