Skip to content
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

Unable to flash Raspberry Pico W over the OTA #1728

Closed
Jaishankar872 opened this issue Sep 24, 2023 · 3 comments
Closed

Unable to flash Raspberry Pico W over the OTA #1728

Jaishankar872 opened this issue Sep 24, 2023 · 3 comments

Comments

@Jaishankar872
Copy link

Jaishankar872 commented Sep 24, 2023

Hi
I am using Raspberry Pico W official board from Raspberry Pi

And I used the example of BasicOTA,
image

Flash the Raspberry Pico W over the OTA, getting failed with below Error
(Note: Also I tried installing the latest release of 3.6.0 Refer the below screenshot)
08:45:01 [ERROR]: Bad Answer: ERR: No Filesystem
Failed uploading: uploading error: exit status 1

image

@earlephilhower
Copy link
Owner

08:45:01 [ERROR]: Bad Answer: ERR: No Filesystem

You need to have a Filesystem to do OTA. Use the Tool->Flash Size to assign a FS setaside.

@Jaishankar872
Copy link
Author

Hi
Thanks for your fast response

Now, new error is coming as below

Usage: espota.py [options]

espota.py: error: option -p: invalid integer value: '{upload.port.properties.port}'
Failed uploading: uploading error: exit status 2

image

@bartgrefte
Copy link

bartgrefte commented Mar 7, 2024

Hi Thanks for your fast response

Now, new error is coming as below

Usage: espota.py [options]

espota.py: error: option -p: invalid integer value: '{upload.port.properties.port}' Failed uploading: uploading error: exit status 2

image

Same error here:

Sketch uses 398820 bytes (19%) of program storage space. Maximum is 2093056 bytes.
Global variables use 73356 bytes (27%) of dynamic memory, leaving 188788 bytes for local variables. Maximum is 262144 bytes.
Usage: espota.py [options]

espota.py: error: option -p: invalid integer value: '{upload.port.properties.port}'
Failed uploading: uploading error: exit status 2

Also running into https://forum.arduino.cc/t/ide-2-0-ota-mdns-discovery-only-intermittently-finds-nodes/1036850/2 , not sure if related.

As for the error, I've checked both the firewall on my router as well as ESET Internet Security on the Arduino IDE W10 host, nothing is being blocked as far as I can tell, but the error makes me think its not a network issue but more a library issue.

edit: Downgrade do 1.8.13 and OTA flash works just fine, both the mDNS detection as well as the flashing itself.

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

No branches or pull requests

3 participants