Although you are not going to download FR_APP and DCT_IMAGE, you still need to add the download_apps target, this is because it will download the file system lookup table (LUT) in to external flash. The LUT is where information about different files in the external flash is.
if downloading only the LUT cause issues, try setting APP0, ie:
Thanks. This answers my question. I tried and it correctly runs.
In this case, I need a concatenated SFLASH image to download the LUT in to SFLASH in the mass production. In the SDK 2.4.1, "sflash.bin" is generated after compiling our app and we use this concatenated image with our customized batch file.
In the SDK 3.1.2, what is the equivalent to "sflash.bin" of the SDK 2.4.X?
Currently, SDK 3.1.2 doesn't support this, however this can be added with no big change. Have a look at tools/makefiles/wiced_apps.mk. The file include the download targets of all files in external flash. Replace the OpenOCD download command with a write to a file at the given offset, this should give you target flash.bin.