CodeWarrior Debugger Shell from Windows Cmd Prompt

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

CodeWarrior Debugger Shell from Windows Cmd Prompt

ソリューションへジャンプ
1,623件の閲覧回数
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,577件の閲覧回数
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,578件の閲覧回数
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,505件の閲覧回数
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 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-1966907%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWindows%20Cmd%E3%83%97%E3%83%AD%E3%83%B3%E3%83%97%E3%83%88%E3%81%8B%E3%82%89%E3%81%AECodeWarrior%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%B7%E3%82%A7%E3%83%AB%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1966907%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EWindows%E3%81%AE%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%8B%E3%82%89CodeWarrior%20Debugger%20Shell%E3%81%A7%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%97%E3%82%88%E3%81%86%E3%81%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E7%A7%81%E3%81%8C%E8%A9%A6%E3%81%97%E3%81%9F%E3%81%AE%E3%81%AF%3B%3C%2FP%3E%3CP%3E%26gt%3B%20cwide.exe%20-data%20%3CPATH_TO_WORKSPACE%3E%20-vmargsplus%20-Dcw.script%3D%3CPATH_TO_SCRIPT%3E%3C%2FPATH_TO_SCRIPT%3E%3C%2FPATH_TO_WORKSPACE%3E%3C%2FP%3E%3CP%3E%E3%81%93%E3%82%8C%E3%81%AF%E5%95%8F%E9%A1%8C%E3%81%AA%E3%81%8F%E5%8B%95%E4%BD%9C%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E5%95%8F%E9%A1%8C%E3%81%AF%E3%80%81%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%81%8C%E7%95%B0%E3%81%AA%E3%82%8B%E3%81%9F%E3%82%81%E3%80%81%E7%95%B0%E3%81%AA%E3%82%8B%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E3%81%9F%E3%81%B3%E3%81%AB%E3%80%81%E6%9C%9B%E3%81%BE%E3%81%97%E3%81%8F%E3%81%AA%E3%81%84CodeWarrior%E3%82%92%E9%96%89%E3%81%98%E3%82%8B%E5%BF%85%E8%A6%81%E3%81%8C%E3%81%82%E3%82%8B%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%80%82%E5%88%A5%E3%81%AE%E5%95%8F%E9%A1%8C%E3%81%AF%E3%80%81Windows%E3%81%AE%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%A7%E9%80%B2%E8%A1%8C%E7%8A%B6%E6%B3%81%E3%82%92%E7%A2%BA%E8%AA%8D%E3%81%97%E3%81%9F%E3%81%84%E3%81%93%E3%81%A8%E3%81%A7%E3%81%99%E3%80%82%E3%81%9F%E3%81%A8%E3%81%88%E3%81%B0%E3%80%81%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88%20%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%A7%E3%81%AF%E3%80%81%22evaluate%20s_sBITResults%22%20%E3%81%AA%E3%81%A9%E3%81%AE%E5%A4%89%E6%95%B0%E3%82%92%E8%A9%95%E4%BE%A1%E3%81%97%E3%80%81%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%83%BC%20%E3%82%B7%E3%82%A7%E3%83%AB%E3%81%8C%E5%80%A4%E3%82%92%E8%BF%94%E3%81%97%E3%81%BE%E3%81%99%E3%80%82%E3%81%97%E3%81%8B%E3%81%97%E3%80%81%E7%A7%81%E3%81%AFcmd%E3%82%A6%E3%82%A3%E3%83%B3%E3%83%89%E3%82%A6%E3%81%8B%E3%82%89%E3%81%93%E3%82%8C%E3%82%89%E3%81%AE%E7%B5%90%E6%9E%9C%E3%81%AB%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%81%A7%E3%81%8D%E3%82%8B%E3%82%88%E3%81%86%E3%81%AB%E3%81%97%E3%81%9F%E3%81%84%E3%81%A7%E3%81%99%E3%80%82%3C%2FP%3E%3CP%3ETL%E3%81%A7%E3%81%99%E3%80%82DR%3ACodeWarror(10.6)%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95%E3%81%AF%E3%81%82%E3%82%8A%E3%81%BE%E3%81%99%E3%81%8B%3FCodeWarrior%E8%87%AA%E4%BD%93%E3%82%92%E8%B5%B7%E5%8B%95%E3%81%9B%E3%81%9A%E3%81%AB%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%B7%E3%82%A7%E3%83%AB%3F%3C%2FP%3E%3CP%3E%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1985416%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3ACodeWarrior%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%B7%E3%82%A7%E3%83%ABWindows%E3%81%AECmd%E3%83%97%E3%83%AD%E3%83%B3%E3%83%97%E3%83%88%E3%81%8B%E3%82%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1985416%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E3%81%93%E3%82%93%E3%81%AB%E3%81%A1%E3%81%AF%E3%80%81%E3%82%A2%E3%83%AA%E3%82%B9%E3%80%82%3CBR%20%2F%3E%E3%81%82%E3%81%AA%E3%81%9F%E3%81%8C%E6%8F%90%E6%A1%88%E3%81%97%E3%81%9F%E3%82%88%E3%81%86%E3%81%AB%20%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2015%2F03%2F25%2Fcommand-line-programming-and-debugging-with-gdb%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%E3%80%81%E7%A7%81%E3%81%AF%20https%3A%2F%2Fmcuoneclipse.com%2F2015%2F03%2F25%2Fcommand-line-programming-and-debugging-with-gdb%2F%3C%2FA%3E%20%E3%81%8B%E3%82%89%E3%81%AE%E3%82%AC%E3%82%A4%E3%83%89%E3%81%AB%E5%BE%93%E3%81%84%E3%81%BE%E3%81%97%E3%81%9F(%E7%A7%81%E3%81%AFP%26amp%3BE%E3%83%97%E3%83%AD%E3%83%BC%E3%83%96%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99)%E3%81%9D%E3%81%97%E3%81%A6%E3%81%9D%E3%82%8C%E3%81%AF%E3%81%86%E3%81%BE%E3%81%8F%E3%81%84%E3%81%8D%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1972086%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3ACodeWarrior%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%82%B7%E3%82%A7%E3%83%ABWindows%E3%81%AECmd%E3%83%97%E3%83%AD%E3%83%B3%E3%83%97%E3%83%88%E3%81%8B%E3%82%89%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1972086%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241481%22%20target%3D%22_blank%22%3E%40Moriquendi%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E3%81%A9%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%83%97%E3%83%AD%E3%83%BC%E3%83%96%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%81%8B%3FOpenOCD%E3%80%81J-Link%E3%80%81P%26amp%3BE%20Multilink%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E3%81%AF%E3%80%81%E4%BB%A5%E4%B8%8B%E3%81%AE%E3%83%AA%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%92%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2015%2F03%2F22%2Fopenocdcmsis-dap-debugging-with-eclipse-and-without-an-ide%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmcuoneclipse.com%2F2015%2F03%2F22%2Fopenocdcmsis-dap-debugging-with-eclipse-and-without-an-ide%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2015%2F03%2F25%2Fcommand-line-programming-and-debugging-with-gdb%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmcuoneclipse.com%2F2015%2F03%2F25%2Fcommand-line-programming-and-debugging-with-gdb%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ECW10.6%20%E3%81%AF%20Eclipse%20%E3%81%AB%E5%9F%BA%E3%81%A5%E3%81%84%E3%81%A6%E3%81%84%E3%82%8B%E3%81%9F%E3%82%81%E3%80%81Eclipse%20%E3%81%AE%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%82%82%E5%8F%82%E7%85%A7%E3%81%97%E3%81%A6%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E3%82%A2%E3%83%AA%E3%82%B9%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E