gdbgui always open web browser and failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-25 6:24 AM
When i tried the commend below (<Your_full_path_to> was already corrected to the path that content Setup.gdb),
```
gdbgui -g "arm-ostl-linux-gnueabi-gdb -x <Your_full_path_to>/Setup.gdb"
```
I would like to use ST-Link for debug uboot, but the web browse always open and failed to ask for "127.0.0.1:5000"
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-26 2:01 AM
Hi @Community member​ ,
did you look at following wiki pages ?
- https://wiki.st.com/stm32mpu/wiki/Gdbgui#Running_gdbgui_using_ST-LINK
- https://wiki.st.com/stm32mpu/wiki/GDB#Running_OpenOCD_and_GDB
Have you setup your PC (especially the Developer package) as listed in https://wiki.st.com/stm32mpu/wiki/PC_prerequisites ?
Regards,
In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-26 8:06 AM
Hi PatrickF,
I spent few days to check, check to find any steps I miss. But I think I follow all steps from your links.
But I had to modify few things from instruction:
- When click download "SDK-x86_64-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz". the file name is not correct, there is "en.SDK......", I need to rename the file after download. Just removed "en".
- Same name issue for SOURCES-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz.
- When I run "gdbgui -g .....", I got Warning from Path_evn.py:
path_source_tf_a, path_source_op_tee, path_source_u_boot... are empty.
- Also, still in Path_evn.py:
path_elf_tf_a_bl2 = "/opt/openstlinux/build-openstlinuxweston-stm32mp1/tmp-glibc/deploy/images/stm32mp1/arm-trusted-firmware/debug/tf-a-bl2-sdcard.elf"
path_elf_tf_a_bl32 = "/opt/openstlinux/build-openstlinuxweston-stm32mp1/....."
.....
those files are not eixts with those paths.
I had to copy manually from installed SDK to those paths.
- For gdbgui installation, I can't get it work by the command:
pip install --trusted-host pypi.python.org --cert /etc/ssl/certs/ --proxy $https_proxy --upgrade gdbgui
But I use the command: "pip install gdbgui" then I can install gdbgui.
Then I tried again with command:
pip install --trusted-host pypi.python.org --cert /etc/ssl/certs/ --proxy $https_proxy --upgrade gdbgui
then look good, no more error.
Any idea from you with these information?
And, I am confused because openocd always start debug port 3333 but gdbgui start default 5000?
Many thanks.
