-
Notifications
You must be signed in to change notification settings - Fork 528
Open
Description
The change in v0.40,0 introduced in a396354
pyOCD/pyocd/subcommands/load_cmd.py
Lines 166 to 168 in cc1ae68
| # Reset the target after programming unless --no-reset was specified. | |
| if not self._args.no_reset: | |
| session.target.reset(Target.ResetType.NSRST) |
breaks flashing of devices that do not support hardware reset. It uses n_srst reset unconditionally, which fails on 3-wire setups (SWD/SWCLK/GND), where a software reset (default) should be used.
I propose to either:
- use a software reset which is a default for reset command
or better yet - add reset type option to the load command
elfmimi
Metadata
Metadata
Assignees
Labels
No labels