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

RP23 : Flash read operations failed when memory translation is enabled. #3764

Open
Athorus opened this issue Jan 13, 2025 · 0 comments
Open

Comments

@Athorus
Copy link

Athorus commented Jan 13, 2025

When using partition table, adresses translation are set up. For example, if you read at virtual 0x10000000, the physical address could be 0x10002000.
By default, translation is only enabled for data contained inside the program partition, data outside are unreachable as embassy_rp use core::slice::from_raw_parts to read from flash.

Maybe embassy_rp could use rom_data::flash_op to avoid translation.

Currently, if we want to read, we have to set a new translation in ATRANS1 and cheat offset and flash size. Erase and Write operations work properly.

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

1 participant