Skip to content

Feature/sc 129083/when flashing device os modules to a protected #746

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

Conversation

monkbroc
Copy link
Member

@monkbroc monkbroc commented Jun 27, 2024

Description

Prevent downgrading Device OS below a minimum version of 6.0.0 for Protected Devices.

How to Test

  1. Put a Protected Device in Service Mode
  2. The following commands should give the error "Cannot downgrade Device OS below version 6.0.0 on a Protected Device"
  • particle update --target 5.8.0
  • particle flash --usb argon-system-part1@5.8.0.bin
  • particle flash --local argon-system-part1@5.8.0.bin
  • particle flash --local --target 5.8.0

Related Issues / Discussions

Story

Completeness

  • Update particle-usb to get device protection state while in DFU. <- this will be done in another PR

@monkbroc monkbroc requested a review from keeramis June 27, 2024 17:54
@monkbroc monkbroc force-pushed the feature/sc-129083/when-flashing-device-os-modules-to-a-protected branch from 62952f5 to a4b0100 Compare June 27, 2024 18:42
@monkbroc monkbroc merged commit e823810 into feature/device-protection Jun 27, 2024
5 checks passed
@monkbroc monkbroc deleted the feature/sc-129083/when-flashing-device-os-modules-to-a-protected branch June 27, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants