Dragon board 410c workshop - slideshow

96Boards
96Boards96Boards
Pre-Hack series
June 2016
DragonBoard™ 410c
Workshop
Author: Robert Wolff
Who am I?
● Robert Wolff
● Engineer - Technical Writer for 96Boards at Linaro
▣ University of California, San Diego - 2015
▣ Electrical Engineering - Digital Signal Processing
▣ Qualcomm Institute - Coursera IoT Specialization
Twitter: @sdrobertw
Email: Robert.wolff@linaro.org
Github: https://github.com/sdrobertw
Author: Robert Wolff
Qualcomm Institute - Calit2 @ UCSD
● Coursera IoT specialization - Six Courses
● Focused on DragonBoard 410c
● History of IoT
● Board bring up
● Sensing and Actuation
● Communications Technologies
● Multimedia Technologies
● Capstone - Self sustainable DB410c
workstation/surveillance
● https://www.coursera.org/specializations/internet-of-things
Author: Robert Wolff
Today’s Outline
● Introductions - Linaro and 96Boards
● DragonBoard 410c
○ What is it, how can I use it?
○ Board layout and components
● Resources
○ Software and Documentation
● “Hands-on” Preparations
○ Debian and Android preparations
○ Low speed expansion header
○ Other components
● Demos
○ GPIO and I2C
Author: Robert Wolff
What is Linaro?
➢ Founded June 2010
● Unites the Industry and Open Source community
● Work together on key projects
● Deliver great tools
● Reduce industry wide fragmentation and redundant effort
● Provide common software foundations
● http://www.linaro.org/about/
● https://en.wikipedia.org/wiki/Linaro
Author: Robert Wolff
What is 96Boards?
➢ Founded February 2015
● Series of open hardware specifications
● ARM 32-bit and 64-bit developer boards
● Community enabled open source software development
● http://www.96boards.org
Twitter: @96Boards
Author: Robert Wolff
About the DragonBoard 410c
Author: Robert Wolff
➢ Single Board Computer (SBC)
▣ A full computer built on a single printed circuit board (PCB)
▣ Includes: Microprocessor, Memory, I/O, and more
essentials…
▣ Demonstration, development, education, embedded
controllers
▣ Generally does not rely on expansion slots
What is the DragonBoard 410c?
Author: Robert Wolff
Important Board Components
1. Qualcomm ® Snapdragon™ 410 processor
2. 1GB RAM, 8GB SanDisk eMMC storage
3. WLAN 802.11n, GPS, Bluetooth 4.1
4. MicroSD™ card slot and dip switches
5. Two USB 2.0 ports
6. Micro USB port
7. 40 pin expansion header
8. 16 pin analog expansion connector
9. 60 pin high speed connectors
10. Power button
11. DC barrel jack
12. HDMI port
512
9
7
6
8 11
2
3
10
1
4
Author: Robert Wolff
Important Board Components
Author: Robert Wolff
Important Board Components
Author: Robert Wolff
Important Board Components
1) (J8) Low-speed Expansion Connector: Used for many projects in Course 3. Contains many GPIO
interfaces such as: GPIO, UART, I2C, I2S, SPI and PCM.
2) APQ8016 Snapdragon Processor: Quad-core ARM® Cortex® A53 at up to 1.2 GHz per core with
both 32-bit and 64-bit support
3) (U9) Power Management PMIC: PMIC stands for Power Management Integrated Circuit. The PMIC
controls the flow and direction of power and allows boards like the DragonBoard™ 410c to have a
variety of internal and external voltages sources.
4) (J7) Analog Expansion Connector: The DragonBoard™ 410c analog header give access to audio
and microphone capabilities.
5) WLAN/Bluetooth/GPS: Wireless Local Area Network: used to link one or more computers together,
Bluetooth: short-range, low power way to connect devices, GPS: Global Positioning System uses radio
navigations to determine an exact location.
6) (J1) Power Jack: Capable of DC inputs ranging from 6.5V to 18V with 2000mA current. These
courses will use an adapter with 12V and 2000mA.
7) (J5) uSD Card Socket: Socket used for accessing microSD
Author: Robert Wolff
Important Board Components
8) (J6) HDMI Type A Port: Male plug with 19 pins. Outside dimensions are 13.9 mm × 4.45 mm and
inside dimensions are 14 mm × 4.55 mm.
9) (J9) High Speed Connector: The 60-pin expansion header on the DragonBoard™ 410c contains:
4L MIPI-DSI, USB, I2C x2, 2L+4L MIPI-CSI
10) (J4) Micro USB Type B Connector: USB stands for Universal Serial Bus. The Micro USB type B
on the DragonBoard™ 410c is compatible with the standard type A USB which connects to a PC host.
11) Bluetooth/WLAN LED’s: LED’s used for monitoring the status of the Bluetooth and WLAN
capabilities
12) (J3) USB Host2 Connector: Standard USB type A used for interfacing with the DragonBoard™
410c. Typically used for Mouse, Keyboard or USB Flash drive
13) : User LED’s 1-4: These LED’s are driven directly by the SoC (System on Chip)
14) (J2) USB Host1 Connector: Standard USB type A used for interfacing with the DragonBoard™
410c. Typically used for Mouse, Keyboard or USB Flash drive
Author: Robert Wolff
Important Board Components
15) (S3-4) Vol+/Vol- Buttons: These buttons are used to toggle volume while in the Android
OS. The Vol- button can also be used to bring the DragonBoard™ 410c into Fastboot mode.
16) (S2) Power Button: Similar to a smartphone’s “lock button” it is primarily used while in
Android OS. Button will toggle sleep/wake up and is also used to power down.
17) Bluetooth/WLAN Antenna: Helps increase maximum reach for both Bluetooth and
WLAN.
18) GPS Antenna: Helps to increase maximum reach for GPS
19) (S6) Boot Switches: Found on the back side of the board, used to control the boot
sequence of the board.
Author: Robert Wolff
● Next generation robotics
● Cameras
● Medical devices
● Vending machines
● Smart buildings
● Digital signage
● Casino gaming consoles
● Much more...
Uses for the DragonBoard 410c
Author: Robert Wolff
Uses for the DragonBoard 410c
● Snapdragon Cargo
● Snapdragon Rover
● Snapdragon Drone
○ Flight™
➢ Control motors
➢ Feedback loops
➢ Interrupts
➢ Read security inputs
➢ Link
Author: Robert
Wolff
Resources
Author: Robert Wolff
● Android
● Debian
● OpenEmbedded
● Windows 10 IoT Core
● Ubuntu Core
● More to come...
Software
Author: Robert Wolff
Documentation
● Static and dynamic
● Github repository and website
● Contributions welcome!
● DB410c Landing page
● Github
● Website Rendering
Sample Code
● DBOpenSource
● 96Boards github
● Coursera IoT-410c Author: Robert Wolff
96Boards blogs
● Weekly reading
● Out of the box experience - Series
● Broad subject matter
● Beginner to advanced subjects
● http://www.96boards.org/blog/
Author: Robert Wolff
● Real time chat / video
● Linaro and 96Boards developers
● Coffee hour - fun and informative
● Interactive
● Weekly countdown!
● YouTube Channel
Open Hours
Author: Robert Wolff
Open Hours
● Wrap up software in a complete filesystem
● Contains all necessities to run code, runtime,
system tools, system libraries - anything can
install on a server.
● Always runs the same regardless of
environment it is running in.
Guest: Bill Fletcher, Linaro - Field Engineering
➢ https://www.docker.com/what-docker
Author: Robert Wolff
● Real time chat
● Linaro and 96Boards developers
● https://webchat.freenode.net
● https://www.irccloud.com
● My handle: sdrobertw
Freenode IRC
Author: Robert Wolff
● Community and Developers
● Forum topic search
● FAQ available
● DragonBoard 410c Forum
Forums
Author: Robert Wolff
● Documentation:
○ DB410c Landing page
○ Github
○ Website Rendering
● 96Boards Blogs
○ http://www.96boards.org/blog/
● Open Hours
○ Weekly countdown!
○ YouTube Channel
● Forums
○ DragonBoard 410c Forum
Resources on one page
Author: Robert Wolff
“Hands on” preparations
Operating Systems and Debugging
Author: Robert Wolff
SD Card Method
● Download image
● Follow SD card install instructions
Download and Install Debian
SD Card Method
● Download image
● Follow SD card install instructions
ADB and Fastboot set up: https://www.youtube.com/watch?v=W_zlydVBftA
Download and Install Android
Author: Robert Wolff
Fastboot mode
● Board is power “off”
● Press and hold (-) button down
● Power “on” the board
● Continue holding the button for ~5
seconds
● Release and issue the command
./fastboot devices and your board
should be there Author: Robert Wolff
USB Debugging
1 - Access applications and click “Settings”
2 - Click “About Phone”
3 - Locate “Build number”
4 - Click “Build number” seven times
5 - “You are now a developer!”
6 - Access “Developer options”
7 - Check “USB debugging”
Author: Robert Wolff
“Hands on” preparations
Low-Speed Expansion Header
Author: Robert Wolff
Pin Layout
2 - SPI
3 - I2C
4 - UART
1 - GPIO and MPP
5 - PCM
Author: Robert Wolff
Pin Layout
1
40
Author: Robert Wolff
Pin Layout
Ground Ground
GroundGround
Author: Robert Wolff
Pin Layout
1.8 V
SYS_DCIN
5 V
Author: Robert Wolff
Pin Layout
GPIO GPIO
I2C
Author: Robert Wolff
Low Speed header diagram
Low Speed Expansion Header
Author: Robert Wolff
“Hands on” preparations
Mezzanine Boards
Author: Robert Wolff
96Boards Sensors Mezzanine - LINK
● Arduino IDE enabled
● Seperate Arduino pins
● Serial Console available
● GPIO breakout
● I2C breakout
● SPI breakout
● Power and reset button
Author: Robert Wolff
Arrow LinkSprite Mezzanine - LINK
● ADC chip for analog modules
● Variable 3.3V/5.0V
● GPIO breakout
● I2C breakout
● SPI breakout
● UART breakout
Author: Robert Wolff
Demo 1: Access GPIO through Terminal
Author: Robert Wolff
Low Speed header diagram
Low Speed Expansion Header
Pinouts
Author: Robert Wolff
1. Update & Upgrade system
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade
2. Super user to GPIO folder
$ sudo su
# cd /sys/class/gpio
3. Export, direction, value…
# echo GPIO_# > export
# cd gpio(GPIO_#)
# echo “out/in” > direction
# echo 0/1 > value
4. Profit!!! (Next we look at libraries)
Demo #1 on one page - LINK
Author: Robert Wolff
Demo 2: Access GPIO with Libraries
Author: Robert Wolff
1. Update & Upgrade system
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade -u
2. Install Libraries
$ sudo apt-get install libsoc-dev libmraa0 libmraa-dev libump0 libupm-dev
3. Install Dependencies
$ sudo apt-get install git
4. Clone sample code
$ git clone https://github.com/davidmandala/library_test.git
5. Compile and run
$ cd library_test
$ gcc AC-ledSOC.c -o AC-ledSOC -lsoc
$ sudo ./AC-ledSOC
6. Profit!!! (Next we look at I2C)
Demo #2 on one page - LINK
Author: Robert Wolff
Demo 3: Access I2C with Libraries
Author: Robert Wolff
1. Update & Upgrade system
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get dist-upgrade -u
2. Install Libraries
$ sudo apt-get install libmraa0 libmraa-dev libump0 libupm-dev
3. Install Dependencies
$ sudo apt-get install git
4. Clone sample code
$ git clone https://github.com/96boards/Starter_Kit_for_96Boards
5. Compile and run
$ cd Starter_Kit_for_96Boards
$ make
$ sudo ./rgb_lcd_demo
6. Profit!!! (Next we look at I2C)
Demo #3 on one page - LINK
Author: Robert Wolff
./adb root
./adb remount
mount -o rw,remount /system
exit out of adb shell
./adb pull /etc/init.qcom.post_boot.sh
(add to the post_boot.sh)
set -A pins 938 915 1017 926 937 930 914 971 901 936 935
for i in 0 1 2 3 4 5 6 7 8 9 10
do
echo ${pins[i]} > /sys/class/gpio/export
chmod 777 /sys/class/gpio/gpio${pins[i]}
chmod 777 /sys/class/gpio/gpio${pins[i]}/value
chmod 777 /sys/class/gpio/gpio${pins[i]}/direction
done
./adb push init.qcom.post_boot.sh /etc/init.qcom.post_boot.sh
./adb reboot
./adb root
./adb shell
cd /sys/class/gpio (to check if they’re their)
GPIO Access with Android OS
Author: Robert Wolff
1 of 47

