Skip to content

How debug CHIP core with Arduino Nano Matter #95

Answered by silabs-bozont
sebmalissard asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @sebmalissard,
You can get RTT output from the Nano Matter with OpenOCD.

Launch a server:
/Users/bozont/Library/Arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/bin/openocd -s /Users/bozont/Library/Arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/share/openocd/scripts/ -f interface/cmsis-dap.cfg -f target/efm32s2_g23.cfg -c "init; rtt setup 0x20000000 0x40000 \"SEGGER RTT\"; rtt start; rtt server start 9090 0"
(change the core path according to your OS)

Telnet into it:
telnet 127.0.0.1 9090

Enjoy the RTT output:

[00:00:00.000][silabs ]==================================================
[00:00:00.000][silabs ]Arduino Matter device starting
[00:00:00…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sebmalissard
Comment options

Answer selected by sebmalissard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants