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

Send release power-down (0xAB) instruction, to revive flash, that might be in power-down state #2130

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

matsobdev
Copy link

It fixes #2111 of RP2350, by adding 0xAB instruction before communicating with flash device, ex. when restarting from flash by powman. Flash might be put in power-down state before and will only respond to 0xAB.

Send release power-down (0xAB) instruction, to revive flash, that might be in power-down state
Send release power-down (0xAB) instruction, to revive flash, that might be in power-down state
@lurch
Copy link
Contributor

lurch commented Dec 8, 2024

Should this be gated behind a #ifdef setting, since I guess this will only be needed by executables that have explicitly powered-down the flash?

@matsobdev
Copy link
Author

Sounds like a right direction. Is there a naming scheme to follow?

@lurch
Copy link
Contributor

lurch commented Dec 10, 2024

Sounds like a right direction. Is there a naming scheme to follow?

Naming scheme is generally PICO_SOME_THING - see section 5.1 of https://datasheets.raspberrypi.com/pico/raspberry-pi-pico-c-sdk.pdf for a big list of examples 🙂

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

Successfully merging this pull request may close these issues.

2 participants