How to show the peripheral registers at debug in MCUXpresso for VSC

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

How to show the peripheral registers at debug in MCUXpresso for VSC

跳至解决方案
1,799 次查看
KNagai-Private
Contributor II

Hello team,

I'm using MCUXpresso for VSC and FRDM-MCXA153.

SDK is SDK_25_12_00_FRDM-MCXA153 and using the sample code "hello_world".

Could you tell me how to show the peripheral registers at debug session, please?

MCUXpresso IDE can show the peripheral registers as below.

Peripheral registers at IDE.png


I want to do same thing on the MCUXpresso for VSC.

Best regards,

Toshi

标签 (2)
0 项奖励
回复
1 解答
1,663 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @KNagai-Private ,

 

Sorry, not MCXA153_cm33_core0.xml.

Please refer to the attached MCXA153.xml instead.

In addition, you can find MCU product SVD file via GitHub - nxp-mcuxpresso/mcux-soc-svd: MCUXpresso SDK SoC SVDs · GitHub

I have tested the attached MCXA153.xml, and it works properly.
Please see the attached screenshot.

 

BR

Celeste

 

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,720 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @KNagai-Private ,

Thanks for your post. It seems a known issue.

Please try the method in Solved: How use SVD file in MCUXpresso for VSCode - NXP Community.

 

You can add the MCXA153.xml path into the launch.json.

And then debug it again and open the "PERIPHERALS" view of the bottom panel.

 

Hope it helps.

BR

Celeste

 

-------------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-------------------------------------------------------------------------------------------------------------------------

 

0 项奖励
回复
1,682 次查看
KNagai-Private
Contributor II

Hi @Celeste_Liu ,

Thank you for your advice.

I understand, but I could not find the MCXA153_cm33_core0.xml in my SDK.

Could you show me where the MCXA153_cm33_core0.xml located, please?

Best regards,

Toshi

0 项奖励
回复
1,664 次查看
Celeste_Liu
NXP Employee
NXP Employee

Hello @KNagai-Private ,

 

Sorry, not MCXA153_cm33_core0.xml.

Please refer to the attached MCXA153.xml instead.

In addition, you can find MCU product SVD file via GitHub - nxp-mcuxpresso/mcux-soc-svd: MCUXpresso SDK SoC SVDs · GitHub

I have tested the attached MCXA153.xml, and it works properly.
Please see the attached screenshot.

 

BR

