2023-05-12 03:21 AM - edited 2023-11-20 05:36 AM
I am using stm32mp157f-dk2 and followed https://wiki.st.com/stm32mpu/wiki/Getting_started with help of stmcubeIDE.
I am able to debug M4 core and also see SWV prints with ST A7 image and M4 image. Both images are available through above ST web site.
I want to try same thing with my Linux image but I am struggling because M4.elf is not getting transferred with default STMcube debug configuration as default debug configuration expects "root" and do not allow to modify username. Is there any way to modify username or is there any way to change debug launch configuration
As User name field is "READ ONLY" thus I am not able to modify. Is there any way to modify these debug configuration
2023-05-15 08:07 AM
Hi @Kalpesh ,
Connection as user "root" is the usual way and it might works.
I'm not sure it's the reason of transfer failure.
Did you check each points as recommended:
-> Linux is up and running and you can ping the board @10.265.2.134 ?
Please confirm and we can check further.
Olivier
2023-05-15 08:46 PM - edited 2023-11-20 05:36 AM
Thanks @Community member for replying.
Goal : Finally I want to see SWV prints in production mode of STM32MP1
2023-05-16 02:01 AM
Hi @Kalpesh ,
What version or OpenSTLinux are you using ?
ST starter package or an image build on your own?
I read "my linux image" so probably custom one ...
Can you send the last line of boot log before prompt ? Do you have somethink like this ?
stm32mp1 login: root (automatic login)
root@stm32mp1:~#
Are you able to "ssh root@10.265.2.134" out of CubeIDE ?
Olivier
2023-05-16 03:26 AM - edited 2023-11-20 05:37 AM
Boot up prompt :
STMCubeIDE : 1.12.1
OpenSTLinux : Image attached below
SSH connectivity with putty : (New IP received 10.235.2.148)