Problem with debugging in MCUxpresso 11.0

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

Problem with debugging in MCUxpresso 11.0

2,834 次查看
martinkoehler
Contributor II

Hello and good morning,

I have just today started using the new MCUxpresso 11.0 and I am currently testing it. I have no success debugging my device even though it worked fine with 10.2.

-   Windows 10 64 bit

-   No CRP

-   Error message (both on "suspend" command and setting breakpoint: "supend operation timeout"

-   My devices uses a LPC1227

-   I tried both LpcLink and LpcLink2 (CMSIS-DAP), both give the same error

-   Obviously already restarted MCUxpresso and windows, repowered probe and device

Any sugestions what might have caused this error (and how to fix it)?

Best regards

Martin Koehler

标签 (1)
7 回复数

2,578 次查看
martinkoehler
Contributor II

Hi,

I have succeeded getting another build to run normally so I compared them (shoutout to WinMerge program) and found the problem. Now my old project also works.  In the debugger settings the "non-stop mode" (in GDB debugger tab) was active. Deactivating it fixed the issue.

2,578 次查看
dariuskellerman
Contributor III

Hello Martin,

this also worked for me. Thank you very much!

0 项奖励
回复

2,578 次查看
dariuskellerman
Contributor III

Hi everyone,

I have the exact same problem with an LPC54608. Cannot suspend or set breakpoints. Worked fine (in this regard, not so much in others) with previous MCUXpresso versions.

The usual remedies (power cycle debugger, power cycle board, restart MCUXpresso) do not help.

Is there anything that you need from me/us to reproduce this issue?

Best regards,

Darius

0 项奖励
回复

2,578 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Hi Darius,

Please create and debug a new (hello world) project:

... and if this fails please attach a copy of the Debug Log for our investigation (Console -> Debug messages).

 

If this is a dev board, please can you confirm?

Yours,

MCUXpresso IDE Support

0 项奖励
回复

2,578 次查看
dariuskellerman
Contributor III

Hi,

Martin Koehler's solution of deactivating non-stop mode does the trick for me, so this is solved from my side.

However, I'm wondering, does the non-stop mode even do anything with FreeRTOS? I somehow cannot imagine that it has any effect at all.

0 项奖励
回复

2,578 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Hi Martin,

I cannot offer an immediate answer to this - we test LPC1227 MCU/boards as part of our routine overnight testing.

Therefore, please can I ask you to:

Restart the IDE

Power cycle your board/probe

Select a new workspace

Create and debug a new (hello world) project

... and if this fails please attach a copy of the Debug Log for our investigation.

If this is a dev board, please can you confirm?

Yours,

MCUXpresso IDE Support

0 项奖励
回复

2,578 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hi Martin Koehler,

How about another simple project ?

0 项奖励
回复