Recommended

Neuromorphic Chipsets - Industry Adoption Analysis by
Neuromorphic Chipsets - Industry Adoption AnalysisNeuromorphic Chipsets - Industry Adoption Analysis
Neuromorphic Chipsets - Industry Adoption AnalysisNetscribes
2.3K views45 slides
Microcontroller presentation by
Microcontroller presentationMicrocontroller presentation
Microcontroller presentationredwan1006066
22.2K views19 slides
Programming pic microcontrollers by
Programming pic microcontrollersProgramming pic microcontrollers
Programming pic microcontrollersMAIYO JOSPHAT
1.9K views117 slides
Nanorobotics by
Nanorobotics Nanorobotics
Nanorobotics Devesh Bhatnagar
2.1K views17 slides
Overview of microcontroller and microprocessor by
Overview of microcontroller and microprocessor Overview of microcontroller and microprocessor
Overview of microcontroller and microprocessor Mrunal Deshkar
398 views12 slides
Nanorobotics ppt by
Nanorobotics pptNanorobotics ppt
Nanorobotics pptDeepak Sarangi
41.3K views23 slides

More Related Content

What's hot

Nanorobotics in healthcare by
Nanorobotics in healthcareNanorobotics in healthcare
Nanorobotics in healthcareShailesh Naik
2.9K views18 slides
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APU by
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APUDelivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APUAMD
2.8K views25 slides
PPT on Bluetooth Based Wireless Sensor Networks by
PPT on Bluetooth Based Wireless Sensor NetworksPPT on Bluetooth Based Wireless Sensor Networks
PPT on Bluetooth Based Wireless Sensor NetworksSiya Agarwal
88.5K views50 slides
Cicret bracelet by M.Yaqoob by
Cicret bracelet by M.YaqoobCicret bracelet by M.Yaqoob
Cicret bracelet by M.YaqoobYaqoobMalik
248 views19 slides
Ibm truenorth by
Ibm truenorthIbm truenorth
Ibm truenorthSam varghese
2.8K views9 slides
neuralinktechnicalseminar.pptx by
neuralinktechnicalseminar.pptxneuralinktechnicalseminar.pptx
neuralinktechnicalseminar.pptx20269vinay
154 views17 slides

