Installation Tutorials

Solved
PeterF's picture
PeterF
Moderator(16)

*** INSTALLATION TUTORIALS! *** Part 1 and Part 2 are now available!

 

Part 1 - covers toolchain install, USB drivers and AWS Shadow 
Part 2 - covers some key aspects when getting started with Broadcom WICED SDK for application software development targeting this IoT Starter Kit    
(Narrated video versions of these slides will be made available shortly....)  

PeterF's picture
PeterF
Moderator(16)

Part 2 of the Installation Tutorial is now available! 
(revised v1.1 version has corrected procedure for "baking-in" the WLAN and AWS settings)

 

This covers key aspects of your application software development using the Broadcom WICED SDK

 

Use the link provided here to download these slides:

 

pihlung's picture
pihlung
Junior(2)

Thanks for great tutorials with lots of useful and precise instructions.

I seem to have an issue with the bake-in connection to AWS. Target build and downloads fine. 

After the download the board have

the green Led 3.3volt is on.

then user2 red led blinking fast ->off after ~5 sec

then wlan blue led blinking normal speed -> off after 5-10 sec

and on my PC I can see that WICED_AWS is broadcasted..( should it only broadcast WICED_AWS  if wifi login fails?)

I have checked that I have entered SSID and Passphase, and Cert and Priv Key in the right place according to your Tutorial.

Do you have any advise as how to debug the problem.

Thanks

Pih Lung

13:20:16 **** Build of configuration Default for project WICED-SDK ****
"C:\\Users\\..\\Documents\\WICED\\WICED-SDK-3.5.2\\WICED-SDK\\make.exe" demo.aws_iot.shadow-BCM94343W_AVN download download_apps run 
MAKEFILE MAKECMDGOALS=demo.aws_iot.shadow-BCM94343W_AVN download download_apps run OTA2_SUPPORT is disabled
Building Bootloader
Building Serial Flash Loader App
MAKEFILE MAKECMDGOALS=waf.sflash_write-NoOS-BCM94343W_AVN-SDIO OTA2_SUPPORT is disabled
waf.sflash_write-NoOS-BCM94343W_AVN-SDIO
----------------------------------|---------|---------|
                                  |         |  Static |
              Module              |  Flash  |   RAM   |
----------------------------------+---------+---------|
App                               |       0 |   21126 |
Host MCU-family library           |       0 |   12584 |
Interrupt Vectors                 |       0 |     388 |
libc                              |       0 |     548 |
platform                          |       0 |    1300 |
Ring_Buffer                       |       0 |      36 |
SPI_Flash_Library_BCM94343W_AVN   |       0 |     984 |
Startup Stack & Link Script fill  |       0 |     486 |
WWD                               |       0 |     176 |
----------------------------------+---------+---------|
TOTAL (bytes)                     |       0 |   37628 |
----------------------------------|---------|---------|

Build complete
Finished Building Bootloader
Finished Building Serial Flash Loader App

Making DCT image
demo.aws_iot.shadow-BCM94343W_AVN
----------------------------------|---------|---------|
                                  |         |  Static |
              Module              |  Flash  |   RAM   |
----------------------------------+---------+---------|
App                               |    6303 |    8593 |
base64                            |     523 |       0 |
crc                               |    1060 |       0 |
crypto_open                       |   46539 |       0 |
DHCP_Server                       |    1522 |     132 |
DNS                               |    1500 |      44 |
DNS_Redirect_Daemon               |     645 |       0 |
Host MCU-family library           |   13980 |    2568 |
HTTP_Server                       |    3364 |       0 |
Interrupt Vectors                 |     388 |       0 |
JSON_parser                       |    1768 |     660 |
libc                              |   36289 |    3136 |
Linked_List                       |     504 |       0 |
micro_ecc                         |    5848 |       0 |
MQTT_Client                       |    5496 |     736 |
Networking                        |    5860 |   13208 |
NetX-Duo - Interfaces & Stacks    |       0 |      16 |
Other                             |   44662 |     535 |
Packet Buffers                    |       0 |   23086 |
platform                          |    1452 |     256 |
RAM Initialisation                |    2788 |       0 |
resources                         |   55188 |       0 |
Ring_Buffer                       |      92 |       0 |
SPI_Flash_Library_BCM94343W_AVN   |     512 |       0 |
Startup Stack & Link Script fill  |      49 |      18 |
Supplicant - BESL                 |   37232 |     536 |
ThreadX                           |    8588 |     396 |
TLV                               |     200 |       0 |
WICED                             |    4739 |     968 |
Wiced_RO_FS                       |     568 |       0 |
WWD                               |   15973 |    3048 |
----------------------------------+---------+---------|
TOTAL (bytes)                     |  300844 |   57936 |
----------------------------------|---------|---------|

Downloading Bootloader ...
Building apps lookup table
No changes detected 

Downloading DCT ...
Download complete 

Downloading Application ...
No changes detected 

Downloading WIFI_FIRMWARE ... at sector 1  size 88...
Downloading apps lookup table in wiced_apps.mk ... build/demo.aws_iot.shadow-BCM94343W_AVN/APPS.bin @ 0x0000 size 
Resetting target
Target running
Build complete
Making .gdbinit

13:21:00 Build Finished (took 44s.203ms)

pihlung's picture
pihlung
Junior(2)

and when I connect, the WICED_AWS connection was limited and I could not open the web interface to set the cert/key manually.

darrickc's picture
darrickc
Junior(0)

It seems like step 9 directs you to a url that doesn't exist...http://cloudconnectkits.org/forum/topic/tutorial-part-2-directs-you-404

PeterF's picture
PeterF
Moderator(16)
darrickc's picture
darrickc
Junior(0)

I'm actually looking for the additional awsiot projects that are supposed to be at
https://github.com/CloudConnectKits/WICED-SDK-3.5.2_Platform_Files/apps/...
Unfortunately this page doesn't exist. You can navigate up and get version 3.4 but it seems like those files are out of date and don't compile.

pihlung's picture
pihlung
Junior(2)

Ok, sorry my fault. I should just connect USB serial connections to BCM board, and I could read that I should just push reset button and user button at the same time and keep the user button down for another 5sec and it will start up in the right mode and automatic connect to AWS.

From serial connection:

Starting WICED v3.5.2

Platform BCM94343W_AVN initialised

Started ThreadX v5.6

Initialising NetX_Duo v5.7_sp2

Creating Packet pools

WWD SDIO interface initialised

WLAN MAC Address : B0:38:29:3D:3A:67

WLAN Firmware    : wl0: Nov 25 2015 12:57:14 version 7.45.45.1 (r602358) FWID 01-1920c040

Please wait, connecting to network...

(To return to SSID console screen, hold USER switch for 5 seconds during RESET to clear DCT configuration).