If you are still loooking into this - Check out WiConnect 2.1
Here are some of the highlights that pertain to you and this thread:
- Support for external bulk serial flash up to 128 MBytes. See File System, Internal, Extended and Bulk Flash.
The Full release notes can be seen here: WiConnect by ACKme | Release Notes for WiConnect v2.1
Please could you let me know whether WiConnect can be ported onto a custom board with:
1) STM32F4 MCU connected to Murata Type ZX (BCM43362) via SDIO
2) MCU is also connected to external NOR flash via SPI
Thanks in advance.
I followed the directions in the thread you linked to, in particular defining FR_APP to be a legit factory default app.
The magic that is required to format/init the serial flash (and this isn't at all clear from the linked thread) is to add "download_apps" to the build target (without the quotes). This causes a serial flash downloader to be built and downloaded to your target. That program then initializes the serial flash using an application LUT and downloads any apps you've defined (in my case FR_APP).
Subsequent calls to get/set size, write chunk, etc. now work properly.