What's hot(20)

Nanorobotics in healthcare by Shailesh Naik
Nanorobotics in healthcareNanorobotics in healthcare
Nanorobotics in healthcare
Shailesh Naik2.9K views
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APU by AMD
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APUDelivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
AMD2.8K views
PPT on Bluetooth Based Wireless Sensor Networks by Siya Agarwal
PPT on Bluetooth Based Wireless Sensor NetworksPPT on Bluetooth Based Wireless Sensor Networks
PPT on Bluetooth Based Wireless Sensor Networks
Siya Agarwal88.5K views
Cicret bracelet by M.Yaqoob by YaqoobMalik
Cicret bracelet by M.YaqoobCicret bracelet by M.Yaqoob
Cicret bracelet by M.Yaqoob
YaqoobMalik248 views
neuralinktechnicalseminar.pptx by 20269vinay
neuralinktechnicalseminar.pptxneuralinktechnicalseminar.pptx
neuralinktechnicalseminar.pptx
20269vinay154 views
BIS Report/Neuralink by IdilBilgic
BIS Report/NeuralinkBIS Report/Neuralink
BIS Report/Neuralink
IdilBilgic940 views
Microprocessors and microcontrollers by Vivek Kumar
Microprocessors and microcontrollersMicroprocessors and microcontrollers
Microprocessors and microcontrollers
Vivek Kumar2.5K views
Serial Communication In Atmega 16 by Suren Kumar
Serial Communication In Atmega 16Serial Communication In Atmega 16
Serial Communication In Atmega 16
Suren Kumar13.2K views
Seminar report nanorobotics by Yogesh Sharma
Seminar report nanoroboticsSeminar report nanorobotics
Seminar report nanorobotics
Yogesh Sharma27.6K views
Multi core processors by Adithya Bhat
Multi core processorsMulti core processors
Multi core processors
Adithya Bhat28.3K views
BIM Execution Plan (BXP)- What, Why, When and How by United-BIM
BIM Execution Plan (BXP)- What, Why, When and HowBIM Execution Plan (BXP)- What, Why, When and How
BIM Execution Plan (BXP)- What, Why, When and How
United-BIM312 views
Introduction to microcontroller by Rajib Roy
Introduction to microcontrollerIntroduction to microcontroller
Introduction to microcontroller
Rajib Roy692 views
Introduction to microprocessor notes by SARITHA REDDY
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notes
SARITHA REDDY8.2K views

