CodeWarrior Debugger Shell from Windows Cmd Prompt

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

CodeWarrior Debugger Shell from Windows Cmd Prompt

跳至解决方案
1,198 次查看
Moriquendi
Contributor I

Hello,

I'm trying to run a script in CodeWarrior Debugger Shell from windows command window. What I've tried is;

> cwide.exe -data <path_to_workspace> -vmargsplus -Dcw.script=<path_to_script>

This works just fine. The problem is I have different scripts to run and everytime I want to run a different script, I have to close CodeWarrior which I dont want. Another problem is that I want to see the progress on the windows command window. For instance, in the script file I evaluate a variable such as "evaluate s_sBITResults" and Debugger Shell return a value. But I want to able to access these result through cmd window. 

TL;DR: Is there a way to run CodeWarror(10.6) Debugger Shell without starting CodeWarrior itself?

Thanks.

标记 (1)
0 项奖励
回复
1 解答
1,152 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Moriquendi 

Which debug probe did you use? For OpenOCD, J-Link, and P&E Multilink, please refer to the following resources.

https://mcuoneclipse.com/2015/03/22/openocdcmsis-dap-debugging-with-eclipse-and-without-an-ide/ 

https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/ 

Since CW10.6 is based on Eclipse, you can refer to the Eclipse documentation as well.

 

BR

Alice

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,153 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Moriquendi 

Which debug probe did you use? For OpenOCD, J-Link, and P&E Multilink, please refer to the following resources.

https://mcuoneclipse.com/2015/03/22/openocdcmsis-dap-debugging-with-eclipse-and-without-an-ide/ 

https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/ 

Since CW10.6 is based on Eclipse, you can refer to the Eclipse documentation as well.

 

BR

Alice

 

0 项奖励
回复
1,080 次查看
Moriquendi
Contributor I
Hi Alice,
I followed the guide from the https://mcuoneclipse.com/2015/03/25/command-line-programming-and-debugging-with-gdb/ as you suggested (I use P&E probe), and it worked just fine.

Thank you.

0 项奖励
回复