Flashing and Debugging Cortex-M7 Firmware on i.MX8M Plus EVK (with and without Cortex-A53)

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

Flashing and Debugging Cortex-M7 Firmware on i.MX8M Plus EVK (with and without Cortex-A53)

436 次查看
Subrahmanyam1
Contributor I

Hello,

I am working with the i.MX8M Plus EVK (8MPLUSLPD4-EVK) and using the MCUXpresso SDK (not MCUXpresso IDE or VS Code) for Cortex-M7 development. I can successfully build my project and generate the output files (.elf and .bin) using the ARM GCC compiler.

Now I need clear guidance on the next step:

Flashing and Running 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 hardware debug probes are officially supported for connecting directly to the Cortex-M7 on this EVK (e.g., Segger J-Link)?

  • Which probes/tool-chains work well with bare-metal development (no IDE, only MCUXpresso SDK and GCC tool-chain)?

  • Is it possible to debug the M7 independently with JTAG/SWD, or must the A53 be involved for initialization?

    GOAL:

    I need a clear, step-by-step procedure for both development flows:

    • Flashing and debugging via Cortex-A53.

    • Flashing and debugging directly on Cortex-M7 (without A53).

    Any official documentation, application notes, or step-by-step references for these two methods would be very helpful.

标记 (1)
0 项奖励
回复
0 回复数
%3CLINGO-SUB%20id%3D%22lingo-sub-2168685%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9C%A8%20i.MX8M%20Plus%20EVK%EF%BC%88%E5%B8%A6%E6%88%96%E4%B8%8D%E5%B8%A6%20Cortex-A53%EF%BC%89%E4%B8%8A%E5%88%B7%E6%96%B0%E5%92%8C%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-2168685%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%3CBR%20%2F%3E%EF%BC%8C%E6%88%91%E6%AD%A3%E5%9C%A8%E4%BD%BF%E7%94%A8%20i.MX8M%20Plus%20EVK%20(8MPLUSLPD4-EVK)%EF%BC%8C%E5%B9%B6%E4%BD%BF%E7%94%A8%20MCUXpresso%20SDK%EF%BC%88%E4%B8%8D%E6%98%AF%20MCUXpresso%20IDE%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%20%E5%92%8C%20.bin%EF%BC%89%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%3C%2FP%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E6%88%91%E9%9C%80%E8%A6%81%E6%98%8E%E7%A1%AE%E7%9A%84%E4%B8%8B%E4%B8%80%E6%AD%A5%E6%8C%87%E5%AF%BC%EF%BC%9A%3C%2FP%3E%3CH3%20id%3D%22toc-hId-1974838707%22%20id%3D%22toc-hId-2000457071%22%3E%E5%88%B7%E6%96%B0%E5%92%8C%E8%BF%90%E8%A1%8C%20M7%20%E5%9B%BA%E4%BB%B6%3C%2FH3%3E%3COL%3E%3CLI%3E%3CP%3E%E9%85%8D%E5%A4%87%20Cortex-A53%EF%BC%9A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CP%3E%E4%BD%BF%E7%94%A8%20Cortex-A53%20%E7%AB%AF%EF%BC%88%E4%BE%8B%E5%A6%82%E9%80%9A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