Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Failed uploads due to external tool failure (e.g., bossac, avrdude) do not get trapped as errors #1273

Closed
@MartyMacGyver

Description

[Seen in 1.5.2, but I believe this has always been an issue.]

This issue occurs in BasicUploader's uploadUsingPreferences() method, but really seems to stem from Uploader's executeUploadCommand() method.

If a call is made to an external programmer in Windows, and that programmer fails, the return code is either not getting correctly conditioned when read or it's not being set in the first place. However, even if that's the case common errors should be able to be trapped via their output text.

The two examples I've encountered tonight (as I swap between Mega and Due programming) are the following:

*avrdude: stk500_getsync(): not in sync: resp=0x98
*No device found on COM11

If I learn more about the issue or possible solutions I'll follow up here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /