DA16200 Freertos SDK Startup Guide for Windows UM-WI-050

DA16200 Freertos SDK Startup Guide for Windows UM-WI-050

User Manual DA16200 FreeRTOS SDK Startup Guide for Windows UM-WI-050 Abstract The DA16200 is a highly integrated ultra-low power Wi-Fi system on chip (SoC) that allows users to develop the Wi-Fi solution on a single chip. This document is an DA16200 SDK startup guide document intended for developers who want to program using the DA16200 chipset. UM-WI-050 DA16200 FreeRTOS SDK Startup Guide for Windows Contents Abstract ................................................................................................................................................ 1 Contents ............................................................................................................................................... 2 Figures .................................................................................................................................................. 2 Tables ................................................................................................................................................... 3 1 Terms and Definitions ................................................................................................................... 4 2 References ..................................................................................................................................... 4 3 Introduction.................................................................................................................................... 5 3.1 System Requirements ........................................................................................................... 5 4 Development Environments Setup .............................................................................................. 5 4.1 Install Library ......................................................................................................................... 5 4.1.1 JDK ........................................................................................................................ 5 4.1.2 GNU Arm GCC ...................................................................................................... 7 4.2 Eclipse IDE Setup ................................................................................................................. 8 4.2.1 Install the Eclipse IDE ............................................................................................ 8 4.2.2 Install the Eclipse Embedded CDT Plug-in............................................................ 9 5 Set Up/Import SDK ...................................................................................................................... 12 5.1 Import SDK Source to the Eclipse IDE ............................................................................... 12 6 Build SDK ..................................................................................................................................... 14 7 Firmware Update ......................................................................................................................... 15 7.1 DA16200 Connecting the Board ......................................................................................... 15 7.2 Configure the Serial Port for UART ..................................................................................... 16 7.3 Bootloader Image ................................................................................................................ 17 7.4 Main RTOS Image .............................................................................................................. 18 8 Debugging with JTAG Using J-Link .......................................................................................... 20 8.1 Install J-Link Software ......................................................................................................... 20 8.2 Set Up J-Link Debugger ...................................................................................................... 21 8.2.1 Connect J-Link ..................................................................................................... 21 8.2.2 Import Launch Configurations ............................................................................. 23 8.3 Run Debug Mode ................................................................................................................ 24 8.4 Debugging ........................................................................................................................... 25 8.4.1 DA16x_Main_Debug (Reboot) ............................................................................ 25 8.4.2 DA16x_Main_Debug (Attach) .............................................................................. 25 8.4.3 DA16x_Main_Debug (attach_with_rtos_info) ...................................................... 25 Revision History ................................................................................................................................ 26 Figures Figure 1: Download JDK ........................................................................................................................ 5 Figure 2: Environment Variables ........................................................................................................... 6 Figure 3: Edit a Path .............................................................................................................................. 6 Figure 4: Add a JDK Global Path .......................................................................................................... 6 Figure 5: Download node.js ................................................................................................................... 7 User Manual Revision 1.0 31-Mar-2021 CFR0012 2 of 27 © 2021 Dialog Semiconductor UM-WI-050 DA16200 FreeRTOS SDK Startup Guide for Windows Figure 6: Install node.js ......................................................................................................................... 7 Figure 7: Install Xpack ........................................................................................................................... 7 Figure 8: Install GNU Arm GCC ............................................................................................................ 8 Figure 9: Install Windows Build Tools ................................................................................................... 8 Figure 10: Download Eclipse IDE for C/C++ Developers ...................................................................... 8 Figure 11: Launch the Eclipse IDE ........................................................................................................ 9 Figure 12: Run Eclipse Marketplace ..................................................................................................... 9 Figure 13: Install the Eclipse Embedded CDT Plug-in ........................................................................ 10 Figure 14: Eclipse Preference ............................................................................................................. 10 Figure 15: [MCU] Global Arm Toolchain Paths ................................................................................... 11 Figure 16: [MCU] Global Build Tools Path .......................................................................................... 11 Figure 17: Import SDK to the Eclipse IDE ........................................................................................... 12 Figure 18: Import SDK to the Eclipse IDE ........................................................................................... 12 Figure 19: Import SDK to the Eclipse IDE ........................................................................................... 13 Figure 20: Build SDK ........................................................................................................................... 14 Figure 21: Build SDK ........................................................................................................................... 14 Figure 22: Firmware Image Location ................................................................................................... 15 Figure 23: Check COM ports on Device Manager .............................................................................. 16 Figure 24: Serial Port Setup ................................................................................................................ 17 Figure 25: Mask ROM ......................................................................................................................... 17 Figure 26: Bootloader Prompt on Command Window ......................................................................... 17 Figure 27: Load Image File.................................................................................................................. 18 Figure 28: Main Image Prompt on Command Window ....................................................................... 18 Figure 29: Load Image File.................................................................................................................. 18 Figure 30: Factory Mode Prompt on Command Window .................................................................... 19 Figure 31: Download J-Link Software ................................................................................................. 20 Figure 32: Install J-Link Software ........................................................................................................ 20 Figure 33. J-Link

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    27 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us