Skip to content

[Feature Request]: New Proposed command line options for pyOCD #602

@ReinhardKeil

Description

@ReinhardKeil

Description

This are command line suggestions for pyOCD that need discussion.

New command "RUN" for CI/HIL usage with this main features:

pyocd run --cbuild-run <file> --timelimit <seconds> --eot --load --udi <id>

This command should load the image specified in cbuild-run.yml, executed until timelimit is reached or eot (0x04) is printed on a telnet port.

Options:

--timelimit   terminate when the timelimit is reached
--eot  terminate when 0x04 is printed via a telnet channel
--load erase device and flash program the images specified in cbuild-run.yml
--udi allows to specify an id of a debug probe

The option --load is also useful for other commands such as gdb and would:

  • reduce the time required for debugger start
  • allow to hold a device under reset until a debugger connects

Is this request a Security Requirement?

  • Yes

Priority

High

Related Issues (Optional)

No response

Additional Notes (Optional)

No response

Metadata

Metadata

Labels

pyOCDChange is required in shipped pyOCD variant

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions