Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device protection fixes #2802

Merged
merged 3 commits into from
Jul 19, 2024
Merged

Conversation

sergeuz
Copy link
Member

@sergeuz sergeuz commented Jul 18, 2024

Problem

The custom DfuSe command for resetting the device in safe mode (see #2770) doesn't work if the device is protected.

Solution

Allow certain DfuSe commands when the device is protected.

This PR also adds another DfuSe command that allows re-enabling device protection without leaving DFU mode.

Steps to Test

See particle-iot/particle-usb#114.

@sergeuz
Copy link
Member Author

sergeuz commented Jul 19, 2024

Works as expected on NRF and RTL platforms.

@sergeuz sergeuz merged commit dfae1a6 into develop-6.x Jul 19, 2024
13 checks passed
@sergeuz sergeuz deleted the fix-safe-mode-dfu-cmd/sc-129253 branch July 19, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants