AnsweredAssumed Answered

How do I jtag debug Cortex-M4 with IMX8M mini?

Question asked by Takashi Kashiwagi on May 12, 2019
Latest reply on May 12, 2019 by Takashi Kashiwagi

Hi community,

 

I have using 8MMINILPD4-EVK and FreeRTOS for Cortex-M4F. and I have some questions.

 

1. When debugging Cortex-M4F, do I need to set anything in the debugger script?

2. What configuration for Cortex-M4F is set by U-boot ?

 

I can build my application on DS-5 (armcc5), and I have run BIN file via u-boot command as follows.

If you use the ”fatload" command, the program will run without any problems.

 

u-boot=> fatload mmc 1:1 0x7e0000 XXXX_Cortex-M4F.bin
131764 bytes read in 11 ms (11.4 MiB/s)
u-boot=> bootaux 0x7e0000
## Starting auxiliary core at 0x007E0000 ...
u-boot=>

 

But I can not debug with 3rd party debugger(PATNER). When i use the 3rd party debugger, Interrupts (SVC, PendSVC, SysTick) were not occured.

 

 

 

Best Regards,

T.Kashiwagi

Outcomes