FRDM-MCXN947 - CPU connection issue (MCU-LINK CMSIS-DAP issue)

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

FRDM-MCXN947 - CPU connection issue (MCU-LINK CMSIS-DAP issue)

跳至解决方案
1,443 次查看
tgrandpi
Contributor II

Hello,

In my engineering school we give labs to a very large number of students using more than 100  FRDM-MCXN947 board.

1) Our students successfully compiled download and run there first programs (RGB led blink, switch etc) during the first lab.

2) During the second lab some of them can't connect anymore to the on-board cpu to download and debug (I suspect that they have updated the firmware, as explained hereunder).

Here are the snapshots when entering the debug mode :

tgrandpi_0-1741974438998.png

 

tgrandpi_1-1741974449449.png

tgrandpi_2-1741974460865.png

 


3) I disconnect the student board and connect my fresh new board with success !

(Since our labs, are installed with MCUXpresso IDE v11.9.1, I tried with the latest MCUXpresso without success connecting there boards again.)

My board (working) :

tgrandpi_3-1741974477741.png

 

4) From 3) I see a difference between the probe firmware versions :

  • my working board use a MCU-LINK CMSIS-DAP_V3_128
  • the problematic board use a MCU-LINK CMSIS-DAP_V3_153

 

I tried to reverse the firmware to V3.128 but can't find it on your website.

On NxP site, I only found MCU-LINK_installer_3.140 which allows me to reverse the board to V3_140 but the problem is still the same

Do you know where I can find MCU-LINK_installer_3.128 ?

Is is normal that upgrading the firmware cause such issue ?

Do you have other ideas ?

Thank you for your help !

Thierry

标签 (2)
0 项奖励
回复
1 解答
1,312 次查看
tgrandpi
Contributor II

Dear Alice_Yang,

I finally succeed to recover our boards access with MUC-LINK :

I clicked several time STP ERASE button, spamming simultaneously the SW1/Reset button of the FRDM-MCXN947 board  (to reset the processor) !

Many thanks for your help !

(This worked with any version of MCU-LINK CMSIS-DAP which was finally not the point)

The subject is closed/resolved

Have a gret day

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,337 次查看
tgrandpi
Contributor II

Thank you Alice.

Unfortunlatly, the first step failed : SPT Erase give me this error message :

tgrandpi_0-1742389609667.png

Then I clic "Erase" :

tgrandpi_1-1742389650199.png

 

Clicking on "Test connection" return :

tgrandpi_2-1742389726078.png

 

Is there a way to reset the processor to attempts to open the debug port ?

Thank you for your help,

Regards,

Thierry

 

PS : the complete screen capture hereunder in case it may helps :

tgrandpi_3-1742389843061.png

 

 

0 项奖励
回复
1,395 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tgrandpi 

The attachment is MCU - LINK_V3_122. Please check if it works well on your side. 

Please feel free to tell me if still can't work. 

 

BR

Alice

 

0 项奖励
回复
1,387 次查看
tgrandpi
Contributor II

Thank you Alice for your answer.

1) Unfortunatly, reversing successfully (hereunder)  the version to 3.122  didn't resolve the issue.

tgrandpi_0-1742204240075.png

2) I still get this message when entering download mode  :

tgrandpi_1-1742204451564.png

 

(I recall you that my other boards are running correctly on the same computer/MCUxpresso version with CMSIS-DAP V3.128 but can't find it. Anyway, I am wondering if the CMSIS-DAP version is the real issue...)

FYI the led blinky application initially downloaded on these boards is still running on the processor.

What can I do ?

Thank you in advance for any help.

 

 

 

 

 

0 项奖励
回复
1,336 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tgrandpi 

Please test according to the following steps:
 
  1. Use SPT Erase.

8888888888881.jpg

 

2. Create a new workspace in MCUXpresso IDE.

3. Import a new simple demo.

4. Build and download the program for testing.

 

If it still doesn't work, please download and install the latest version of MCUXpresso IDE.
 
BR
Alice
0 项奖励
回复
1,311 次查看
tgrandpi
Contributor II

Dear Alice,

Thank you for your answer.

Unfortunatly, the first step : STP Erase failed :

tgrandpi_0-1742453186077.png

tgrandpi_1-1742453227456.png

When I "test connection", I get :

tgrandpi_2-1742453266583.png

 

Can you tell me please a way to reset the processor as suggested by the error message ? Is it possible without specific external hardware ? 

Thank you,

Thierry

 

 

0 项奖励
回复
1,313 次查看
tgrandpi
Contributor II

Dear Alice_Yang,

I finally succeed to recover our boards access with MUC-LINK :

I clicked several time STP ERASE button, spamming simultaneously the SW1/Reset button of the FRDM-MCXN947 board  (to reset the processor) !

Many thanks for your help !

(This worked with any version of MCU-LINK CMSIS-DAP which was finally not the point)

The subject is closed/resolved

Have a gret day

0 项奖励
回复