CodeWarrior Debugger Shell from Windows Cmd Prompt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior Debugger Shell from Windows Cmd Prompt

ソリューションへジャンプ
1,202件の閲覧回数
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,156件の閲覧回数
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,157件の閲覧回数
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,084件の閲覧回数
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 件の賞賛
返信