Skip to content

Conversation

@yvanderv
Copy link
Contributor

Enable debugging multicore applications for NXP's lpc55s69 with LinkServer

LinkServer manages port numbers for gdb and semihost as separate linear
sequences when invoked to debug multi-core applications, e.g the
gdb-server instance for cpu0 will have the default GDB port 3333 and the
next gdb-server instance will be assigned the port 3334. The latter will
conflict with the default port for semihost which is 3334.

This patch changes the default port for semihost to 8888.
Port numbers can be changed when invoking the linkserver runner.

Signed-off-by: Yves Vandervennet <[email protected]>
EmilioCBen
EmilioCBen previously approved these changes Oct 29, 2024
Copy link
Contributor

@danieldegrasse danieldegrasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I forgot about this- we should update the board documentation to be clear that Linkserver is now the default runner, particularly here: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/lpcxpresso55s69/doc/index.rst?plain=1#L319

@yvanderv
Copy link
Contributor Author

Sorry, I forgot about this- we should update the board documentation to be clear that Linkserver is now the default runner, particularly here: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/lpcxpresso55s69/doc/index.rst?plain=1#L319

Ha, right. Good point.

@yvanderv yvanderv force-pushed the linkserver-lpcxpresso55s69-cpu1 branch 2 times, most recently from 0b134ca to c5c9705 Compare October 29, 2024 17:34
 - Refactoring of the cmake code so LinkServer can be invoked with the
correct switches.
 - Documentation update

Signed-off-by: Yves Vandervennet <[email protected]>
@yvanderv yvanderv force-pushed the linkserver-lpcxpresso55s69-cpu1 branch from c5c9705 to baf4b70 Compare October 29, 2024 18:21
@danieldegrasse danieldegrasse added this to the v4.1.0 milestone Nov 6, 2024
@nashif nashif merged commit 11f18c7 into zephyrproject-rtos:main Nov 16, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants