2020-02-24 06:11 AM
Hello,
I used to develop bare metal applications on STM32MP157 discovery kit, but I can only debug Cortex-M4 with ST-LINK. I would like to debug both Cortex-A7 and Cortex-M4, do I need to get an evaluation board with a JTAG interface? I want to develop bare applications for Cortex-A7 cores, not running Linux on them.
I ran into this board http://www.myirtech.com/list.asp?id=624 when searching for a board with a JTAG interface. What do you think of those?
Kind regards,
2020-02-24 06:33 AM
The ST-Link of the discovery board provides SWD access to either Cortex-M4 and the two Cortex-A7.
For debug SWD provides the same functionality of JTAG.
So, no need to look for an additional board.
The only issues is that you cannot use (yet) CubeIDE for debugging on Cortex-A7. But you can use OpenOCD and GDB, as described in:
https://wiki.st.com/stm32mpu/wiki/GDB
Both OpenOCD and GDB are distributed in the SDK:
https://wiki.st.com/stm32mpu/wiki/SDK_for_OpenSTLinux_distribution
2020-02-27 11:20 PM
I've tested extensievely the openOCD debugger included with the SDK and would say that's a good entry point for debugging the Cortex-A7 Core but it's not reliable enough.
If you're going JTAG (with the evaluation board) I would advise to get a SEGGER debug probe,which provides debugging for each Cortex-A7 core.
2020-11-04 03:40 AM
Hi Lockvar ,
i am trying to Debug m4 in STM32MP157A using STlink in Keil . but i am not able to detect the m4 in keil .
can you help me out in this section ?
2020-11-04 06:12 AM
Hi @psiva.13 ,
Can I suggest to first search for some already existing posts in this community about keil with MP1 and then open a new post in case you do not find valuable answer.
Also, I don't have reference here, but I know that there is an existing Application Note provided by Keil to address MP1. Browse Keil support website.
@Mohammed-Ismail Ben Salah , @Nicolas Salaün ,
ST is not supporting A7 bare metal application for mass market.
A specific support can be put in place through some partner. Please contact a ST local sale office to escalate your need/request.
Olivier
2020-11-06 09:24 AM
@Community member
I no longer plan to develop bare metal application on Cortex-A7, at least for now.
But thank you for your answer, if I need this again in the future, I will contact my ST local sale office.
@psiva.13
Sorry but I don't have a running example for Cortex-A7.