How to get started with the MediaTek LinkIt™ Development Platform for RTOS
Click here to load reader
-
Upload
mediatek-labs -
Category
Technology
-
view
344 -
download
10
Transcript of How to get started with the MediaTek LinkIt™ Development Platform for RTOS
![Page 1: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/1.jpg)
Philip HandschinTechnical Consultant
How to get started with the MediaTek LinkIt™ Development Platform for RTOS
![Page 2: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/2.jpg)
2
Topics
WHAT IS MEDIATEK LABSLinkIt Development platform for RTOSHow to get started
• Install SDK• Compile test project• Prepare board for flashing• Flash the board• Create own project
Questions
![Page 3: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/3.jpg)
MediaTek LabsA Developer Centric Ecosystem
� Global program – free to join� Supporting developers:
�Device creation�App development�Services
� labs.mediatek.com
![Page 4: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/4.jpg)
2023-05-03Copyright © 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
![Page 5: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/5.jpg)
MediaTek LinkIt™ portfolioSoftware and hardware development platforms for wearables & IoT
Copyright © MediaTek Inc. All rights reserved.
LinkIt Assist 2502labs.mediatek.com/2502
� Wearable form factors� For professional developers (C/Eclipse)
LinkIt ONElabs.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
![Page 6: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/6.jpg)
2023-05-03Copyright © MediaTek Inc. All rights reserved. 6
Rapidly growing LinkIt community
![Page 7: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/7.jpg)
7
Topics
What is MediaTek Labs
LINKIT DEVELOPMENT PLATFORM FOR RTOSHow to get started
• Install SDK• Compile test project• Prepare board for flashing• Flash the board• Create own project
Questions
![Page 8: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/8.jpg)
8
LinkIt Development platform for RTOS
MediaTek SOC
Range of MediaTek SOC starting with MT7687F offering IoT devices secure Wi-Fi connectivity
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
![Page 9: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/9.jpg)
9
Potential Applications
Home Appliance
Smart Gadget
7687
7687
Cloud
![Page 10: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/10.jpg)
10
Topics
What is MediaTek LabsLinkIt Development platform for RTOS
HOW TO GET STARTED• Install SDK• Compile test project• Prepare board for flashing• Flash the board• Create own project
Questions
![Page 11: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/11.jpg)
11
INSTALL SDKHow To Get Started
![Page 12: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/12.jpg)
12
Download SDK
![Page 13: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/13.jpg)
13
Install MinGW
▪Download MinGW cross-compiler • https://sourceforge.net/projects/mingw/files/
Installer/mingw-get-setup.exe/download
![Page 14: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/14.jpg)
14
![Page 15: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/15.jpg)
15
![Page 16: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/16.jpg)
16
Test MinGW installation
▪Navigate to C:\MinGW\msys\1.0 folder ▪ launch terminal by running msys.bat ▪ Close it again
![Page 17: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/17.jpg)
17
Copy SDK to MinGW
▪Unzip the downloaded SDK file▪ Copy the whole folder to▪ C:\MinGW\msys\1.0\home\<username>\
LinkIIt_SDK_V3.3.1
![Page 18: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/18.jpg)
18
Install ARM_GCC
▪ 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:\MinGW\msys\1.0\home\<username>\<SDK root>\tools\
gcc\▪ b) Unzip the content of the zip file to <sdk_root>\tools\
gcc\win\ folder. ▪ c) Rename the unzipped folder gcc-arm-none-eabi
![Page 19: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/19.jpg)
19
![Page 20: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/20.jpg)
20
COMPILE TEST PROJECTHow To Get Started
![Page 21: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/21.jpg)
21
Demo
▪Navigate to C:\MinGW\msys\1.0 folder ▪ launch terminal by running msys.bat
![Page 22: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/22.jpg)
22
Compile a test project
▪ Change to SDK directory▪Use “./build.sh list” to see all commands/projects
▪Use “./build.sh <HDK> <PROJECT>”
▪ Example “./build.sh mt7687_hdk http_client_get”
![Page 23: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/23.jpg)
23
Out directory
▪Once compilation is successful, out files are in ▪ <sdk_root>\out\<HDK>\<project_name>\
![Page 24: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/24.jpg)
24
PREPARE BOARD FOR FLASHINGHow To Get Started
![Page 25: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/25.jpg)
25
Prepare board
▪ Connect board with a micro USB cable▪Download mbed driver• https://
developer.mbed.org/handbook/Windows-serial-configuration
▪ Install driver
![Page 26: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/26.jpg)
26
![Page 27: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/27.jpg)
27
FLASH THE BOARDHow To Get Started
![Page 28: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/28.jpg)
28
Prepare HDK for flashing
Set Flash Mode
![Page 29: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/29.jpg)
29
Unzip PC_tool_Win
▪Under <SDK_root>/tools, unzip PC_tool_Win
![Page 30: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/30.jpg)
30
Flash continue
▪Open folder “MT7687_FlashTool_Public/win” ▪Open MT76x7_Flash_Tool.exe
![Page 31: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/31.jpg)
31
FLASH THE BOARDHow To Get Started
![Page 32: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/32.jpg)
32
Select COM port
▪ Click Refresh▪ Select correct COM PORT
1
2 3
![Page 33: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/33.jpg)
33
![Page 34: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/34.jpg)
34
1
2
![Page 35: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/35.jpg)
35
Run the project
▪ Disconnect the micro-USB cable ▪ Switch the flash FLASH Normal mode▪ Reconnect the USB cable and press the reset button ▪ Open HyperTerminal/Putty program• Choose Serial connection• Choose COM port and Speed• Open connection 1
2
3
![Page 36: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/36.jpg)
36
CREATE A NEW PROJECTHow to get started
![Page 37: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/37.jpg)
37
Build your own project
▪ Copy existing project folder▪ Change makefile in GCC folder• <project_name>/GCC
▪ Change Code▪ Compile project
![Page 38: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/38.jpg)
38
Demo
▪ Create a project▪ Connect to wifi▪ Execute Get request.▪ Print result on terminal
![Page 39: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/39.jpg)
39
Debug
▪ If the build fails, log can be found in out directory• <SDK_root>\out\<hdk>\<project>\log
▪More debug details in getting started guide.
![Page 40: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/40.jpg)
40
Check out logs
▪ Open HyperTerminal/Putty program• Choose Serial connection• Choose COM port and Speed• Open connection
1
2
3
![Page 41: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/41.jpg)
41
Topics
What is MediaTek LabsLinkIt Development platform for RTOSHow to get started
• Install SDK• Compile test project• Prepare board for flashing• Flash the board• Create own project
QUESTIONS
![Page 42: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/42.jpg)
42
Questions?
Download Resources:labs.mediatek.com/rtos
MediaTek Cloud Sandbox:labs.mediatek.com/mcs
Check the Forum:labs.mediatek.com/forums
![Page 43: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/43.jpg)
What’s Next ?
43
▪4 October– [Webinar] State of IoT NationMore Infohttp://home.labs.mediatek.com/event/iot-state-of-the-nation-2016-an-open-panel-discussion/
![Page 44: How to get started with the MediaTek LinkIt™ Development Platform for RTOS](https://reader038.fdocuments.in/reader038/viewer/2022102509/5878359a1a28abef5d8b762d/html5/thumbnails/44.jpg)
Copyright © MediaTek Inc. All rights reserved.