Viewers also liked

LAS16-310: Introducing the first 96Boards TV Platform: Poplar by Hisilicon by
LAS16-310: Introducing the first 96Boards TV Platform: Poplar by HisiliconLAS16-310: Introducing the first 96Boards TV Platform: Poplar by Hisilicon
LAS16-310: Introducing the first 96Boards TV Platform: Poplar by HisiliconLinaro
951 views18 slides
RTDroid_Presentation by
RTDroid_PresentationRTDroid_Presentation
RTDroid_PresentationAswin Bharadwaj
391 views22 slides
UCSD Hard Hackathon 2017 Photo Gallery by
UCSD Hard Hackathon 2017 Photo GalleryUCSD Hard Hackathon 2017 Photo Gallery
UCSD Hard Hackathon 2017 Photo Gallery96Boards
3.3K views116 slides
Bring Out the Best in Embedded Computing by
Bring Out the Best in Embedded ComputingBring Out the Best in Embedded Computing
Bring Out the Best in Embedded ComputingQualcomm Developer Network
1.9K views29 slides
TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生 by
TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生
TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生Hardway Hou
272 views16 slides
mcuboot for IoT by
mcuboot for IoTmcuboot for IoT
mcuboot for IoTLinaro
570 views1 slide

Viewers also liked(20)

LAS16-310: Introducing the first 96Boards TV Platform: Poplar by Hisilicon by Linaro
LAS16-310: Introducing the first 96Boards TV Platform: Poplar by HisiliconLAS16-310: Introducing the first 96Boards TV Platform: Poplar by Hisilicon
LAS16-310: Introducing the first 96Boards TV Platform: Poplar by Hisilicon
Linaro951 views
UCSD Hard Hackathon 2017 Photo Gallery by 96Boards
UCSD Hard Hackathon 2017 Photo GalleryUCSD Hard Hackathon 2017 Photo Gallery
UCSD Hard Hackathon 2017 Photo Gallery
96Boards3.3K views
TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生 by Hardway Hou
TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生
TechShanghai2016 - Qualcomm嵌入式解决方案,为IoT硬件开发而生
Hardway Hou272 views
mcuboot for IoT by Linaro
mcuboot for IoTmcuboot for IoT
mcuboot for IoT
Linaro570 views
Dragonboard 410c/820c by Linaro
Dragonboard 410c/820cDragonboard 410c/820c
Dragonboard 410c/820c
Linaro1.1K views
Qualcomm Snapdragon Processor by Krishna Gehlot
Qualcomm Snapdragon ProcessorQualcomm Snapdragon Processor
Qualcomm Snapdragon Processor
Krishna Gehlot7.5K views
What exactly is the "Internet of Things"? by Dr. Mazlan Abbas
What exactly is the "Internet of Things"?What exactly is the "Internet of Things"?
What exactly is the "Internet of Things"?
Dr. Mazlan Abbas132K views
Tracxn Startup Research Drones Landscape, July 2016 by Tracxn
Tracxn Startup Research   Drones Landscape, July 2016Tracxn Startup Research   Drones Landscape, July 2016
Tracxn Startup Research Drones Landscape, July 2016
Tracxn9.3K views
What is the Internet of Things? by Felix Grovit
What is the Internet of Things?What is the Internet of Things?
What is the Internet of Things?
Felix Grovit67.1K views
Internet of Things (IoT) - We Are at the Tip of An Iceberg by Dr. Mazlan Abbas
Internet of Things (IoT) - We Are at the Tip of An IcebergInternet of Things (IoT) - We Are at the Tip of An Iceberg
Internet of Things (IoT) - We Are at the Tip of An Iceberg
Dr. Mazlan Abbas302.9K views
THE INTERNET OF THINGS by Ramana Reddy
THE INTERNET OF THINGSTHE INTERNET OF THINGS
THE INTERNET OF THINGS
Ramana Reddy164.7K views
Internet of Things and its applications by Pasquale Puzio
Internet of Things and its applicationsInternet of Things and its applications
Internet of Things and its applications
Pasquale Puzio299.6K views
Internet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-g by Mohan Kumar G
Internet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-gInternet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-g
Internet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-g
Mohan Kumar G622.5K views
IoT - IT 423 ppt by Mhae Lyn
IoT - IT 423 pptIoT - IT 423 ppt
IoT - IT 423 ppt
Mhae Lyn246.1K views
Internet of Things by Vala Afshar
Internet of ThingsInternet of Things
Internet of Things
Vala Afshar648K views

Similar to Dragon board 410c workshop - slideshow

