You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is_address_rom only returns true for addresses between 0 and 8191 inclusive, however we ROM area is 16 KiB. This causes reads to the bootrom area (with READ commands from the PICOBOOT interface) to fail if we try to read anything in the 8191 to 16384 range. Note that it is not possible to read address 8191 since the READ command checks for is_address_rom(address + size).
The function should check <= 16384 instead of < 8192.
A possible workaround is to use EXEC commands to copy the ROM area to RAM and then READ from RAM.
Just FYI if somebody runs into this problem.
The text was updated successfully, but these errors were encountered:
Yup - picotool works around this problem using the EXEC method if you try to download the bootrom.
kilograham
changed the title
is_address_rom only returns true for the first 8191 bytes
is_address_rom only returns true for the first 8192 bytes
Oct 5, 2021
kilograham
changed the title
is_address_rom only returns true for the first 8192 bytes
is_address_rom only returns true for the first 8191 bytes
Oct 5, 2021
is_address_rom
only returns true for addresses between 0 and 8191 inclusive, however we ROM area is 16 KiB. This causes reads to the bootrom area (with READ commands from the PICOBOOT interface) to fail if we try to read anything in the 8191 to 16384 range. Note that it is not possible to read address 8191 since the READ command checks foris_address_rom(address + size)
.The function should check
<= 16384
instead of< 8192
.A possible workaround is to use EXEC commands to copy the ROM area to RAM and then READ from RAM.
Just FYI if somebody runs into this problem.
The text was updated successfully, but these errors were encountered: