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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

310 Views
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.

Tags (1)
0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2168927%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EDebugging%20Cortex-M7%20Firmware%20on%20i.MX8MPlus%20EVK(with%20and%20without%20Cortex-A53)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2168927%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI%20am%20working%20with%20the%20i.MX8MPlus%20EVK%20and%20using%20the%20MCUXpressoSDK%20(not%20MCUXpressoIDE%20or%20VS%20Code)%20for%20cortex-M7%20development.%20I%20can%20successfully%20build%20my%20project%20and%20generated%20the%20output%20files(.elf%20and%20.bin)%20using%20ARM%20GCC%20Compiler.%3CBR%20%2F%3E%3CBR%20%2F%3ENow%20i%20need%20some%20information%20regarding%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3EDebugging%20the%20M7%20Firmware%20%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E1.%20with%20cortex-A53%3A%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20what%20is%20the%20detailed%20process%20to%20flash%20and%20run%20the%20M7%20firmware%20using%20the%20Cortex-A53%20side.(for%20example%20via%20u-boot%20commands%20or%20linux%20remoteproc)%3C%2FP%3E%3CP%3E2.%20without%20Cortex-A53%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWhat%20is%20the%20detailed%20process%20to%20flash%20and%20debug%20the%20M7%20firmware%20directly%2C%20without%20depending%20on%20the%20A53%20core%3F%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20How%20is%20the%20M7%20firmware%20typically%20loaded%20into%20OCRAM%2FTCM%2C%20and%20can%20it%20be%20run%20fully%20standalone%3F%3C%2FP%3E%3CP%3E%3CSTRONG%3EDebugging%20Tools%20and%20Probes%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWhich%20debug%20probes%20are%20officially%20supported%20for%20connecting%20directly%20to%20the%20Cortex-M7%20on%20this%20EVK%3F%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BWhich%20probes%2Ftools%20work%20well%20with%20bare-metal%20development%20(no%20IDE%2C%20only%20MCUXpressoSDk%20and%20GCC%20Tool%20chain)%3F%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3BIs%20it%20possible%20to%20debug%20the%20M7%20independently%20with%20JTAG%2FSWD%2C%20or%20must%20the%20A53%20be%20involved%20for%20initialization%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3ENOTE%3A%3C%2FSTRONG%3E%26nbsp%3BI%20am%20using%20%3CSTRONG%3EUbuntu%26nbsp%3B%3C%2FSTRONG%3E(Linux%20pc%20not%20windows)%20operating%20system%20for%20MCUXpresso%20SDK.%3C%2FP%3E%3C%2FLINGO-BODY%3E