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

HCOM: cannot list or write files to empty device #813

Open
ctacke opened this issue Jan 15, 2025 · 2 comments
Open

HCOM: cannot list or write files to empty device #813

ctacke opened this issue Jan 15, 2025 · 2 comments
Assignees
Labels

Comments

@ctacke
Copy link
Contributor

ctacke commented Jan 15, 2025

I have a brand new Meadow, as delivered from the "factory"

meadow device info yields:

Firmware Versions
    OS: 1.2.0.1
    Runtime: 1.2.0.1
    Coprocessor: 1.2.0.0
    Protocol: 8

If I do a meadow file list the command hangs indefinitely
If I try to write a file to /meadow0/update/os it fails with an HCOM error about a missing directory

@Peter-Moody
Copy link

How to duplicate?

@ctacke
Copy link
Contributor Author

ctacke commented Jan 16, 2025

I simply opened a new Meadow from the package and tried to do a meadow file list - well that was after attempting to write a file. I wonder if just flashing to the old version would repro as well.

And that gets me thinking that maybe it's trying to use an API that HCOM doesn't support - and perhaps the CLI should just special case and look for early versions and tell the user "update the OS before doing anything else" or something similar? Not sure what the resolution might be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants