background image

 

 

 

 
 
 
 
 
 
 

 

 

 
 
 
 

 

Version : 

Author : 

Document ID : 

Release Date : 

0.2.0 

SyChip  Engineering 

S10204 

August 11, 2020 

 
 
 
 
 
 
 

Notice

 

Murata reserves the right to make changes in 

specifications

 at anytime and without notice. The information 

furnished in this data sheet is believed to be accurate and reliable. However, no responsibility is assumed by 

Murata for its use,no any infringements of patents or other rights of third parties resulting from its use. 

No license is generated under any rights of Murata or its supporters unless 

specifically

 agreed. 

 
 
 

Preliminary & Public 

Murata Manufacturing Co., Ltd. 

 

 

TypeABR AWS FreeRTOS SDK

 

Getting Started Guide

 

Document ID : S10204

 

User  manual

 

Summary of Contents for ABR

Page 1: ... data sheet is believed to be accurate and reliable However no responsibility is assumed by Murata for its use no any infringements of patents or other rights of third parties resulting from its use No license is generated under any rights of Murata or its supporters unless specifically agreed Preliminary Public Murata Manufacturing Co Ltd TypeABR AWS FreeRTOS SDK Getting Started Guide Document ID ...

Page 2: ...ccount and permissions 5 2 3 2 Register with AWS IoT 5 3 Build The AWS FreeeRTOS SDK 6 3 1 Set up development environment 6 3 2 Get the AWS FreeeRTOS SDK 6 3 3 AWS FreeeRTOS SDK Modifications 7 3 4 Build the AWS demos firmware 8 4 Run the Firmware 9 4 1 Download the firmwares 9 4 2 Run the FreeRTOS demo project 9 4 3 Monitoring MQTT messages on the cloud 10 5 LastWillAndTestament 11 5 1 Reference Sol...

Page 3: ...eABR AWS FreeRTOS SDK Getting Started Guide Revision History Revision Date Description V0 1 0 2020 06 17 Initial version V0 2 0 2020 08 11 Add the section for LastWillAndTestament test case Revise for public release ...

Page 4: ...Technical Support window Please keep us informed of your comments and suggestions for improvements Murata will take into consideration any and all feedback from the users of this information 1 4 Text Conventions Tip Provides advice and suggestions that may be useful when using the product Note Provides note admonitions that should be took into considerations when using the product Caution Alerts t...

Page 5: ...S SDK Getting Started Guide 1 5 Acronyms Abbr Description EVB Evaluation Board 1 6 Related Documents DS TypeABR_Module_Datasheet pdf Murata UG CMWC1ZZABR EVB Hardware Manual pdf Murata AN S10093 TypeABR_Firmware_Upgrade_Guide pdf Murata ...

Page 6: ...hine for developing and debugging embedded applications 4 Cross compiling a FreeRTOS demo application to a binary image 5 Loading the application binary image to your board and then running the application 6 Interacting with the application running on your board across a serial connection for monitoring and debug ging purposes 2 1 System Diagram The typical system diagram shown as below Fig 2 1 Sy...

Page 7: ...tings 2 3 1 AWS account and permissions You need an AWS account an IAM user with permission to access AWS IoT and FreeRTOS cloud services Please complete the instructions in Setting up your AWS account and permissions 2 3 2 Register with AWS IoT To register your board with AWS IoT you need the following An AWS IoT policy The AWS IoT policy grants your device permissions to access AWS IoT resources...

Page 8: ... AWS FreeeRTOS SDK Clone the amazon freertos from gitub git clone git github com aws amazon freertos git cd amazon freertos git checkout origin 202002 00 b 202002 00 git submodule update init recursive cd python version Python 2 7 17 cmake version cmake version 3 15 3 wget https launchpad net gcc arm embedded 4 9 4 9 2015 q3 update download gcc C arm none eabi 4_9 2015q3 20150921 linux tar bz2 tar...

