Skip to content

Device setup is not working with 1.3.8 #911

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

Closed
3 tasks done
umbynos opened this issue Mar 1, 2024 · 1 comment · Fixed by #905
Closed
3 tasks done

Device setup is not working with 1.3.8 #911

umbynos opened this issue Mar 1, 2024 · 1 comment · Fixed by #905
Assignees
Labels
conclusion: resolved Issue was resolved type: imperfection Perceived defect in any part of project

Comments

@umbynos
Copy link
Contributor

umbynos commented Mar 1, 2024

Describe the problem

In #878 we removed network upload functionality. Unfortunately, the device setup flow used an hack to invoke the arduino-fwuploader tool:

{
  "board": "arduino:renesas_uno:unor4wifi",
  "port": "/dev/cu.usbmodemDC5475C5557C2",
  "commandline": "\"{runtime.tools.arduino-fwuploader.path}/arduino-fwuploader\" firmware flash {network.password} -v --retries 5",
  "signature": "...",
  "filename": "UpdateFirmware.bin",
  "extra": {
    "auth": {
      "password": "-a /dev/cu.usbmodemDC5475C5557C2 -b \"arduino:renesas_uno:unor4wifi\""
    }
  },
  "hex": ""
}

As you can see extra.auth.password is used to pass additional info to the command-line. The auth struct was removed here because it was part of the network upload
This hack was used because the agent was not providing a functionality to specify the fqbn in the commandline

To reproduce

Just manually downgrade the Wi-Fi firmware of a board (like the UNO R4 WiFi) and then perform the device setup.

Expected behavior

The board is provisioned correctly

Arduino Create Agent version

1.3.7/1.3.8

Operating system

N/A

Operating system version

N/A

Browser

N/A

Browser version

N/A

Additional context

N/A

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details
@umbynos umbynos added the type: imperfection Perceived defect in any part of project label Mar 1, 2024
@umbynos umbynos self-assigned this Mar 1, 2024
@umbynos umbynos linked a pull request Mar 1, 2024 that will close this issue
2 tasks
@umbynos
Copy link
Contributor Author

umbynos commented Mar 1, 2024

Fixed in #905

@umbynos umbynos closed this as completed Mar 1, 2024
@per1234 per1234 added the conclusion: resolved Issue was resolved label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants