Skip to content

feat(upload): delay if teensy upload is unsuccessful to allow manual reboot into programming mode #7

@cfobel

Description

@cfobel

Problem

The Sci-Bots repackaged version of the Platform IO teensy uploader tool on Windows performs the following steps to upload a firmware:

  1. Launch the teensy GUI uploader
  2. Automatically reset the Teensy board into programming mode
  3. Upload the firmware to the Teensy

As of bfdbbcc, if step (2) fails and the Teensy board does not automatically reset into programming mode step (3) is not executed and the upload is unsuccessful. Unfortunately, there is no easy way for an operator to manually attempt to upload the file.

Proposed solution

  1. Check stdout/stderr to verify firmware was uploaded successfully
  2. If firmware upload is successful, close uploader program. Otherwise, delay for x seconds to allow operator to optionally press programming button on Teensy board.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions