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 modify MagTag file system contents #456

Open
brentru opened this issue Jul 26, 2023 · 5 comments
Open

Unable to modify MagTag file system contents #456

brentru opened this issue Jul 26, 2023 · 5 comments

Comments

@brentru
Copy link
Member

brentru commented Jul 26, 2023

Souce
Forums, https://forums.adafruit.com/viewtopic.php?p=980542#p980542

Arduino board
MagTag

To Reproduce
Steps to reproduce the behavior:

  1. Choose any of the following actions
  2. rename secrets.json to secrets.old
  3. edit secrets.json (using notepad, exiting notepad) to have API key, username, SSID, and password
  4. copy (from host) new secrets.json over existing file
  5. Attempt safe removal: right-click the safe removal icon in taskbar, and choose to eject the USB device
  6. Wait 30+ seconds
  7. Either press reset button on MagTag, or slide power switch to off position for at least 3 seconds

Expected behavior
The file volume appears, and reflects the action selected above that modified secrets.json.

Actual Results
The first boot flashes neopixels purple for <1 second.
No serial port is enumerated, and no mass storage appears.
At this point, if use reset button again (or power switch), WIPPER volume will reappear, but with original, unmodified contents.

Also noteworthy: The "Safe Removal" attempt never completes. It's almost as though the device is failing all write commands, and thus rejecting the QUERY_REMOVAL until the cache is flushed ... which never happens.

Additional context

Adafruit.io WipperSnapper
Firmware Version: 1.0.0-beta.67
Board ID: magtag
MAC Address: 7C:DF:A1:17:8E:28

tinyuf2-adafruit_magtag_29gray-0.16.0
wippersnapper.magtag.1.0.0-beta.67.uf2

@brentru
Copy link
Member Author

brentru commented Jul 26, 2023

Waiting for Forum poster to provide the OS they are running.

@brentru
Copy link
Member Author

brentru commented Jul 31, 2023

Firmware Version: 1.0.0-beta.67 from "wippersnapper.qtpy_esp32s2.1.0.0-beta.67.uf2"
TinyUF2 Bootloader f12dd0f - tinyusb (0.10.1-109-g9b3ec69b)
Uploaded with Windows 10

@xsk8rat
Copy link

xsk8rat commented Feb 24, 2024

This behavior persists with

  • wippersnapper.magtag.1.0.0-beta.76.uf2

  • tinyuf2-adafruit_magtag_29gray-0.18.1

@brentru
Copy link
Member Author

brentru commented Feb 26, 2024

@tyeth Are you able to repro this?

@tyeth
Copy link
Contributor

tyeth commented Feb 26, 2024

No I haven't got a MagTag, but I can look at the m4 airlift and try to reproduce on that or the pyportals later this week.

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

No branches or pull requests

3 participants