Reset and run before programming on BlueNinja
Open
backlog
- Dominant language
- C
- Stars
- 2.8k
- Forks
- 1.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 1
Description
When initializing debug the driver for the target tz10xx performs a reset and allows the target to run for ~20ms before allowing programming to start. This behavior can cause filesystem corruption on target firmware which writes to non-volatile storage on boot, as the write operation is interrupted.
This code is the cause of the reset:
https://github.com/ARMmbed/DAPLink/blob/0beabef8aa4b382809d79e98321ecf6a28936812/source/target/toshiba/target_reset.c#L30-L36
@f-okuhara you added support for this target. Can this reset sequence be removed or is it to workaround some problem?
Contributor guide
Assessment
This issue has not been assessed yet.