https://github.com/patrislav1/pyocd_remote
Remote execution wrapper for PyOCD
https://github.com/patrislav1/pyocd_remote
Last synced: about 2 months ago
JSON representation
Remote execution wrapper for PyOCD
- Host: GitHub
- URL: https://github.com/patrislav1/pyocd_remote
- Owner: patrislav1
- License: bsd-3-clause
- Created: 2020-11-22T10:56:38.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-23T15:15:24.000Z (over 4 years ago)
- Last Synced: 2025-03-26T06:47:10.767Z (about 2 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pyocd_remote
Remote execution wrapper for [PyOCD](https://github.com/pyocd/pyOCD).
This tool runs `pyocd` on a remote SSH server and does additional copying / tunneling, so it looks like `pyocd` is running locally.
Usage:
```
pyocd_remote user@host:port [--cmd pyocd_executable] [pyocd_args ...]
```## Prerequisites
For this tool to work, the local SSH client needs to be authorized at the remote server using a public key, and the remote server needs to be in the list of known hosts.
## Examples
```
pyocd_remote user@host:port erase --chip
```
Erases the chip connected to the remote host.```
pyocd_remote user@host:port flash image.bin
```
Copies `image.bin` to the remote host, then flashes it there.```
pyocd_remote user@host:port gdbserver --port 50000
```
Starts a gdbserver on the remote host and creates a tunnel, so it looks like a local gdbserver to the debugger.