there are multiple ways to achieve your target. As a start let me point out that there are two file systems in WICED 3.1.2.
- A simple read write file system (which is called multi application file system). This can take up to 7 files and should usually be used for applications and configuration files
- read only resources file system, this as the name implies is more for read only resources.
- if your web content are static and don't need to change, they can be put in the resources file system.
This is already done in BCM943362WCD4_ext platform. so rather than building for BCM943362WCD4, build for BCM943362WCD4_ext. This will put all your resources in the filesystem (it is basically doing the same thing you did plus some extra minor modifications to download the file system to external serial flash)
- if your files are dynamic you can use the mutli application read/write APIs to write these files, however pay attention to the number of files and the durability of your serial flash. for more details on this have a look at Apps/snip/ota_fr.
Thanks for your response.
Please could you clarify about BCM943362WCD4_ext platform. It is neither in SDK 3.1.2 nor in SDK 2.4.1. Where can I find it?
Basically when I try to make a target: "snip.ota_fr-BCM943362WCD4_ext download download_apps run"
I get error: "tools/makefiles/wiced_config.mk:193: *** Unknown component: BCM943362WCD4_ext."
1 of 1 people found this helpful
I just realized that the BCM943362WCD4_ext is not released, its part of the development only. However I'll create to a patch for you with the platform and send it to you.
Sorry for the confusion and late reply.
Just wondering about the progress with BCM943362WCD4_ext platform. Can it be shared yet?
I would like to have the BCM943362WCD4_ext platform file.
Would you send a copy to me !?
Thanks in advance,
Please find the attached platform files for BCM943362WCD4_ext. Sorry for being late in posting this. Before of time restrictions, this hasn't been fully tested, however, I believe it should work.
BCM943362WCD4_ext.7z.zip 8.7 K
WiConnect firmware, which is based on WICED, solves all your interactive web issues and lots more in no time flat so you can spend your valuable time focussing on your application, rather than tearing your hair out over mundane low-level wireless/networking/security issues. Think of WiConnect as WICED-on-steroids.
Want to upload/download files? No problem. Just drag those files right onto your module with a mouse using the web app that comes free with WiConnect. We provide full source and a JS build system for the web app too.
More info about the core WiConnect API is available at http://wiconnect.ack.me
Info about the HTTP(S) webserver and REST API is at WiConnect - HTTP Server with RESTful API
If you need help with other features, there's loads of WiConnect Application examples too.
And try it on BC943362WCD4 EVB!
It work except there are some files have to modify base on SDK 3.1.2.
I am also working on SDK 3.1.2 and wanted to store data on external flash using SPI.
Will you please tell me what are changes or modification needed to be done in SDK 3.1.2 .
Just add "BCM943362WCD4_ext" folder into "Wiced-SDK/platforms" folder and run:
"snip.ota_fr-BCM943362WCD4_ext download download_apps run" for example.
Also have a look at this thread:
All done by Bassem. Thanks to him.