Page 9: ...elowsettings in amazon freertos demos include aws_clientcredential h 34 41 4 Modify AWS Thing cert and private key modify below setting in amazon freertos demos include aws_clientcredential_keys h with the cert and private key download from AWS IoT 39 define keyCLIENT_CERTIFICATE_PEM BEGIN CERTIFICATE n 40 base64 data n 41 END CERTIFICATE n void board_uart_pin_config int id switch id case UART0_ID...

Page 10: ...PRIVATE_KEY_PEM BEGIN CERTIFICATE n 61 base64 data n 62 END CERTIFICATE n 3 4 Build the AWS demos firmware The firmware file aws_demos bin is located in build after below commands cd amazon freertos cmake DVENDOR marvell DBOARD mw320 DCOMPILER arm gcc S B build DAFR_ENABLE_ C TESTS 0 cd build make all j4 ...

Page 11: ...88 36 p135 bin vendors marvell WMSDK mw320 sdk tools OpenOCD flashprog py mcufw build C marvell mw320 aws_demos bin r FreeRTOS Started Application Daemon Startup Will attempt to start wlan Wi Fi module initialized Connecting to AP Registered seed_handler 0 21045 IP task vDHCPProcess offer c0a8328cip 1 30045 IP task vDHCPProcess offer c0a8328cip Network connection successful Wi Fi Connected to AP C...

Page 12: ...t in the AWS IoT console to monitor the messages that your device sends to the AWS Cloud To subscribe to the MQTT topic with the AWS IoT MQTT client 1 Sign in to the AWS IoT console 2 In the navigation pane choose Test to open the MQTT client 3 In Subscription topic enter iotdemo and then choose Subscribe to topic Fig 4 1 AWS IoT Cloud Device connection status ...

Page 13: ...718 719 720 721 722 723 724 725 726 vendors marvell boards mw300_rd aws_tests config_files aws_test_runner_config h TEST MQTT_System LastWillAndTestament libraries c_sdk standard mqtt test system C io RUN_TEST_GROUP MQTT_Unit_Validate RUN_TEST_GROUP MQTT_Unit_Subscription RUN_TEST_GROUP MQTT_Unit_Receive RUN_TEST_GROUP MQTT_Unit_API RUN_TEST_GROUP MQTT_Unit_Metrics if testrunnerFULL_MQTTv4_ENABLED 1 ...

Page 14: ...ne testrunnerFULL_MEMORYLEAK_ENABLED 0 50 define testrunnerFULL_TLS_ENABLED 0 51 define testrunnerFULL_HTTPS_CLIENT_ENABLED 0 2 Modify the MbedTLS Configuration in libraries 3rdparty mbedtls include mbedtls config h 579 586 593 687 720 966 1180 1250 1570 3 ModifyFreeRTOSConfigurationsinvendors marvell boards mw300_rd aws_tests config_files FreeRTOSConfig h 54 115 3 Modify IoT Configurations in vendors ma...

Page 15: ...stament will be tested alone then test result for LastWil lAndTestament will be PASS 5 3 Reference Running Logs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 cd path to amazon freertos 202002 00 cat path to murata_typeabr_xxx patch patch p1 FreeRTOS Started Application Daemon Startup Registered seed_handler 0 328 Startup Hook Write certificate Will attempt to start wlan Wi Fi module initia...

Page 16: ...e that if you use our products in such applications we will not be responsible for any failure to meet such requirements Furthermore YOU AGREE TO INDEMNIFY AND DEFEND US AND OUR AFFILIATES AGAINST ALL CLAIMS DAMAGES COSTS AND EXPENSES THAT MAY BE INCURRED INCLUDING WITHOUT LIMITATION ATTORNEY FEES AND COSTS DUE TO THE USE OF OUR PRODUCTS IN SUCH APPLICATIONS Aircraft equipment Aerospace equipment ...

Page 17: ...ts herein When you are not able to return the signed version of specification sheet or approval sheet within 30 days from receiving date of specification sheet or approval sheet it shall be deemed to be your consent on the content of specification sheet or approval sheet Customer acknowledges that engineering samples may deviate from specifications and may contain defects due to their development stat...

Reviews: