There must be something fundamental that I am missing here as I simply cannot get started with my task.
I have an SN8200 that I find needs to be programmed. Following the (marketing oriented and certainly totally untechnical) advice from Murata I ended up having to buy an STM32F4DIS-WIFI "Discover" module that appears to have some program in it and can act as an AP. Also following the advice provided to me earlier (How to program BCM43362 on own PCB) I have also purchased an Olimex ARM-USB-TINY-H programmer.
Ultimately I want to use the SN8200 on a PCB of my own to talk via a UART interface to a MCU to provide WiFi access to the board.
I have also downloaded and installed the WICED SDK 3.1.1 and later, as it says that it does not support the STM32F1xx found in the SN8200 I have also downloaded and installed the WICED SDK 2.4.1. (By the way, I am a bit confused as the WDK 3.1.1 'Readme.txt" says that there is support for the STM32F1xx - line 29 - and later says that the STM32F1xx is not yet supported" - line 202. Which is correct?)
Therefore I understand that I have to:
1) get the Olimex programmer to connect with the STM32F4DIS-WIFI board and to talk with my iMac (fully patched Yosemite)
2) write my own firmware to load into the SN8200 using the Olimex programmer
OK - here is the situation I'm in:
Trying to get 1) above to work, I have connected the Olimex programmer to the iMac and to the STM32F4DIS-WIFI and the iMac can see the programmer but not the STM32 board (but I suspect that it because the USB connector is really only providing power).
In the WICED IDE, there are a number of sample projects in the "WICED-SDK-2.4.1" list (on the right-hand side of the screen) but all seem to relate to some other evaluation board.
Problem #1: If I double-click on one of the sample programs, then it starts the build progress and ends with errors that say the OpenOCD failed. The log file (on disk) says:
Info : only one transport option; autoselect 'jtag'
trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_deassert_srst
DEPRECATED! use 'adapter_khz' not 'jtag_khz'
adapter speed: 1000 kHz
DEPRECATED! use 'adapter_nsrst_delay' not 'jtag_nsrst_delay'
cortex_m3 reset_config vectreset
Error: unable to open ftdi device: device not found
in procedure 'init'
To try to fix this, I strike Problem #2: I imagine I need to alter some setting within the sample program to tell it about the programmer I'm using to overcome the "ftdi device...not found" problem. How can I open up one of these sample files to examine its settings as I cannot find any option to expand the entry on the right of the IDE into its component parts and properties.
Problem #3: Given my ultimate goal, what documentation should I be reading that tells me:
- how to use the IDE
- how to structure the program I need to create (what components, libraries etc.) that will simply make the SN8200 connect to my WiIF network and let me create UDP ports etc.? (Murata put out a very good manual entitled "SNIC Interface Specification" that has all of the details about all of the commands I need to give the SN8200 but absolutely no mention of where to get the source code and how to build it
There must be a "really dumb beginners guide to getting something really basic going" guide somewhere but my Google searches cannot find it. There is a log of information that surrounds the $200+ boards that I don;t have (and can't afford).
For the life of me I simply cannot get started and any help would be appreciated. (On the other hand I have successfully designed and built my own circuits and programmed a number of microcomputers in the past and I don't consider my self stupid!)