Access SPI Flash via memory map
Section 2.6 Memory Mapping in https://www.sony-semicon.co.jp/products/common/pdf/CXD5602_user_manual.pdf shows that there's a region of memory with "Data on SPI-Flash"
How/where is the 8MB of SPI Flash mapped into this 256MB region? Is it accessible?
I actually don't know this one. I'm investigating internally and will get back to you once I have an answer.
Unfortunately, because of security issue, we don’t open the memory mapped access by application CPUs.
Application CPU must request read from/write to the flash to M0P.
@CamilaSouza It would be better if the M0+ cpu enabled a window into the 4MB SPI flash or allowed r/w access without buffering in ram. The farapi to r/w files off the spi flash is not enough (fw_fm_rawread presumably).
It also cripples the processor when it comes to loading ML models or executables from storage. It's hard to see why the platform is advertised with 8MB flash if only half actually works and is not actually enabled for access per the manual.
Has SONY disabled any other core functionality?