Skip to content

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

@Athorus

Description

@Athorus

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions