In microzig v0.15.1, does programming flash on an RP2350 work? Currently I try to erase a sector from flash using a similar piece of code from the flash_program example, and it panics with "missing coprocessor usage = true". What can I do about this? Looking at the pico sdk, the functions for flash are the exact same for both the RP2040 and the RP2350, so I assumed the current code for erasing flash would work.
Edited: Turns out if all the bits of the flash are set to 1 already, it will crash when it tries to erase it. However, I can't seem to program it though as it crashes with "unaligned memory access = true" when writing anything from (seemingly) all 0xFFs.
In microzig v0.15.1, does programming flash on an RP2350 work? Currently I try to erase a sector from flash using a similar piece of code from the flash_program example, and it panics with "missing coprocessor usage = true". What can I do about this? Looking at the pico sdk, the functions for flash are the exact same for both the RP2040 and the RP2350, so I assumed the current code for erasing flash would work.
Edited: Turns out if all the bits of the flash are set to 1 already, it will crash when it tries to erase it. However, I can't seem to program it though as it crashes with "unaligned memory access = true" when writing anything from (seemingly) all 0xFFs.