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.
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.