Tac Presentation October 72014- Raspberry PI by
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PICliff Samuels Jr.
1.1K views30 slides
Multipilot pres-ufficiale def by
Multipilot pres-ufficiale defMultipilot pres-ufficiale def
Multipilot pres-ufficiale defRoberto Navoni
517 views20 slides
Hardware hacking by
Hardware hackingHardware hacking
Hardware hackingTavish Naruka
3.2K views30 slides
Beagle board101 esc-boston-2009b by
Beagle board101 esc-boston-2009bBeagle board101 esc-boston-2009b
Beagle board101 esc-boston-2009bMichael Hallak-Stamler
8.9K views98 slides
How to run Linux on RISC-V (FOSS North 2020) by
How to run Linux on RISC-V (FOSS North 2020)How to run Linux on RISC-V (FOSS North 2020)
How to run Linux on RISC-V (FOSS North 2020)Drew Fustini
367 views90 slides
BKK16-105 HALs for LITE by
BKK16-105 HALs for LITEBKK16-105 HALs for LITE
BKK16-105 HALs for LITELinaro
390 views11 slides

Similar to Dragon board 410c workshop - slideshow(20)

Tac Presentation October 72014- Raspberry PI by Cliff Samuels Jr.
Tac Presentation October 72014- Raspberry PITac Presentation October 72014- Raspberry PI
Tac Presentation October 72014- Raspberry PI
Cliff Samuels Jr.1.1K views
Multipilot pres-ufficiale def by Roberto Navoni
Multipilot pres-ufficiale defMultipilot pres-ufficiale def
Multipilot pres-ufficiale def
Roberto Navoni517 views
How to run Linux on RISC-V (FOSS North 2020) by Drew Fustini
How to run Linux on RISC-V (FOSS North 2020)How to run Linux on RISC-V (FOSS North 2020)
How to run Linux on RISC-V (FOSS North 2020)
Drew Fustini367 views
BKK16-105 HALs for LITE by Linaro
BKK16-105 HALs for LITEBKK16-105 HALs for LITE
BKK16-105 HALs for LITE
Linaro390 views
The internet of $h1t by Amit Serper
The internet of $h1tThe internet of $h1t
The internet of $h1t
Amit Serper1.8K views
OpenCR tutorial_icra2017 by chcbaram
OpenCR tutorial_icra2017 OpenCR tutorial_icra2017
OpenCR tutorial_icra2017
chcbaram2.1K views
IoT: Contrasting Yocto/Buildroot to binary OSes by Mender.io
IoT: Contrasting Yocto/Buildroot to binary OSesIoT: Contrasting Yocto/Buildroot to binary OSes
IoT: Contrasting Yocto/Buildroot to binary OSes
Mender.io504 views
A Science Project: Swift Serial Chat by yeokm1
A Science Project: Swift Serial ChatA Science Project: Swift Serial Chat
A Science Project: Swift Serial Chat
yeokm11.5K views
Embedded Erlang, Nerves, and SumoBots by Frank Hunleth
Embedded Erlang, Nerves, and SumoBotsEmbedded Erlang, Nerves, and SumoBots
Embedded Erlang, Nerves, and SumoBots
Frank Hunleth37.4K views
Nanog75, Network Device Property as Code by Damien Garros
Nanog75, Network Device Property as CodeNanog75, Network Device Property as Code
Nanog75, Network Device Property as Code
Damien Garros834 views
IoT Prototyping using BBB and Debian by Mender.io
IoT Prototyping using BBB and DebianIoT Prototyping using BBB and Debian
IoT Prototyping using BBB and Debian
Mender.io342 views
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux by Samsung Open Source Group
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under LinuxPractical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
Multipilot pres-ufficiale last 2 by Roberto Navoni
Multipilot pres-ufficiale last 2Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2
Roberto Navoni364 views

More from 96Boards

OpenHours Bootloaders and Secure Firmware by
OpenHours Bootloaders and Secure FirmwareOpenHours Bootloaders and Secure Firmware
OpenHours Bootloaders and Secure Firmware96Boards
228 views12 slides
ST on 96Boards OpenHours - System level ESD protection by
ST on 96Boards OpenHours - System level ESD protectionST on 96Boards OpenHours - System level ESD protection
ST on 96Boards OpenHours - System level ESD protection96Boards
6.7K views22 slides
LAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisilicon by
LAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisiliconLAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisilicon
LAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisilicon96Boards
218 views18 slides
LAS16 111 - Raspberry pi3, op-tee and jtag debugging by
LAS16 111 - Raspberry pi3, op-tee and jtag debuggingLAS16 111 - Raspberry pi3, op-tee and jtag debugging
LAS16 111 - Raspberry pi3, op-tee and jtag debugging96Boards
1.4K views35 slides
LAS16 109 - The status quo and the future of 96Boards by
LAS16 109 - The status quo and the future of 96BoardsLAS16 109 - The status quo and the future of 96Boards
LAS16 109 - The status quo and the future of 96Boards96Boards
184 views33 slides
LAS16 100 K1 - Keynote George Grey by
LAS16 100 K1 - Keynote George GreyLAS16 100 K1 - Keynote George Grey
LAS16 100 K1 - Keynote George Grey96Boards
162 views49 slides

More from 96Boards(6)

