RL78/G23 Connecting to Amazon Web Services Using FreeRTOS with RL78/G23-128p
Fast Prototyping Board
R20AN0650EJ0101 Rev.1.01 Page 2 of 21
Dec.01.21
Contents
1. Outline ..................................................................................................................................... 3
2. Preparing Amazon FreeRTOS projects .................................................................................... 3
2.1 Downloading FreeRTOS and importing demo ........................................................................................ 3
3. Preparing AWS ........................................................................................................................ 5
4. Preparing the hardware ........................................................................................................... 6
4.1 RL78/G23-128p Fast Prototyping Board ................................................................................................. 6
4.2 SX-ULPGN .............................................................................................................................................. 6
4.3 DIGILENT Pmod usbuart ........................................................................................................................ 7
4.4 Writing the certificate ............................................................................................................................... 7
4.4.1 Downloading SharkSSL ........................................................................................................................ 7
4.4.2 Obtaining the certificate data ................................................................................................................. 7
4.4.3 Obtaining the CA list (Class 2 Root CA) ............................................................................................... 8
4.4.4 Converting the certificate and private key to SharkSSL binary format ................................................ 11
4.4.5 Converting the CA list to SharkSSLPerseCAList binary format .......................................................... 11
4.4.6 Writing the certificate to SX-ULPGN ................................................................................................... 11
4.4.7 Connecting the SX-ULPGN ................................................................................................................. 14
4.5 Preparing to receive the debug log ....................................................................................................... 15
5. Building and running .............................................................................................................. 16
6. Demo operations confirm in AWS IoT console ....................................................................... 18
7. Appendix ............................................................................................................................... 19
7.1 How to upgrade drivers ......................................................................................................................... 19
Revision History ............................................................................................................................ 21
Note:
• AWS™ is a trademark of Amazon Web Services, Inc. (https://aws.amazon.com/trademark-guidelines/)
• FreeRTOS™ is a trademark of Amazon Web Services, Inc. (https://freertos.org/copyright.html)
• GitHub
®
is a trademark of GitHub, Inc. (https://github.com/logos)