![Mediatek Labs LinkIt Connect 7681 Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/mediatek-labs/linkit-connect-7681/linkit-connect-7681_developers-manual_1760804025.webp)
MediaTek LinkIt™ Connect 7681 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 20 of 65
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
2)
identify the COM port on which the development board is connected by running
dmesg
, as
shown below, and identify the port from the highlighted
ttyUSBx
statement:
shell$ dmesg
[ 77.228120] usb 2-2: new full-speed USB device number 3 using ohci-pci
[ 77.460318] usb 2-2: New USB device found, idVendor=0403, idProduct=6001
[ 77.460326] usb 2-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 77.460331] usb 2-2: Product: FT232R USB UART
[ 77.460336] usb 2-2: Manufacturer: FTDI
[ 77.460341] usb 2-2: SerialNumber: A602IU80
[ 77.526011] usbcore: registered new interface driver usbserial
[ 77.526379] usbcore: registered new interface driver usbserial_generic
[ 77.527024] usbserial: USB Serial support registered for generic
[ 77.530284] usbcore: registered new interface driver ftdi_sio
[ 77.530726] usbserial: USB Serial support registered for FTDI USB Serial
Device
[ 77.530861] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 77.531049] usb 2-2: Detected FT232RL
[ 77.531052] usb 2-2: Number of endpoints 2
[ 77.531056] usb 2-2: Endpoint 1 MaxPacketSize 64
[ 77.531059] usb 2-2: Endpoint 2 MaxPacketSize 64
[ 77.531062] usb 2-2: Setting MaxPacketSize 64
[ 77.541287] usb 2-2: FTDI USB Serial Device converter now attached to
ttyUSB0
3)
upload the firmware using
mt7681_uploader.py
, setting
-f
to specify the firmware
generated in the previous step, and
-c
to identify the new COM port, as shown below:
> python mt7681_uploader.py -f out/sta/MT7681_sta_header.bin -c
/dev/ttyUSB0
4)
successful upload of the firmware will result in the following being displayed:
Recovery Mode entered, Starting to upload...
138084/138084 bytes (100%) ... Update done! Bye
For more details on using
mt7681_uploader.py
see section 3.2, ‘Firmware uploader’.
2.4.4.
Run the application on the LinkIt Connect 7681 development board
The LinkIt Connect 7681 development board will automatically reboot once the update process
finishes successfully. You’ll see the LED2 (mapped to GPIO2) start to blink every second.
2.4.5.
Troubleshooting
If you encounter issues with compiling or running your first firmware, please consult section 6,
“Troubleshooting”.