OpenHours Bootloaders and Secure Firmware by 96Boards
OpenHours Bootloaders and Secure FirmwareOpenHours Bootloaders and Secure Firmware
OpenHours Bootloaders and Secure Firmware
96Boards228 views
ST on 96Boards OpenHours - System level ESD protection by 96Boards
ST on 96Boards OpenHours - System level ESD protectionST on 96Boards OpenHours - System level ESD protection
ST on 96Boards OpenHours - System level ESD protection
96Boards6.7K views
LAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisilicon by 96Boards
LAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisiliconLAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisilicon
LAS16 310 - Introducing the first 96Boards tv platform - Poplar by hisilicon
96Boards218 views
LAS16 111 - Raspberry pi3, op-tee and jtag debugging by 96Boards
LAS16 111 - Raspberry pi3, op-tee and jtag debuggingLAS16 111 - Raspberry pi3, op-tee and jtag debugging
LAS16 111 - Raspberry pi3, op-tee and jtag debugging
96Boards1.4K views
LAS16 109 - The status quo and the future of 96Boards by 96Boards
LAS16 109 - The status quo and the future of 96BoardsLAS16 109 - The status quo and the future of 96Boards
LAS16 109 - The status quo and the future of 96Boards
96Boards184 views
LAS16 100 K1 - Keynote George Grey by 96Boards
LAS16 100 K1 - Keynote George GreyLAS16 100 K1 - Keynote George Grey
LAS16 100 K1 - Keynote George Grey
96Boards162 views

Recently uploaded

Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating... by
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...Taste
38 views34 slides
ppt_dunarea.pptx by
ppt_dunarea.pptxppt_dunarea.pptx
ppt_dunarea.pptxvvvgeorgevvv
53 views5 slides
Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption... by
Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption...Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption...
Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption...BC Chew
38 views47 slides
Mineral nutrition and Fertilizer use of Cashew by
 Mineral nutrition and Fertilizer use of Cashew Mineral nutrition and Fertilizer use of Cashew
Mineral nutrition and Fertilizer use of CashewAruna Srikantha Jayawardana
58 views107 slides
GSoC 2024 .pdf by
GSoC 2024 .pdfGSoC 2024 .pdf
GSoC 2024 .pdfShabNaz2
42 views15 slides
ICS3211_lecture 09_2023.pdf by
ICS3211_lecture 09_2023.pdfICS3211_lecture 09_2023.pdf
ICS3211_lecture 09_2023.pdfVanessa Camilleri
147 views10 slides

Recently uploaded(20)

Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating... by Taste
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...
Taste38 views
Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption... by BC Chew
Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption...Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption...
Artificial Intelligence and The Sustainable Development Goals (SDGs) Adoption...
BC Chew38 views
GSoC 2024 .pdf by ShabNaz2
GSoC 2024 .pdfGSoC 2024 .pdf
GSoC 2024 .pdf
ShabNaz242 views
Career Building in AI - Technologies, Trends and Opportunities by WebStackAcademy
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy47 views
Guess Papers ADC 1, Karachi University by Khalid Aziz
Guess Papers ADC 1, Karachi UniversityGuess Papers ADC 1, Karachi University
Guess Papers ADC 1, Karachi University
Khalid Aziz105 views
Introduction to AERO Supply Chain - #BEAERO Trainning program by Guennoun Wajih
Introduction to AERO Supply Chain  - #BEAERO Trainning programIntroduction to AERO Supply Chain  - #BEAERO Trainning program
Introduction to AERO Supply Chain - #BEAERO Trainning program
Guennoun Wajih123 views
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37 by MysoreMuleSoftMeetup
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
11.30.23A Poverty and Inequality in America.pptx by mary850239
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptx
mary850239181 views
Pharmaceutical Analysis PPT (BP 102T) by yakshpharmacy009
Pharmaceutical Analysis PPT (BP 102T) Pharmaceutical Analysis PPT (BP 102T)
Pharmaceutical Analysis PPT (BP 102T)
yakshpharmacy009116 views
Interaction of microorganisms with vascular plants.pptx by MicrobiologyMicro
Interaction of microorganisms with vascular plants.pptxInteraction of microorganisms with vascular plants.pptx
Interaction of microorganisms with vascular plants.pptx

