cancel
Showing results for 
Search instead for 
Did you mean: 

How to debug stm32f4 in production mode for stm32mp157-EV1?

Fheid.1
Associate III

Hi

I would like to debug stm32f7 on Stm32mp157_EV1 board via stlink.

 

according to page 5 of http://www.keil.com/appnotes/files/apnt_319_v1.1.pdf

i connected st link then went to Project, Selected St-link and then went to setting dialog,

the text box for AP was disable and didnt show any thing!!!!

 

When i unchecked the enable pack in pack tap, showed not found target in SWDevice!!! then when i check pack, device found.

 

i dont know what shall i do

Thanks in advance

 

Any help would be greatly appreciated:blossom:

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @Fheid.1​ 

I understand your problem maybe similar to the one in this previous post :

https://community.st.com/s/question/0D53W000003K86rSAC/cannot-connect-dk1-board-via-stlink-with-keilmdk

Let me know if it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Olivier GALLIEN
ST Employee

And maybe to avoid any confusion.

stm32mp157-EV1 is EVAL board of the STM32MP157C which is a dual Core A7+M4.

I interpret your post as a project to develop a Cortex-M4 coprocessor project with KEIL.

Don't forget that production mode you mention supposed that Linux is booted and, in case of KEIL IDE, you have to manage to copy the M4 firmware in the right place in the target Linux file system.

Else you can experiment your program using Engineering mode ( load through ST-Link) setting correct boot switch.

For further help refer to online documentation : https://wiki.st.com/stm32mpu

Hope it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks for your attention, but it didnt helpful for me ,

my problem is different from forwarding link.

Fheid.1
Associate III

Hi all

I have realized the differences between my software and http://www.keil.com/appnotes/files/apnt_319_v1.1.pdf document

in st-link version and FW number, for more information i attached it.

0693W000000XHeYQAW.jpg

Is it important? If your answer is yes :backhand_index_pointing_down:

I have stlink- v2, is it possible for me to change it to stlink- v2.1?

shall i change programmer hardware?

**Any help will be useful for me**