Celeste

 

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2330296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%A6%82%E4%BD%95%E5%9C%A8%20MCUXpresso%20for%20VSC%20%E4%B8%AD%E8%B0%83%E8%AF%95%E6%97%B6%E6%98%BE%E7%A4%BA%E5%A4%96%E8%AE%BE%E5%AF%84%E5%AD%98%E5%99%A8%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%A4%A7%E5%AE%B6%E5%A5%BD%3C%2FP%3E%3CP%3E%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20MCUXpresso%20for%20VSC%20%E5%92%8C%20FRDM-MCXA153%E3%80%82%3C%2FP%3E%3CP%3ESDK%20%E4%B8%BA%20SDK_25_12_00_FRDM-MCXA153%EF%BC%8C%E4%BD%BF%E7%94%A8%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81%22hello_world%22%20%E3%80%82%3C%2FP%3E%3CP%3E%E8%AF%B7%E9%97%AE%E5%A6%82%E4%BD%95%E5%9C%A8%E8%B0%83%E8%AF%95%E4%BC%9A%E8%AF%9D%E4%B8%AD%E6%98%BE%E7%A4%BA%E5%A4%96%E8%AE%BE%E5%AF%84%E5%AD%98%E5%99%A8%EF%BC%9F%3C%2FP%3E%3CP%3EMCUXpresso%20IDE%20%E5%8F%AF%E4%BB%A5%E6%98%BE%E7%A4%BA%E5%A6%82%E4%B8%8B%E5%A4%96%E8%AE%BE%E5%AF%84%E5%AD%98%E5%99%A8%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Peripheral%20registers%20at%20IDE.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Peripheral%20registers%20at%20IDE.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Peripheral%20registers%20at%20IDE.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Peripheral%20registers%20at%20IDE.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Peripheral%20registers%20at%20IDE.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F378927i3F3BD3F222A16268%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Peripheral%20registers%20at%20IDE.png%22%20alt%3D%22Peripheral%20registers%20at%20IDE.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%E6%88%91%E6%83%B3%E5%9C%A8%20MCUXpresso%20%E7%9A%84%20VSC%20%E4%B8%8A%E5%81%9A%E5%90%8C%E6%A0%B7%E7%9A%84%E4%BA%8B%E6%83%85%E3%80%82%3C%2FP%3E%3CP%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FP%3E%3CP%3E%E4%BF%8A%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2330296%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3E%E5%BC%80%E5%8F%91%E6%9D%BF%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMCXA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2332018%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20show%20the%20peripheral%20registers%20at%20debug%20in%20MCUXpresso%20for%20VSC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2332018%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F237877%22%20target%3D%22_blank%22%3E%40Celeste_Liu%3C%2FA%3E%E3%80%81%3C%2FP%3E%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%BB%BA%E8%AE%AE%E3%80%82%3C%2FP%3E%3CP%3E%E6%88%91%E6%98%8E%E7%99%BD%EF%BC%8C%E4%BD%86%E6%88%91%3CSPAN%3E%E5%9C%A8%20SDK%20%E4%B8%AD%3C%2FSPAN%3E%E6%89%BE%E4%B8%8D%E5%88%B0MCXA153_cm33_core0.xml%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%3E%E8%AF%B7%E5%91%8A%E8%AF%89%E6%88%91%20MCXA153_cm33_core0.xml%20%E7%9A%84%E4%BD%8D%E7%BD%AE%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E9%A1%BA%E7%A5%9D%E5%95%86%E7%A5%BA%EF%BC%81%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%E4%BF%8A%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2331400%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20show%20the%20peripheral%20registers%20at%20debug%20in%20MCUXpresso%20for%20VSC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2331400%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F205034%22%20target%3D%22_blank%22%3E%40KNagai-Private%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CP%3E%E8%B0%A2%E8%B0%A2%E6%82%A8%E7%9A%84%E5%B8%96%E5%AD%90%E3%80%82%E8%BF%99%E4%BC%BC%E4%B9%8E%E6%98%AF%E4%B8%80%E4%B8%AA%E5%B7%B2%E7%9F%A5%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E5%B0%9D%E8%AF%95%22%E5%B7%B2%E8%A7%A3%E5%86%B3%20%22%20%E4%B8%AD%E7%9A%84%E6%96%B9%E6%B3%95%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FZephyr-Project%2FHow-use-SVD-file-in-MCUXpresso-for-VSCode%2Fm-p%2F2125174%22%20target%3D%22_blank%22%3E%20%EF%BC%9A%E5%A6%82%E4%BD%95%E5%9C%A8%20MCUXpresso%20for%20VSCode%20%E4%B8%AD%E4%BD%BF%E7%94%A8%20SVD%20%E6%96%87%E4%BB%B6%20-%20NXP%20Community%3C%2FA%3E%20%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E%E4%BD%A0%E5%8F%AF%E4%BB%A5%E5%B0%86%20MCXA153.xml%20%E8%B7%AF%E5%BE%84%E6%B7%BB%E5%8A%A0%E5%88%B0%20launch.json%20%E4%B8%AD%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E7%84%B6%E5%90%8E%E5%86%8D%E6%AC%A1%E8%B0%83%E8%AF%95%EF%BC%8C%E5%B9%B6%E6%89%93%E5%BC%80%E5%BA%95%E9%83%A8%E9%9D%A2%E6%9D%BF%E7%9A%84%22PERIPHERALS%22%20%E8%A7%86%E5%9B%BE%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E%E5%B8%8C%E6%9C%9B%E5%AF%B9%E6%82%A8%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%82%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E8%A5%BF%E8%8E%B1%E6%96%AF%E7%89%B9%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3E-------------------------------------------------------------------------------------------------------------------------%3CBR%20%2F%3E%E6%B3%A8%EF%BC%9A%E5%A6%82%E6%9E%9C%E6%9C%AC%E5%B8%96%E5%9B%9E%E7%AD%94%E4%BA%86%E6%82%A8%E7%9A%84%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E7%82%B9%E5%87%BB%22ACCEPT%20AS%20SOLUTION%22%20%E6%8C%89%E9%92%AE%E3%80%82Thank%20you!%3CBR%20%2F%3E-------------------------------------------------------------------------------------------------------------------------%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2332130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20How%20to%20show%20the%20peripheral%20registers%20at%20debug%20in%20MCUXpresso%20for%20VSC%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2332130%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F205034%22%20target%3D%22_blank%22%3E%40KNagai-Private%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E5%AF%B9%E4%B8%8D%E8%B5%B7%EF%BC%8C%E4%B8%8D%E6%98%AF%20MCXA153_cm33_core0.xml%E3%80%82%3C%2FP%3E%0A%3CP%3E%E8%AF%B7%E5%8F%82%E8%80%83%E6%89%80%E9%99%84%E7%9A%84%3CSTRONG%3EMCXA153.xml%3C%2FSTRONG%3E%E3%80%82%3C%2FP%3E%0A%3CP%3E%E6%AD%A4%E5%A4%96%EF%BC%8C%E6%82%A8%E8%BF%98%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%20GitHub%20-%20nxp-mcuxpresso%2Fmcux-soc-svd%20%E6%89%BE%E5%88%B0%20MCU%20%E4%BA%A7%E5%93%81%20SVD%20%E6%96%87%E4%BB%B6%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-mcuxpresso%2Fmcux-soc-svd%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%20%EF%BC%9AMCUXpresso%20SDK%20SoC%20SVD%20-%20GitHub%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E6%88%91%E6%B5%8B%E8%AF%95%E4%BA%86%E6%89%80%E9%99%84%E7%9A%84%20MCXA153.xml%E3%80%81%E5%B9%B6%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E3%80%82%3CBR%20%2F%3E%E8%AF%B7%E5%8F%82%E9%98%85%E6%89%80%E9%99%84%E6%88%AA%E5%9B%BE%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3E%E8%A5%BF%E8%8E%B1%E6%96%AF%E7%89%B9%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorCeleste_Liu_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E