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

File too large warning on Windows #11

Closed
riknoll opened this issue Jan 11, 2017 · 6 comments
Closed

File too large warning on Windows #11

riknoll opened this issue Jan 11, 2017 · 6 comments

Comments

@riknoll
Copy link
Member

riknoll commented Jan 11, 2017

When copying a UF2 file generated by PXT onto the circuit playground, I get this error:

file_too_large

The file does get flashed correctly despite the error.

@mmoskal
Copy link
Member

mmoskal commented Jan 11, 2017

I've never seen it. How much free space does it report? Or maybe it's the file name?

@riknoll
Copy link
Member Author

riknoll commented Jan 12, 2017

Weird, it reports the drive as having 3.37 MB available. I tried a file with a shorter filename ("c.uf2") and I get the same warning.

@jamesadevine
Copy link
Member

jamesadevine commented Jan 12, 2017 via email

@finneyj
Copy link
Collaborator

finneyj commented Jan 12, 2017

Yes, I almost always get this from a command line copy op:

C:\git\ccplay\codal-blinky [master +4 ~0 -1 !]> cp .\flash.uf2 d:\
cp : Could not find file 'd:\flash.uf2'.
At line:1 char:1
+ cp .\flash.uf2 d:\
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Copy-Item], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.CopyItemCommand

C:\git\ccplay\codal-blinky [master +4 ~0 -1 !]>

Doesn't cause any issues, but is perhaps symptomatic.

@mmoskal
Copy link
Member

mmoskal commented Jan 12, 2017

This should be fixed in 1.9.0 drop. https://github.com/Microsoft/uf2-samd21/releases/download/v1.9.0/uf2-samd21-1.9.0.zip

thank you @jamesadevine - a little delay fixed it!

mmoskal pushed a commit that referenced this issue Mar 21, 2018
@huisheng-super
Copy link

Why do I have to upload the firmware again every time I connect to the computer?

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

5 participants