Modify debug load mode of stm32mp157f-dk2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-12 3:21 AM - edited ‎2023-11-20 5: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
- Labels:
-
STM32CubeIDE
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-15 8: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:
- Check your physical connection.
- Check system is running linux
-> Linux is up and running and you can ping the board @10.265.2.134 ?
- check proxy bypass -> you might explicitly add target to bypass list.
Please confirm and we can check further.
Olivier
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-15 8:46 PM - edited ‎2023-11-20 5:36 AM
Thanks @Community member​ for replying.
- I am able to ping 10.265.2.134 and it is not proxy problem as file gets transferred with ST Linux image.
- I am not able to transfer M4.elf with my Linux image. Looks like it is not allowed for root to transfer file over ssh. Please check following wireshark log. If I can change username somehow then I think I could able to transfer M4.elf file. Is there any way to modify username (launch configuration)
Goal : Finally I want to see SWV prints in production mode of STM32MP1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-16 2: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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-16 3:26 AM - edited ‎2023-11-20 5:37 AM
Boot up prompt :
STMCubeIDE : 1.12.1
OpenSTLinux : Image attached below
SSH connectivity with putty : (New IP received 10.235.2.148)
