16 lines
306 B
Markdown
16 lines
306 B
Markdown
## client
|
|
Prefer socat to support arrow keys
|
|
```
|
|
nc 192.168.1.154 7777
|
|
socat -d -d -,raw,echo=0 TCP:192.168.1.154:7777
|
|
```
|
|
|
|
## server
|
|
```
|
|
socat -d -d /dev/ttyACM0,b115200,raw,echo=0 tcp-listen:7777,reuseaddr
|
|
```
|
|
|
|
## openocd
|
|
```
|
|
openocd -f interface/cmsis-dap.cfg -f target/nrf52.cfg -c "bindto 0.0.0.0"
|
|
``` |