I can't start debug on VSCode for M33 core in iMX8ULP

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

I can't start debug on VSCode for M33 core in iMX8ULP

ソリューションへジャンプ
12,615件の閲覧回数
dzmitry
Contributor II

I try to start debug session for Cortex M33 core inside iMX8ULP processor. I follow the instructions AN14120: Debugging Cortex-M with VS Code on i.MX 8ULP and I stuck on step Attach to J-Link debugger for i.MX 8ULP.  After attach the panel with debug buttons apeared but debug doesn't stop on breakpoints and pause button doesn't stop code execution. Also I've got running Linux on Cortex A35. Debug console output and .vscode files are attached.

0 件の賞賛
返信
1 解決策
12,557件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @dzmitry!

Thank you for contacting NXP Support!

 

Do you create and flash the flash.bin image using your M33 image?

For i.MX 8ULP, due to the Upower unit, build the flash.bin using m33_image in our "VSCode" repo
first. The M33 image can be found in {CURRENT REPO}\armgcc\debug\sdk20-app.bin. Refer to
Section 6 from the Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP in the
SDK_2_xx_x_EVK-MIMX8ULP/docs on how to build the flash.bin image.
Note: Use the M33 image in the active VSCode repo. Otherwise, the program does not attach properly.
Right-click and choose "Attach"

 

Best regards!

Chavira

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
12,558件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @dzmitry!

Thank you for contacting NXP Support!

 

Do you create and flash the flash.bin image using your M33 image?

For i.MX 8ULP, due to the Upower unit, build the flash.bin using m33_image in our "VSCode" repo
first. The M33 image can be found in {CURRENT REPO}\armgcc\debug\sdk20-app.bin. Refer to
Section 6 from the Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP in the
SDK_2_xx_x_EVK-MIMX8ULP/docs on how to build the flash.bin image.
Note: Use the M33 image in the active VSCode repo. Otherwise, the program does not attach properly.
Right-click and choose "Attach"

 

Best regards!

Chavira

 

0 件の賞賛
返信
12,540件の閲覧回数
dzmitry
Contributor II

I flashed and it worked, thanks.

0 件の賞賛
返信
%3CLINGO-SUB%20id%3D%22lingo-sub-1957647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EiMX8ULP%20%E3%81%AE%20VSCode%20%E3%81%A7%20M33%20%E3%82%B3%E3%82%A2%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E9%96%8B%E5%A7%8B%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1957647%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EiMX8ULP%E3%83%97%E3%83%AD%E3%82%BB%E3%83%83%E3%82%B5%E5%86%85%E3%81%AECortex%20M33%E3%82%B3%E3%82%A2%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%BB%E3%83%83%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%92%E9%96%8B%E5%A7%8B%E3%81%97%E3%81%A6%E3%81%BF%E3%81%BE%E3%81%99%E3%80%82AN14120%E3%81%AE%E3%80%8C%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FAN14120%2Fpage%2Ftopics%2Frunning_and_debugging.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ei.MX%208ULP%E3%81%AEVS%20Code%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9FCortex-M%E3%81%AE%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%3C%2FA%3E%E3%80%8D%E3%81%AE%E6%8C%87%E7%A4%BA%E3%81%AB%E5%BE%93%E3%81%84%3CSPAN%3E%E3%80%81i.MX%208ULP%E3%81%AEJ-Link%E3%83%87%E3%83%90%E3%83%83%E3%82%AC%E3%81%AB%E3%82%A2%E3%82%BF%E3%83%83%E3%83%81%E3%81%99%E3%82%8B%E6%89%8B%E9%A0%86%E3%81%A7%E7%AB%8B%E3%81%A1%E5%BE%80%E7%94%9F%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F%E3%80%82%20%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%83%9C%E3%82%BF%E3%83%B3%E3%81%8C%E8%A1%A8%E7%A4%BA%E3%81%95%E3%82%8C%E3%81%9F%E3%83%91%E3%83%8D%E3%83%AB%E3%82%92%E3%82%A2%E3%82%BF%E3%83%83%E3%83%81%E3%81%97%E3%81%9F%E5%BE%8C%E3%80%81%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%81%AF%E3%83%96%E3%83%AC%E3%83%BC%E3%82%AF%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88%E3%81%A7%E5%81%9C%E6%AD%A2%E3%81%9B%E3%81%9A%E3%80%81%E4%B8%80%E6%99%82%E5%81%9C%E6%AD%A2%E3%83%9C%E3%82%BF%E3%83%B3%E3%81%AF%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AE%E5%AE%9F%E8%A1%8C%E3%82%92%E5%81%9C%E6%AD%A2%E3%81%97%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%E3%81%BE%E3%81%9F%E3%80%81Cortex%20A35%E3%81%A7Linux%E3%82%92%E5%AE%9F%E8%A1%8C%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%20%E3%82%B3%E3%83%B3%E3%82%BD%E3%83%BC%E3%83%AB%E5%87%BA%E5%8A%9B%E3%81%A8%20.vscode%20%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%81%8C%E6%B7%BB%E4%BB%98%E3%81%95%E3%82%8C%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1958450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20iMX8ULP%20%E3%81%AE%20M33%20%E3%82%B3%E3%82%A2%E3%81%AE%20VSCode%20%E3%81%A7%E3%83%87%E3%83%90%E3%83%83%E3%82%B0%E3%82%92%E9%96%8B%E5%A7%8B%E3%81%A7%E3%81%8D%E3%81%BE%E3%81%9B%E3%82%93%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1958450%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E3%83%95%E3%83%A9%E3%83%83%E3%82%B7%E3%83%A5%E3%81%97%E3%81%A6%E3%80%81%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%81%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E