The change in v0.40,0 introduced in a396354
|
# 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