OpenSDA CDC serial port not showing in device manager. I can't debug. (TWR-KE18F)

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

OpenSDA CDC serial port not showing in device manager. I can't debug. (TWR-KE18F)

5,366 次查看
nxp_user123
Contributor I

I chose my device from the link below and I followed the steps. However, I still can't debug my code.

I can't see OpenSDA CDC serial port. Can anyone help me? 

Thank you.

OpenSDA Serial and Debug Adapter | NXP Semiconductors

 

标签 (1)
0 项奖励
回复
14 回复数

5,337 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi nxp_user123,

Please refer to: DAPLink bootloader update. Check if your device is in a corrupted state or bricked state, and update your board. Then Step 5 will show you how to: Install an interface firmware application

Best Regards,
Robin
-------------------------------------------------------------------------------
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 项奖励
回复

5,316 次查看
nxp_user123
Contributor I

Hi @Robin_Shen,

I checked my device and it is in a bricked state. After, I followed the steps in the link you posted.

This time I received a message that .axf file does not exist. Am I doing something wrong with the steps?

Best Regards,

nxp_user123

Ekran Görüntüsü (33).png

Ekran Görüntüsü (34).png

  

0 项奖励
回复

5,304 次查看
ErichStyger
Specialist I

Does that .axf file exist? If it does not exist, then you might have missed to build it (hammer icon in the toolbar) maybe? Or your build has not succeeded and you have errors in the build? Check the console output or the 'Problems' view.

I hope this helps,

Erich

0 项奖励
回复

5,308 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

After you followed the steps in the link, can you see the device mounted asMAINTENANCE?

I can see the PEMicro blmd_master PE Debug in your image, would you please delete it and then click debug again?

debug your project.png

0 项奖励
回复

5,294 次查看
nxp_user123
Contributor I

I am using MKV11Z128 to reprogram TWR-KE18F. Devices are connected via j link

I did what you said. But I couldn't see available probes. What should I do?

@Robin_Shen , @ErichStyger 

Ekran Görüntüsü (37).png

Ekran Görüntüsü (35).png

  

0 项奖励
回复

5,266 次查看
ErichStyger
Specialist I

as you are using pyOCD: this is not supported, at least not out of the box. You have to consult the pyOCD group: https://pyocd.io/

 

0 项奖励
回复

5,251 次查看
nxp_user123
Contributor I

Thanks for your advice. I tried what you said but the probes were not found. @ErichStyger 

Ekran Görüntüsü (40).png

Ekran Görüntüsü (38).png

Here is my system.

20220727_160850.jpg

  

0 项奖励
回复

5,234 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Seems that you connect to the wrong connector(J10). J1 is used to program K20 OpenSDA.

TWR-KE18F.png

20220727_160850.jpg

 

0 项奖励
回复

5,223 次查看
nxp_user123
Contributor I

I found the Unique ID number. Which command should I use at the command line?

@Robin_Shen @ErichStyger 

Ekran Görüntüsü (43).png

 

0 项奖励
回复

5,205 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

So after program K20 OpenSDA.through J1, did OpenSDA CDC serial port show in device manager? I don't know how to use command line in fact.  Are you able to debug TWR-KE18F in MCUXpresso IDE?

标记 (1)
0 项奖励
回复

5,194 次查看
nxp_user123
Contributor I

The device manager shows the port but still cannot debug it. I used pyocd flash command in the command line but it said that KE18F16 is in secure state. How can I disable the secure state?

@Robin_Shen 

Ekran Görüntüsü (45).png

0 项奖励
回复

5,190 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Sorry. I don't know how to unsecure MCU by using pyocd. It will pop up a windows let you click Yes to unsecure the MCU if you use MCUXpresso IDE.

0 项奖励
回复

5,174 次查看
nxp_user123
Contributor I

Do I have a chance to reprogram TWR-KE18F in MCUXpresso IDE?

@Robin_Shen 

0 项奖励
回复

5,152 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

You can have a try. If you did not disable mass erase. https://www.nxp.com/docs/en/application-note/AN4835.pdf

0 项奖励
回复