Dragon board 410c workshop - slideshow

  • 1. Pre-Hack series June 2016 DragonBoard™ 410c Workshop Author: Robert Wolff
  • 2. Who am I? ● Robert Wolff ● Engineer - Technical Writer for 96Boards at Linaro ▣ University of California, San Diego - 2015 ▣ Electrical Engineering - Digital Signal Processing ▣ Qualcomm Institute - Coursera IoT Specialization Twitter: @sdrobertw Email: Robert.wolff@linaro.org Github: https://github.com/sdrobertw Author: Robert Wolff
  • 3. Qualcomm Institute - Calit2 @ UCSD ● Coursera IoT specialization - Six Courses ● Focused on DragonBoard 410c ● History of IoT ● Board bring up ● Sensing and Actuation ● Communications Technologies ● Multimedia Technologies ● Capstone - Self sustainable DB410c workstation/surveillance ● https://www.coursera.org/specializations/internet-of-things Author: Robert Wolff
  • 4. Today’s Outline ● Introductions - Linaro and 96Boards ● DragonBoard 410c ○ What is it, how can I use it? ○ Board layout and components ● Resources ○ Software and Documentation ● “Hands-on” Preparations ○ Debian and Android preparations ○ Low speed expansion header ○ Other components ● Demos ○ GPIO and I2C Author: Robert Wolff
  • 5. What is Linaro? ➢ Founded June 2010 ● Unites the Industry and Open Source community ● Work together on key projects ● Deliver great tools ● Reduce industry wide fragmentation and redundant effort ● Provide common software foundations ● http://www.linaro.org/about/ ● https://en.wikipedia.org/wiki/Linaro Author: Robert Wolff
  • 6. What is 96Boards? ➢ Founded February 2015 ● Series of open hardware specifications ● ARM 32-bit and 64-bit developer boards ● Community enabled open source software development ● http://www.96boards.org Twitter: @96Boards Author: Robert Wolff
  • 7. About the DragonBoard 410c Author: Robert Wolff
  • 8. ➢ Single Board Computer (SBC) ▣ A full computer built on a single printed circuit board (PCB) ▣ Includes: Microprocessor, Memory, I/O, and more essentials… ▣ Demonstration, development, education, embedded controllers ▣ Generally does not rely on expansion slots What is the DragonBoard 410c? Author: Robert Wolff
  • 9. Important Board Components 1. Qualcomm ® Snapdragon™ 410 processor 2. 1GB RAM, 8GB SanDisk eMMC storage 3. WLAN 802.11n, GPS, Bluetooth 4.1 4. MicroSD™ card slot and dip switches 5. Two USB 2.0 ports 6. Micro USB port 7. 40 pin expansion header 8. 16 pin analog expansion connector 9. 60 pin high speed connectors 10. Power button 11. DC barrel jack 12. HDMI port 512 9 7 6 8 11 2 3 10 1 4 Author: Robert Wolff
  • 12. Important Board Components 1) (J8) Low-speed Expansion Connector: Used for many projects in Course 3. Contains many GPIO interfaces such as: GPIO, UART, I2C, I2S, SPI and PCM. 2) APQ8016 Snapdragon Processor: Quad-core ARM® Cortex® A53 at up to 1.2 GHz per core with both 32-bit and 64-bit support 3) (U9) Power Management PMIC: PMIC stands for Power Management Integrated Circuit. The PMIC controls the flow and direction of power and allows boards like the DragonBoard™ 410c to have a variety of internal and external voltages sources. 4) (J7) Analog Expansion Connector: The DragonBoard™ 410c analog header give access to audio and microphone capabilities. 5) WLAN/Bluetooth/GPS: Wireless Local Area Network: used to link one or more computers together, Bluetooth: short-range, low power way to connect devices, GPS: Global Positioning System uses radio navigations to determine an exact location. 6) (J1) Power Jack: Capable of DC inputs ranging from 6.5V to 18V with 2000mA current. These courses will use an adapter with 12V and 2000mA. 7) (J5) uSD Card Socket: Socket used for accessing microSD Author: Robert Wolff
  • 13. Important Board Components 8) (J6) HDMI Type A Port: Male plug with 19 pins. Outside dimensions are 13.9 mm × 4.45 mm and inside dimensions are 14 mm × 4.55 mm. 9) (J9) High Speed Connector: The 60-pin expansion header on the DragonBoard™ 410c contains: 4L MIPI-DSI, USB, I2C x2, 2L+4L MIPI-CSI 10) (J4) Micro USB Type B Connector: USB stands for Universal Serial Bus. The Micro USB type B on the DragonBoard™ 410c is compatible with the standard type A USB which connects to a PC host. 11) Bluetooth/WLAN LED’s: LED’s used for monitoring the status of the Bluetooth and WLAN capabilities 12) (J3) USB Host2 Connector: Standard USB type A used for interfacing with the DragonBoard™ 410c. Typically used for Mouse, Keyboard or USB Flash drive 13) : User LED’s 1-4: These LED’s are driven directly by the SoC (System on Chip) 14) (J2) USB Host1 Connector: Standard USB type A used for interfacing with the DragonBoard™ 410c. Typically used for Mouse, Keyboard or USB Flash drive Author: Robert Wolff
  • 14. Important Board Components 15) (S3-4) Vol+/Vol- Buttons: These buttons are used to toggle volume while in the Android OS. The Vol- button can also be used to bring the DragonBoard™ 410c into Fastboot mode. 16) (S2) Power Button: Similar to a smartphone’s “lock button” it is primarily used while in Android OS. Button will toggle sleep/wake up and is also used to power down. 17) Bluetooth/WLAN Antenna: Helps increase maximum reach for both Bluetooth and WLAN. 18) GPS Antenna: Helps to increase maximum reach for GPS 19) (S6) Boot Switches: Found on the back side of the board, used to control the boot sequence of the board. Author: Robert Wolff
  • 15. ● Next generation robotics ● Cameras ● Medical devices ● Vending machines ● Smart buildings ● Digital signage ● Casino gaming consoles ● Much more... Uses for the DragonBoard 410c Author: Robert Wolff
  • 16. Uses for the DragonBoard 410c ● Snapdragon Cargo ● Snapdragon Rover ● Snapdragon Drone ○ Flight™ ➢ Control motors ➢ Feedback loops ➢ Interrupts ➢ Read security inputs ➢ Link Author: Robert Wolff
  • 18. ● Android ● Debian ● OpenEmbedded ● Windows 10 IoT Core ● Ubuntu Core ● More to come... Software Author: Robert Wolff
  • 19. Documentation ● Static and dynamic ● Github repository and website ● Contributions welcome! ● DB410c Landing page ● Github ● Website Rendering Sample Code ● DBOpenSource ● 96Boards github ● Coursera IoT-410c Author: Robert Wolff
  • 20. 96Boards blogs ● Weekly reading ● Out of the box experience - Series ● Broad subject matter ● Beginner to advanced subjects ● http://www.96boards.org/blog/ Author: Robert Wolff
  • 21. ● Real time chat / video ● Linaro and 96Boards developers ● Coffee hour - fun and informative ● Interactive ● Weekly countdown! ● YouTube Channel Open Hours Author: Robert Wolff
  • 22. Open Hours ● Wrap up software in a complete filesystem ● Contains all necessities to run code, runtime, system tools, system libraries - anything can install on a server. ● Always runs the same regardless of environment it is running in. Guest: Bill Fletcher, Linaro - Field Engineering ➢ https://www.docker.com/what-docker Author: Robert Wolff
  • 23. ● Real time chat ● Linaro and 96Boards developers ● https://webchat.freenode.net ● https://www.irccloud.com ● My handle: sdrobertw Freenode IRC Author: Robert Wolff
  • 24. ● Community and Developers ● Forum topic search ● FAQ available ● DragonBoard 410c Forum Forums Author: Robert Wolff
  • 25. ● Documentation: ○ DB410c Landing page ○ Github ○ Website Rendering ● 96Boards Blogs ○ http://www.96boards.org/blog/ ● Open Hours ○ Weekly countdown! ○ YouTube Channel ● Forums ○ DragonBoard 410c Forum Resources on one page Author: Robert Wolff
  • 26. “Hands on” preparations Operating Systems and Debugging Author: Robert Wolff
  • 27. SD Card Method ● Download image ● Follow SD card install instructions Download and Install Debian SD Card Method ● Download image ● Follow SD card install instructions ADB and Fastboot set up: https://www.youtube.com/watch?v=W_zlydVBftA Download and Install Android Author: Robert Wolff
  • 28. Fastboot mode ● Board is power “off” ● Press and hold (-) button down ● Power “on” the board ● Continue holding the button for ~5 seconds ● Release and issue the command ./fastboot devices and your board should be there Author: Robert Wolff
  • 29. USB Debugging 1 - Access applications and click “Settings” 2 - Click “About Phone” 3 - Locate “Build number” 4 - Click “Build number” seven times 5 - “You are now a developer!” 6 - Access “Developer options” 7 - Check “USB debugging” Author: Robert Wolff
  • 30. “Hands on” preparations Low-Speed Expansion Header Author: Robert Wolff
  • 31. Pin Layout 2 - SPI 3 - I2C 4 - UART 1 - GPIO and MPP 5 - PCM Author: Robert Wolff
  • 34. Pin Layout 1.8 V SYS_DCIN 5 V Author: Robert Wolff
  • 36. Low Speed header diagram Low Speed Expansion Header Author: Robert Wolff
  • 37. “Hands on” preparations Mezzanine Boards Author: Robert Wolff
  • 38. 96Boards Sensors Mezzanine - LINK ● Arduino IDE enabled ● Seperate Arduino pins ● Serial Console available ● GPIO breakout ● I2C breakout ● SPI breakout ● Power and reset button Author: Robert Wolff
  • 39. Arrow LinkSprite Mezzanine - LINK ● ADC chip for analog modules ● Variable 3.3V/5.0V ● GPIO breakout ● I2C breakout ● SPI breakout ● UART breakout Author: Robert Wolff
  • 40. Demo 1: Access GPIO through Terminal Author: Robert Wolff
  • 41. Low Speed header diagram Low Speed Expansion Header Pinouts Author: Robert Wolff
  • 42. 1. Update & Upgrade system $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get dist-upgrade 2. Super user to GPIO folder $ sudo su # cd /sys/class/gpio 3. Export, direction, value… # echo GPIO_# > export # cd gpio(GPIO_#) # echo “out/in” > direction # echo 0/1 > value 4. Profit!!! (Next we look at libraries) Demo #1 on one page - LINK Author: Robert Wolff
  • 43. Demo 2: Access GPIO with Libraries Author: Robert Wolff
  • 44. 1. Update & Upgrade system $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get dist-upgrade -u 2. Install Libraries $ sudo apt-get install libsoc-dev libmraa0 libmraa-dev libump0 libupm-dev 3. Install Dependencies $ sudo apt-get install git 4. Clone sample code $ git clone https://github.com/davidmandala/library_test.git 5. Compile and run $ cd library_test $ gcc AC-ledSOC.c -o AC-ledSOC -lsoc $ sudo ./AC-ledSOC 6. Profit!!! (Next we look at I2C) Demo #2 on one page - LINK Author: Robert Wolff
  • 45. Demo 3: Access I2C with Libraries Author: Robert Wolff
  • 46. 1. Update & Upgrade system $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get dist-upgrade -u 2. Install Libraries $ sudo apt-get install libmraa0 libmraa-dev libump0 libupm-dev 3. Install Dependencies $ sudo apt-get install git 4. Clone sample code $ git clone https://github.com/96boards/Starter_Kit_for_96Boards 5. Compile and run $ cd Starter_Kit_for_96Boards $ make $ sudo ./rgb_lcd_demo 6. Profit!!! (Next we look at I2C) Demo #3 on one page - LINK Author: Robert Wolff
  • 47. ./adb root ./adb remount mount -o rw,remount /system exit out of adb shell ./adb pull /etc/init.qcom.post_boot.sh (add to the post_boot.sh) set -A pins 938 915 1017 926 937 930 914 971 901 936 935 for i in 0 1 2 3 4 5 6 7 8 9 10 do echo ${pins[i]} > /sys/class/gpio/export chmod 777 /sys/class/gpio/gpio${pins[i]} chmod 777 /sys/class/gpio/gpio${pins[i]}/value chmod 777 /sys/class/gpio/gpio${pins[i]}/direction done ./adb push init.qcom.post_boot.sh /etc/init.qcom.post_boot.sh ./adb reboot ./adb root ./adb shell cd /sys/class/gpio (to check if they’re their) GPIO Access with Android OS Author: Robert Wolff