Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Developing IoT devices. Creating wearables with the new LinkIt™ 2523 HDK by SAC

697 views

Published on

Develop wearable devices the easy way with all the tools and support you could need including HDKs, SDKs and technical documentation.

The new LinkIt™ 2523 HDK by SAC is for developers looking to create advanced wearable products. Based on the MediaTek MT2523G chipset the HDK offers dual-mode Bluetooth, comprehensive GNSS standards support and industry leading performance in terms of time-to-first-fix, accuracy and power consumption. The HDK is ideal for developers looking to create more sophisticated wearables such as smartwatches, fitness trackers, health monitors, emergency locators and more.

In this 30 minute webinar MediaTek Labs technical consultant Philip Handschin demonstrated how to get started with the LinkIt™ 2523 HDK by SAC, enabling developers to create advanced wearable products.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Developing IoT devices. Creating wearables with the new LinkIt™ 2523 HDK by SAC

  1. 1. PhilipHandschin TechnicalConsultant DevelopingIoTdevices. Creatingwearableswith thenewLinkIt™2523 HDKby SAC
  2. 2. Topics 2 WHAT IS MEDIATEK LABS LinkIt Development platform for RTOS How to get started • Install SDK • Compile test project • Prepare board for flashing • Flash the board • Create own project • Documentation Questions
  3. 3. MediaTek Labs ADeveloper Centric Ecosystem ̶ Global program – free to join ̶ Supporting developers: ̶ Device creation ̶ App development ̶ Services ̶ labs.mediatek.com
  4. 4. 2016-12-07Copyright © MediaTek Inc. All rights reserved. 4 Enabling Developer and Maker Success ̶ Dev resources ̶ Insights and inspiration ̶ Access to hardware ̶ SDKs for makers (Arduino), professional developers (C/Eclipse) and Linux (OpenWrt and Ubuntu) ̶ Technical support ̶ Peripherals (sensors, etc) ̶ Cloud management of device data ̶ Developer advice & matchmaking ̶ Design, production & go-to-market help Go from idea to prototype to product
  5. 5. MediaTek LinkIt™ portfolio Software and hardware development platforms for wearables & IoT Copyright © MediaTek Inc. All rights reserved. LinkIt Assist 2502 labs.mediatek.com/2502 ̶ Wearable form factors ̶ For professional developers (C/Eclipse) LinkIt ONE labs.mediatek.com/linkitone ̶ Unrivalled connectivity on a single board ̶ For DIY & maker community (Arduino) LinkIt Connect 7681 labs.mediatek.com/7681 ̶ The simple way to Wi-Fi enable your devices ̶ For low-cost smart home or office deployment LinkIt Smart 7688 labs.mediatek.com/7688 ̶ Open-source Wi-Fi platform for a more connected world ̶ OpenWrt Linux, Python, Node.js, Arduino
  6. 6. • Using FreeRTOS with open-source modules with common SDK • Hardware integrated PMU and security engines • Development and debugging support in KEIL, IAR, and GCC • labs.mediatek.com/rtos MediaTekLinkIt™DevelopmentPlatform forRTOS Copyright © MediaTek Inc. All rights reserved. LinkIt 7687 HDK by SAC labs.mediatek.com/7687 ̶ IoT development board for power efficient IoT devices with secure Wi-Fi connectivity LinkIt 2523 HDK by SAC labs.mediatek.com/2523 ̶ For Bluetooth connected wearables with fast and accurate positioning
  7. 7. 2016-12-07Copyright © MediaTek Inc. All rights reserved. 7 RapidlygrowingLinkItcommunity
  8. 8. Topics 8 What is MediaTek Labs LINKIT DEVELOPMENT PLATFORM FOR RTOS How to get started • Install SDK • Compile test project • Prepare board for flashing • Flash the board • Create own project • Documentation Questions
  9. 9. LinkIt Development platform for RTOS 9 MediaTek SOC Range of MediaTek SOC starting with MT2523G SDK & tools GCC compiler and Keil µVision support, flashing and pin mux tools RTOS & API Optimized RTOS and API to take advantage of MediaTek SOC features and connected peripherals + ++ HDK & modules LinkIt and compatible HDKs for prototyping and compatible modules for device manufacture labs.mediatek.com/rtos
  10. 10. 10
  11. 11. Topics 11 What is MediaTek Labs LinkIt Development platform for RTOS HOW TO GET STARTED • Install SDK • Compile test project • Prepare board for flashing • Flash the board • Create own project • Documentation Questions
  12. 12. INSTALL SDK How To Get Started 12
  13. 13. Download SDK 13
  14. 14. Install MinGW 14 ▪ Download MinGW cross-compiler • https://sourceforge.net/projects/mingw/files/Inst aller/mingw-get-setup.exe/download
  15. 15. 15
  16. 16. 16
  17. 17. Test MinGW installation 17 ▪ Navigate to C:MinGWmsys1.0 folder ▪ launch terminal by running msys.bat ▪ Close it again
  18. 18. Copy SDK to MinGW 18 ▪ Unzip the downloaded SDK file ▪ Copy the whole folder to ▪ C:MinGWmsys1.0home<username>LinkI t_SDK_V4.0.0_public
  19. 19. Install ARM_GCC 19 ▪ Download ARM-GCC-win32 • https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014- q3-update/+download/gcc-arm-none-eabi-4_8-2014q3- 20140805-win32.zip ▪ Create a new folder named win under • C:MinGWmsys1.0home<username><SDK root>toolsgcc ▪ b) Unzip the content of the zip file to <sdk_root>toolsgccwin folder. ▪ c) Rename the unzipped folder gcc-arm-none-eabi
  20. 20. 20
  21. 21. COMPILE TEST PROJECT How To Get Started 21
  22. 22. Demo 22 ▪ Navigate to C:MinGWmsys1.0 folder ▪ launch terminal by running msys.bat
  23. 23. Compile a test project 23 ▪ Change to SDK directory ▪ Use “./build.sh list” to see all commands/projects ▪ Use “./build.sh <HDK> <PROJECT>” ▪ Example “./build.sh mt2523_hdk rtc_set_alarm”
  24. 24. Out directory 24 ▪ Once compilation is successful, out files are in ▪ <sdk_root>out<HDK><project_name>
  25. 25. PREPARE BOARD FOR FLASHING How To Get Started 25
  26. 26. Unzip PC_tool_Win 26 ▪ Under <SDK_root>/tools, unzip PC_tool_Win
  27. 27. Prepare board drivers 27 ▪ MT2523_FlashToolMS_USB_ComPort_Driver v1.1032.1 InstallDriver.exe ▪ Install driver ▪ Connect board with a micro USB cable
  28. 28. MT2523 USB 28
  29. 29. 29
  30. 30. Prepare board drivers MK20 30 ▪ Connect board with a micro USB cable ▪ Download mbed driver • https://developer.mbed.org/handbook/Windows- serial-configuration ▪ Install driver
  31. 31. MK 20 USB 31
  32. 32. 32
  33. 33. FLASH THE BOARD How To Get Started 33
  34. 34. Prepare HDK for flashing 34
  35. 35. FLASH THE BOARD How To Get Started 35
  36. 36. Flash the board 36 ▪ Disconnect the board from your computer ▪ Start the flash tool
  37. 37. Flash the board 37 1 2 3 4. Plug in board to computer
  38. 38. Run the project 38 ▪ Disconnect the micro-USB cable ▪ Reconnect the USB cable to MK20 port ▪ Open HyperTerminal/Putty program • Choose Serial connection • Choose COM port and Speed • Open connection 1
  39. 39. CREATE A NEW PROJECT How to get started 39
  40. 40. Build your own project 40 ▪ Copy existing project folder ▪ Change makefile in GCC folder • <project_name>/GCC ▪ Change Code ▪ Compile project
  41. 41. Debug 41 ▪ If the build fails, log can be found in out directory • <SDK_root>out<hdk><project>log ▪ More debug details in getting started guide.
  42. 42. Check out logs 42 ▪ Open HyperTerminal/Putty program • Choose Serial connection • Choose COM port and Speed • Open connection 1
  43. 43. DOCUMENTATION How To Get Started 43
  44. 44. Documentation 44 ▪ <SDK root>/doc ▪ How to setup GCC compiler • LinkIt_SDK_v4_GCC_Build_Environment_Guide ▪ Getting started with development • LinkIt_for_RTOS_Get_Started_Guide  Debugger setup under point 2.3.6 ▪ Complete API reference • <SDK root>docLinkIt SDK for 2523 API Reference Manualindex.html
  45. 45. Topics 45 What is MediaTek Labs LinkIt Development platform for RTOS How to get started • Install SDK • Compile test project • Prepare board for flashing • Flash the board • Create own project • Documentation QUESTIONS
  46. 46. Questions? 46 Download Resources: labs.mediatek.com/rtos MediaTek Cloud Sandbox: labs.mediatek.com/mcs Check the Forum: labs.mediatek.com/forums
  47. 47. Copyright © MediaTek Inc. All rights reserved.

×