Thank you for your input. I was able to access the regions by allowing writing to dangerous flash regions. In menuconfig:
(Top) -> Component config -> SPI Flash driver -> Writing to dangerous flash regions (Allowed)
https://esp32.com/viewtopic.php?t=45265