Debugging Cortex-M7 Firmware on i.MX8MPlus EVK(with and without Cortex-A53)

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

Debugging Cortex-M7 Firmware on i.MX8MPlus EVK(with and without Cortex-A53)

309 次查看
Subrahmanyam1
Contributor I

Hello,
I am working with the i.MX8MPlus EVK and using the MCUXpressoSDK (not MCUXpressoIDE or VS Code) for cortex-M7 development. I can successfully build my project and generated the output files(.elf and .bin) using ARM GCC Compiler.

Now i need some information regarding:

Debugging the M7 Firmware :
1. with cortex-A53:
        what is the detailed process to flash and run the M7 firmware using the Cortex-A53 side.(for example via u-boot commands or linux remoteproc)

2. without Cortex-A53 :

       What is the detailed process to flash and debug the M7 firmware directly, without depending on the A53 core?
      How is the M7 firmware typically loaded into OCRAM/TCM, and can it be run fully standalone?

Debugging Tools and Probes

       Which debug probes are officially supported for connecting directly to the Cortex-M7 on this EVK?
       Which probes/tools work well with bare-metal development (no IDE, only MCUXpressoSDk and GCC Tool chain)?
       Is it possible to debug the M7 independently with JTAG/SWD, or must the A53 be involved for initialization?

NOTE: I am using Ubuntu (Linux pc not windows) operating system for MCUXpresso SDK.

标记 (1)
0 项奖励
回复
0 回复数
%3CLINGO-SUB%20id%3D%22lingo-sub-2168927%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9C%A8%20i.MX8MPlus%20EVK%EF%BC%88%E5%B8%A6%E6%88%96%E4%B8%8D%E5%B8%A6%20Cortex-A53%EF%BC%89%E4%B8%8A%E8%B0%83%E8%AF%95%20Cortex-M7%20%E5%9B%BA%E4%BB%B6%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2168927%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%82%A8%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%EF%BC%8C%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20i.MX8MPlus%20EVK%20%E5%92%8C%20MCUXpressoSDK%EF%BC%88%E4%B8%8D%E6%98%AF%20MCUXpressoIDE%20%E6%88%96%20VS%20Code%EF%BC%89%E8%BF%9B%E8%A1%8C%20cortex-M7%20%E5%BC%80%E5%8F%91%E3%80%82%E6%88%91%E5%8F%AF%E4%BB%A5%E6%88%90%E5%8A%9F%E7%89%88%E6%9C%AC%E6%88%91%E7%9A%84%E9%A1%B9%E7%9B%AE%E5%B9%B6%E7%94%9F%E6%88%90%E8%BE%93%E5%87%BA%E6%96%87%E4%BB%B6%EF%BC%88.elf%E5%92%8C%20.bin)%E4%BD%BF%E7%94%A8%20ARM%20GCC%20%E7%BC%96%E8%AF%91%E5%99%A8%E3%80%82%3CBR%20%2F%3E%3CBR%20%2F%3E%E7%8E%B0%E5%9C%A8%E6%88%91%E9%9C%80%E8%A6%81%E4%B8%80%E4%BA%9B%E5%85%B3%E4%BA%8E%E4%BB%A5%E4%B8%8B%E6%96%B9%E9%9D%A2%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%9A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%E8%B0%83%E8%AF%95%20M7%20%E5%9B%BA%E4%BB%B6%3C%2FSTRONG%3E%EF%BC%9A%3CBR%20%2F%3E1.%20%E4%BD%BF%E7%94%A8%20Cortex-A53%EF%BC%9A%3CBR%20%2F%3E%20%E4%BD%BF%E7%94%A8%20Cortex-A53%20%E9%97%AA%E5%AD%98%E5%92%8C%E8%BF%90%E8%A1%8C%20M7%20%E5%9B%BA%E4%BB%B6%E7%9A%84%E8%AF%A6%E7%BB%86%E8%BF%87%E7%A8%8B%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F%E7%A4%BA%E4%BE%8B%EF%BC%88%E9%80%9A%E8%BF%87%20u-%E5%90%AF%E5%8A%A8%20%E5%91%BD%E4%BB%A4%E6%88%96%20linux%20remoteproc%EF%BC%89%3C%2FP%3E%3CP%3E%E4%B8%8D%E5%90%AB%20Cortex-A53%20%EF%BC%9A%3C%2FP%3E%3CP%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5%B7%A5%E5%85%B7%E9%93%BE%EF%BC%89%EF%BC%9F%3CBR%20%2F%3E%20%20%20%20%20%20%E6%98%AF%E5%90%A6%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8%20JTAG%2FSWD%20%E7%8B%AC%E7%AB%8B%E8%B0%83%E8%AF%95%20M7%EF%BC%8C%E8%BF%98%E6%98%AF%E5%BF%85%E9%A1%BB%E4%BD%BF%E7%94%A8%20A53%20%E8%BF%9B%E8%A1%8C%E5%88%9D%E5%A7%8B%E5%8C%96%EF%BC%9F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%E6%B3%A8%E6%84%8F%EF%BC%9A%3C%2FSTRONG%3E%E6%88%91%E4%BD%BF%E7%94%A8%3CSTRONG%3EUbuntu%20%3C%2FSTRONG%3E%EF%BC%88Linux%20%E7%94%B5%E8%84%91%E8%80%8C%E9%9D%9E%20Windows%EF%BC%89%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E6%9D%A5%E8%BF%90%E8%A1%8C%20MCUXpresso%20SDK%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E