2022-07-25 06: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"
2022-07-26 02:01 AM
Hi @Community member ,
did you look at following wiki pages ?
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'
2022-07-26 08: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:
path_source_tf_a, path_source_op_tee, path_source_u_boot... are empty.
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.
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.