Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change openocd port #553

Closed
Blackrose opened this issue Dec 25, 2021 · 1 comment
Closed

How to change openocd port #553

Blackrose opened this issue Dec 25, 2021 · 1 comment

Comments

@Blackrose
Copy link

Hi, I use openocd + gdb to debug stm32mp1 platform. The chip has two cores, one is a7 and another one is cm4.So the openocd has two gdb port.But the cortex-debug use 50000 for gdb_port and 50001 for tcl_port. In actually, the 50000 for a7 and 50001 for cm4. So, how can i change/config the ports of cortex-debug on default config?

@haneefdm
Copy link
Collaborator

You can tell Cortex-Debug how many processors and which processor you want to connect to. Look for numberOfProcessors and targetProcessor and all the ports OpenOCD uses are adjusted.

https://github.com/Marus/cortex-debug/blob/master/debug_attributes.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants