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

Needing to remove/insert sdcard before I can open it #181

Open
nebogeo opened this issue Feb 27, 2025 · 2 comments
Open

Needing to remove/insert sdcard before I can open it #181

nebogeo opened this issue Feb 27, 2025 · 2 comments

Comments

@nebogeo
Copy link

nebogeo commented Feb 27, 2025

I am not sure if this is an issue with this library (I'm using the 0.8.1 version of the embedded-sdmmc crate) but I'm having an issue where everything works fine - but only if I remove and insert an sdcard after booting (I'm using a Raspberry Pi Pico with PiCowbell Adalogger).

Where should I be looking to solve this issue? I've tried messing around with mark_card_uninit() but no joy.

@thejpster
Copy link
Member

I would start with putting a logic analyser on the bus and capturing all the traffic, ideally along with an analog capture of the SD card power rail.

A defmt trace from the library would also help.

@nebogeo
Copy link
Author

nebogeo commented Feb 28, 2025

Good advice, thanks - I only have a 2 channel handheld oscilloscope, but I can at least record what's happening.

I'll also try the Adafruit micropython version and do this same (I should have tried that before posting really).

I'll compare and report back.

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

2 participants