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,365件の閲覧回数
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,336件の閲覧回数
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,315件の閲覧回数
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,303件の閲覧回数
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,307件の閲覧回数
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,293件の閲覧回数
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,265件の閲覧回数
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,250件の閲覧回数
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,233件の閲覧回数
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,222件の閲覧回数
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,204件の閲覧回数
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,193件の閲覧回数
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,189件の閲覧回数
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,173件の閲覧回数
nxp_user123
Contributor I

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

@Robin_Shen 

0 件の賞賛
返信

5,151件の閲覧回数
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 件の賞賛
返信