ARMmbed / ARMmbed/DAPLink

Reset and run before programming on BlueNinja

Open
#397 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.