Renaud11232 / OctoPrint-Marlin-Flasher

Arduino/Marlin firmware flasher for OctoPrint
MIT License
39 stars 10 forks source link

Error: Please specify `upload_port` for environment or use global `--upload-port` option. #96

Closed agp009 closed 3 months ago

agp009 commented 6 months ago

Describe the bug

Trying to flash updated marlin file onto SKR1.4 Turbo board. Currently running on Windows. Get following message and unsure how to resolve:

Unable to find destination disk ([Errno 2] No such file or directory: '/media/pi') Please select it in platformio.ini using the upload_port keyword (https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) or copy the firmware (.pio/build/LPC1769/firmware.bin) manually to the appropriate disk

To Reproduce

Steps to reproduce the behavior:

  1. Upload platformio.ini zip file to Marlin Flasher (works without issue)
  2. Set Board type to LPC1769 (works without issue)
  3. Click Flash
  4. File eventually compiles after long time
  5. File fails to upload with above error message

Expected behavior

Expectation was for updated Marlin file to flash onto 3D printer for continued printing use.

Screenshots

image

Version of OctoPrint-Marlin-Flasher

Marlin Flasher 1.0.7

Server configuration

OctoPrint logs with octoprint.plugins.marlin_flasher set to DEBUG

Renaud11232 commented 6 months ago

Hello,

Looking at the screenshot it looks like OctoPrint is running on a Raspberry Pi (which is Linux based) and not Windows. There are additional steps required to upload firmware on mbed boards from linux. These steps are detailed here in the wiki.

Can you follow them and try again ?

github-actions[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. If this is related to a bug you experienced, make sure you provided all requested information. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 months ago

This issue has been automatically closed due to inactivity.