SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
NanoQplus2 Installation Guide

          - For Windows-




                           September 9, 2009




                           haekim@etri.re.kr
Contents
§   Preparation
     - Hardware
         • sensor nodes
     - Software
         • nos2_toolpack_yyyymmdd.zip
         • nos-2.a.b-yyyymmdd.tar.gz
§   Installation & Setup
     - Compiler (WinAVR and/or MSPGCC) install
     - Cygwin install
     - Cygwin setup for NanoQplus
§   Run test applications
     - Compiling and fusing a test application
     - Hyper terminal setup
     - Check the application result
                                        2
                                                 haekim@etri.re.kr
Supported Sensor Nodes
§   ATmega128 MCU




            <MICAz>           <ZigbeX II>       <Nano24>         <OCX-Z>
§   MSP430 MCU




     <UBee430> <Ubi-MSP430> <Ubi-Coin> <Hmote2420> <Tmote-SKY>
§   Note:
     - We also support ARM7, S12, 8051 (MANGO with KEIL, CC2430 with IAR) in
       non-public version of NanoQplus

                                       3
                                                               haekim@etri.re.kr
Software

§   Download software from www.qplus.or.kr
     - NanoQplus
           • nos-2.a.b-yyyymmdd.tar.gz
     - NanoQplus Tool Package
           • nos2_toolpack_yyyymmdd.zip


§   Serial communicating program for a “com” port
     - Hyperterminal (on Windows) or others


§   Note
     - Software name might be little different because of version changes.


                                          4
                                                                haekim@etri.re.kr
NanoQplus Tool Package Contents
- Compiler
    • WinAVR for Atmega128 (http://winavr.sourceforge.net)
    • MSPGCC for MSP430 (http://mspgcc.sourceforge.net)
- Development software
    • Cygwin (http://www.cygwin.com)
- Hardware Drivers
    • USB to Serial driver (FTDI)
    • USBasp driver for Nano24 platform
- Fusing program
    • AVRDUDE for Atmega128 is included in WinAVR
    • MSP-bsl for MSP430 is included in NanoQplus source.




                                    5
                                                             haekim@etri.re.kr
NanoQplus Installation Overview

  WinAVR
(ATmega128)
                                              Hardware       Hyper
                    Cygwin        NanoQplus    Driver       Terminal
 MSPGCC
 (MSP430)

 - WinAVR for ATmega128
     •   MICAz (crossbow)
     •   Nano24 (octacomm)
     •   ZigbeX (hanback)
     •   OCX-Z (octacomm)
 - MSPGCC for MSP430f1611
     •   UBee430 (huins)
     •   Ubi-MSP430, Ubi-Coin (hanback)
     •   Hmote2420 (hybus)
     •   Tmote-sky

                                      6
                                                         haekim@etri.re.kr
WinAVR Installation (1/2)

§   Run WinAVR-20090306rc1-install.exe
§   Select a language for installation
     - Select any language.




                              7
                                           haekim@etri.re.kr
WinAVR Installation (2/2)
§   Choose install location
     - Recommend to use the default setting
§   Choose components
     - MUST check all components
         • WinAVR PATH must be added on Windows PATH




                                      8
                                                       haekim@etri.re.kr
MSPGCC Installation

§   Run mspgcc-20081230.exe
§   We do not recommend any changes.
     - MSPGCC PATH must be added on Windows PATH




                                  9
                                                   haekim@etri.re.kr
Cygwin Installation (1/4)

§   Run cygwin-20090312setup.exe
§   Choose a download source
     - Choose “Install from local directory”
         • Recent version of some cygwin package may not be compatible with
           NanoQplus




                                         10
                                                                  haekim@etri.re.kr
Cygwin Installation (2/4)

§   Select root install directory
     - Use the default setting if you are not an expert on linux.
         • C:cygwin
     - Do not use blank in the middle of “Root Directory” path.
         • C:Program Filescygwin (X)




                                         11
                                                                    haekim@etri.re.kr
Cygwin Installation (3/4)

§   Select local package directory
     - Leave it as a default setting
     - or Select cygwin-20090312 folder in nos2_toolpack_20090312




                                     12
                                                           haekim@etri.re.kr
Cygwin Installation (4/4)

§   Cygwin installation will be finished in 5minutes




§   Run cygwin
     - Cygwin will set up user configuration automatically at first execution
     - Close cygwin




                                         13
                                                                  haekim@etri.re.kr
Cygwin Setup for a beginner (1/4)

§   Configuration for NanoQplus
     - Copy .bash_profile and .vimrc in cygwin-20090312config into
       c:cygwinhome[windows_user_name]
     - In this example [windws_user_name] is haekim




                                      14
                                                              haekim@etri.re.kr
Cygwin Setup for a beginner (2/4)
§   Copy NanoQplus source
     - Copy nos-2.4.0-20090312.tar.gz into
       c:cygwinhome



§   Run cygwin again
     - # cd ..
         • current location: ~
         • ~ means home directory
         • in this example,
           c:cygwinhomehaekim or
           /home/haekim
     - # tar xzvf nos-2.4.0-20090312.tar.gz
         • current location: /home

                                       15
                                              haekim@etri.re.kr
Cygwin Setup for a beginner (3/4)

§   Check extracted folder name
     - # ls
     - In this example, nos-2.4.0
§   Make a soft-link of NanoQplus source
     - # ln –s nos-2.4.0 nos




                                    16
                                           haekim@etri.re.kr
Cygwin Setup for a beginner (4/4)
§   Close cygwin
§   Run cygwin again
     - You will see the following screen




§   If you want to use another version of NanoQplus
     - Delete C:cygwinhomenos
         • It is a soft-link of a directory
     - Back to the page 15

                                              17
                                                      haekim@etri.re.kr
Cygwin Setup for an expert
§   1. Extract NanoQplus source anywhere
§   2. Export $CYGWIN_HOME in your profile
     - Example : bash shell, cygwin is installed on c:cygwin
         • Add the following line in .bash_profile
              ¢   export $CYGWIN_HOME=/cygdrive/c/cygwin
§   3-1. Export $NOS_HOME for NanoQplus source directory in your
    profile
     - Example: bash shell, nos source is in d:nanoqplusnos-2.4.0
         • Add the following line in .bash_profile
              ¢   export $NOS_HOME=/cygdrive/d/nanoqplus/nos-2.4.0
§   3-2. Export $NOS_HOME as a fixed soft-link, and then link real
    source directory to it
     - Example: bash shell, nos source is in d:nanoqplusnos-2.4.0
         • Add the following line in .bash_profile
              ¢   export $NOS_HOME=/cygdrive/d/nanoqplus/nos
         • Make soft-link on cygwin
              ¢   $ ln –s /cygdrive/d/nanoqplus/nos-2.4.0 /cygdrive/d/nanoqplus/nos

                                                18
                                                                               haekim@etri.re.kr
Connect Sensor Node

§   Connect sensor node to your computer
     -   Through USB
     -   Through USB and parallel port(old Nano24)
     -   Through parallel and serial port (ZigbeX and very old Nano24)
     -   Through serial port only (old MICAz [MIB510 interface])


§   Windows may request a driver for a sensor node if you
    connect it through USB
     - Drivers are included in nos2_toolpack_20090312.zip




                                         19
                                                                  haekim@etri.re.kr
USBasp Driver (only for Nano24)

§   Nano24 needs for a USBasp driver
     - driversUSBasp_Win32-0.1.12.1




                                       20
                                            haekim@etri.re.kr
USB to Serial Driver (1/2)

§   Every sensor node connected through USB needs for a
    driver
§   USB <-> Serial driver
     - driversFTDI(USB2Serial)CDM 2.04.16 WHQL Certified-20090225




                                    21
                                                          haekim@etri.re.kr
USB to Serial Driver (2/2)

§   USB Serial Port driver
     - driversFTDI(USB2Serial) CDM 2.04.16 WHQL Certified-20090225




                                    22
                                                           haekim@etri.re.kr
Check Parallel Port for Fusing

§   Only for old ZigbeX, old Nano24 sensor nodes
§   My Computer (right click) à Properties à Hardware à
    Device Manager
     - In this example, lpt1 is the parallel port for fusing
     - In case of some of laptop, parallel port is lpt3 even if it is shown as lpt1
       on Device Manager.




                                          23
                                                                    haekim@etri.re.kr
Check Serial Port
         for UART Comm. and/or Fusing

§   My Computer (right click) à Properties à Hardware à
    Device Manager
     - In this example, com4 is the serial port for UART comm




                                       24
                                                                haekim@etri.re.kr
Run Test Application (1/6)
§   Run cygwin

§   Change directory to test-apps/arch-
    test/1_uart_put/
     - # cd test-apps/arch-test/1_uart_put/


§   If there is no Makefile in application
    directory or Makefile is broken, link it
    (again) with $NOS_HOME/Makefile.kconf
     - # rm Makefile (if an error is reported.)
     - # ln –s $NOS_HOME/Makefile.kconf Makefile


§   Run NanoQplus kernel configuration
     - # make menuconfig


                                              25
                                                   haekim@etri.re.kr
Run Test Application (2/6)

§   You may see the following error if the cygwin window is too
    small
     - Enlarge cygwin window using your mouse.




                                     26
                                                    haekim@etri.re.kr
Run Test Application (3/6)

§   Select your platform
§   Set Baudrate for UART module
     - In this test application, we will use 115200
§   Select modules that you want to use
     - In this test application, Basic Functionsà LED module and UART
       module
§   Save your kernel configuration




                                        27
                                                              haekim@etri.re.kr
Run Test Application (4/6)

§   Compile your application
     - # make
§   Fusing your application
     - # make burn port=[fusing port]
         • General
             ¢   com1, com2, com3, …
         • For Nano24 interface2.0
             ¢   usbasp
         • For Nano24 interface1.x or old ZigbeX
             ¢   lpt1, lpt3

§   Check UART comm port
     - Refer page 24.
     - You can run “# make motelist” also,
       but we do not recommend.
                                          28
                                                   haekim@etri.re.kr
Run Test Application (5/6)
§   If you use com port for fusing, you may see an error.




     - “avrdude” software does not recognize com port over 9.
     - You need to change the com port number into 1~9
     - My Computer (right click) à Properties à Hardware à Device Manager à
       “right click on the device” à Properties




                                      29
                                                              haekim@etri.re.kr
Run Test Application (6/6)

§   If you use lpt port for fusing, you
    may see an error.
     - To fix this problem, install “giveio” driver
       on your windows
         • # install_giveio.bat
         • # status_giveio.bat (ß for checking)
     - If you see an error again, change the
       port number
         • lpt1 à lpt3 (refer page 23.)
     - or, you need to check Parallel mode of
       your computer
         •   Reboot your computer
         •   Go setup (normally, press ‘Delete’ key)
         •   Change Parallel mode into ECP mode
         •   Save and exit
                                                30
                                                       haekim@etri.re.kr
Hyperterminal Configuration for
          UART Communication (1/2)

§   For UART module, terminal program for serial port is
    needed
§   In Windows, hyperterminal program is included.
     - Start à Run à hypertrm




                                 31
                                                    haekim@etri.re.kr
Hyperterminal Configuration for
  UART Communication (2/2)
                             Type anything for a local number




                               Baudrate in kernel configuration
            UART comm port




                   32
                                               haekim@etri.re.kr
1_uart_put test application
                      result

§   You will see the following screen if you reset the sensor
    node.




                                       You must disconnect before
                                         fusing through com port




                                  33
                                                                haekim@etri.re.kr

Contenu connexe

Tendances

Ceph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseCeph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseAlex Lau
 
Docker Setting for Static IP allocation
Docker Setting for Static IP allocationDocker Setting for Static IP allocation
Docker Setting for Static IP allocationJi-Woong Choi
 
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728jieun kim
 
PostgresOpen 2013 A Comparison of PostgreSQL Encryption Options
PostgresOpen 2013 A Comparison of PostgreSQL Encryption OptionsPostgresOpen 2013 A Comparison of PostgreSQL Encryption Options
PostgresOpen 2013 A Comparison of PostgreSQL Encryption OptionsFaisal Akber
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA BroadcastNGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA BroadcastNGINX, Inc.
 
Varnish Configuration Step by Step
Varnish Configuration Step by StepVarnish Configuration Step by Step
Varnish Configuration Step by StepKim Stefan Lindholm
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guidejasembo
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622Todd Deshane
 
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...NETWAYS
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting Aleksey Korzun
 
Apache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse ProxyApache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse ProxyJim Jagielski
 
Automated out-of-band management with Ansible and Redfish
Automated out-of-band management with Ansible and RedfishAutomated out-of-band management with Ansible and Redfish
Automated out-of-band management with Ansible and RedfishJose De La Rosa
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesSeveralnines
 
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatApache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatJean-Frederic Clere
 
Openstack study-nova-02
Openstack study-nova-02Openstack study-nova-02
Openstack study-nova-02Jinho Shin
 
Ceph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for CephCeph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for CephDanielle Womboldt
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with PuppetKris Buytaert
 
Using cobbler in a not so small environment 1.77
Using cobbler in a not so small environment 1.77Using cobbler in a not so small environment 1.77
Using cobbler in a not so small environment 1.77chhorn
 
Load Balancing with Nginx
Load Balancing with NginxLoad Balancing with Nginx
Load Balancing with NginxMarian Marinov
 

Tendances (20)

Ceph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To EnterpriseCeph Day Bring Ceph To Enterprise
Ceph Day Bring Ceph To Enterprise
 
Docker Setting for Static IP allocation
Docker Setting for Static IP allocationDocker Setting for Static IP allocation
Docker Setting for Static IP allocation
 
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
OpenStack Korea 2015 상반기스터디(devops) 스크립트로 오픈스택 설치하기 20150728
 
PostgresOpen 2013 A Comparison of PostgreSQL Encryption Options
PostgresOpen 2013 A Comparison of PostgreSQL Encryption OptionsPostgresOpen 2013 A Comparison of PostgreSQL Encryption Options
PostgresOpen 2013 A Comparison of PostgreSQL Encryption Options
 
NGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA BroadcastNGINX: Basics & Best Practices - EMEA Broadcast
NGINX: Basics & Best Practices - EMEA Broadcast
 
Varnish Configuration Step by Step
Varnish Configuration Step by StepVarnish Configuration Step by Step
Varnish Configuration Step by Step
 
Squid proxy-configuration-guide
Squid proxy-configuration-guideSquid proxy-configuration-guide
Squid proxy-configuration-guide
 
S4 xen hypervisor_20080622
S4 xen hypervisor_20080622S4 xen hypervisor_20080622
S4 xen hypervisor_20080622
 
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
OSMC 2019 | Use Cloud services & features in your redundant Icinga2 Environme...
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
High performance content hosting
High performance content hosting High performance content hosting
High performance content hosting
 
Apache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse ProxyApache httpd 2.4 Reverse Proxy
Apache httpd 2.4 Reverse Proxy
 
Automated out-of-band management with Ansible and Redfish
Automated out-of-band management with Ansible and RedfishAutomated out-of-band management with Ansible and Redfish
Automated out-of-band management with Ansible and Redfish
 
Load Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - SlidesLoad Balancing MySQL with HAProxy - Slides
Load Balancing MySQL with HAProxy - Slides
 
Apache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and TomcatApache httpd reverse proxy and Tomcat
Apache httpd reverse proxy and Tomcat
 
Openstack study-nova-02
Openstack study-nova-02Openstack study-nova-02
Openstack study-nova-02
 
Ceph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for CephCeph Day Beijing - SPDK for Ceph
Ceph Day Beijing - SPDK for Ceph
 
Automating complex infrastructures with Puppet
Automating complex infrastructures with PuppetAutomating complex infrastructures with Puppet
Automating complex infrastructures with Puppet
 
Using cobbler in a not so small environment 1.77
Using cobbler in a not so small environment 1.77Using cobbler in a not so small environment 1.77
Using cobbler in a not so small environment 1.77
 
Load Balancing with Nginx
Load Balancing with NginxLoad Balancing with Nginx
Load Balancing with Nginx
 

Similaire à NanoQplus Installation Guide - for Windows

Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical NagiosNagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical NagiosNagios
 
1 session installation
1 session installation1 session installation
1 session installationRahul Hada
 
OpenNebula 5.4 Hands-on Tutorial
OpenNebula 5.4 Hands-on TutorialOpenNebula 5.4 Hands-on Tutorial
OpenNebula 5.4 Hands-on TutorialOpenNebula Project
 
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic UsageOpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic UsageOpenNebula Project
 
Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015Lars Vogdt
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseNikhil Kumar
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
 
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)Ryo ONODERA
 
Warden @ Meet magento Romania 2021
Warden @ Meet magento Romania 2021Warden @ Meet magento Romania 2021
Warden @ Meet magento Romania 2021alinalexandru
 
CERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8sBelmiro Moreira
 
The Future of Security and Productivity in Our Newly Remote World
The Future of Security and Productivity in Our Newly Remote WorldThe Future of Security and Productivity in Our Newly Remote World
The Future of Security and Productivity in Our Newly Remote WorldDevOps.com
 
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebulaOpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebulaOpenNebula Project
 
OpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula Project
 
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula Project
 
A3Sec Advanced Deployment System
A3Sec Advanced Deployment SystemA3Sec Advanced Deployment System
A3Sec Advanced Deployment Systema3sec
 
Whitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on LinuxWhitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on LinuxRoger Eisentrager
 
NGINX Installation and Tuning
NGINX Installation and TuningNGINX Installation and Tuning
NGINX Installation and TuningNGINX, Inc.
 

Similaire à NanoQplus Installation Guide - for Windows (20)

Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical NagiosNagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
Nagios Conference 2014 - Leland Lammert - Distributed Heirarchical Nagios
 
1 session installation
1 session installation1 session installation
1 session installation
 
OpenNebula 5.4 Hands-on Tutorial
OpenNebula 5.4 Hands-on TutorialOpenNebula 5.4 Hands-on Tutorial
OpenNebula 5.4 Hands-on Tutorial
 
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic UsageOpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
OpenNebulaConf 2013 - Hands-on Tutorial: 2. Installing and Basic Usage
 
Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015Monitoring at/with SUSE 2015
Monitoring at/with SUSE 2015
 
RAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and DatabaseRAC-Installing your First Cluster and Database
RAC-Installing your First Cluster and Database
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 
NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)NetBSD on Google Compute Engine (en)
NetBSD on Google Compute Engine (en)
 
Warden @ Meet magento Romania 2021
Warden @ Meet magento Romania 2021Warden @ Meet magento Romania 2021
Warden @ Meet magento Romania 2021
 
CERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8s
 
The Future of Security and Productivity in Our Newly Remote World
The Future of Security and Productivity in Our Newly Remote WorldThe Future of Security and Productivity in Our Newly Remote World
The Future of Security and Productivity in Our Newly Remote World
 
Kdump
KdumpKdump
Kdump
 
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebulaOpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier Fontán, OpenNebula
 
OpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usageOpenNebula TechDay Boston 2015 - installing and basic usage
OpenNebula TechDay Boston 2015 - installing and basic usage
 
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshopOpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
 
A3Sec Advanced Deployment System
A3Sec Advanced Deployment SystemA3Sec Advanced Deployment System
A3Sec Advanced Deployment System
 
Freeradius edir
Freeradius edirFreeradius edir
Freeradius edir
 
Whitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on LinuxWhitepaper MS SQL Server on Linux
Whitepaper MS SQL Server on Linux
 
RDO-Packstack Workshop
RDO-Packstack Workshop RDO-Packstack Workshop
RDO-Packstack Workshop
 
NGINX Installation and Tuning
NGINX Installation and TuningNGINX Installation and Tuning
NGINX Installation and Tuning
 

Dernier

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 

Dernier (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 

NanoQplus Installation Guide - for Windows

  • 1. NanoQplus2 Installation Guide - For Windows- September 9, 2009 haekim@etri.re.kr
  • 2. Contents § Preparation - Hardware • sensor nodes - Software • nos2_toolpack_yyyymmdd.zip • nos-2.a.b-yyyymmdd.tar.gz § Installation & Setup - Compiler (WinAVR and/or MSPGCC) install - Cygwin install - Cygwin setup for NanoQplus § Run test applications - Compiling and fusing a test application - Hyper terminal setup - Check the application result 2 haekim@etri.re.kr
  • 3. Supported Sensor Nodes § ATmega128 MCU <MICAz> <ZigbeX II> <Nano24> <OCX-Z> § MSP430 MCU <UBee430> <Ubi-MSP430> <Ubi-Coin> <Hmote2420> <Tmote-SKY> § Note: - We also support ARM7, S12, 8051 (MANGO with KEIL, CC2430 with IAR) in non-public version of NanoQplus 3 haekim@etri.re.kr
  • 4. Software § Download software from www.qplus.or.kr - NanoQplus • nos-2.a.b-yyyymmdd.tar.gz - NanoQplus Tool Package • nos2_toolpack_yyyymmdd.zip § Serial communicating program for a “com” port - Hyperterminal (on Windows) or others § Note - Software name might be little different because of version changes. 4 haekim@etri.re.kr
  • 5. NanoQplus Tool Package Contents - Compiler • WinAVR for Atmega128 (http://winavr.sourceforge.net) • MSPGCC for MSP430 (http://mspgcc.sourceforge.net) - Development software • Cygwin (http://www.cygwin.com) - Hardware Drivers • USB to Serial driver (FTDI) • USBasp driver for Nano24 platform - Fusing program • AVRDUDE for Atmega128 is included in WinAVR • MSP-bsl for MSP430 is included in NanoQplus source. 5 haekim@etri.re.kr
  • 6. NanoQplus Installation Overview WinAVR (ATmega128) Hardware Hyper Cygwin NanoQplus Driver Terminal MSPGCC (MSP430) - WinAVR for ATmega128 • MICAz (crossbow) • Nano24 (octacomm) • ZigbeX (hanback) • OCX-Z (octacomm) - MSPGCC for MSP430f1611 • UBee430 (huins) • Ubi-MSP430, Ubi-Coin (hanback) • Hmote2420 (hybus) • Tmote-sky 6 haekim@etri.re.kr
  • 7. WinAVR Installation (1/2) § Run WinAVR-20090306rc1-install.exe § Select a language for installation - Select any language. 7 haekim@etri.re.kr
  • 8. WinAVR Installation (2/2) § Choose install location - Recommend to use the default setting § Choose components - MUST check all components • WinAVR PATH must be added on Windows PATH 8 haekim@etri.re.kr
  • 9. MSPGCC Installation § Run mspgcc-20081230.exe § We do not recommend any changes. - MSPGCC PATH must be added on Windows PATH 9 haekim@etri.re.kr
  • 10. Cygwin Installation (1/4) § Run cygwin-20090312setup.exe § Choose a download source - Choose “Install from local directory” • Recent version of some cygwin package may not be compatible with NanoQplus 10 haekim@etri.re.kr
  • 11. Cygwin Installation (2/4) § Select root install directory - Use the default setting if you are not an expert on linux. • C:cygwin - Do not use blank in the middle of “Root Directory” path. • C:Program Filescygwin (X) 11 haekim@etri.re.kr
  • 12. Cygwin Installation (3/4) § Select local package directory - Leave it as a default setting - or Select cygwin-20090312 folder in nos2_toolpack_20090312 12 haekim@etri.re.kr
  • 13. Cygwin Installation (4/4) § Cygwin installation will be finished in 5minutes § Run cygwin - Cygwin will set up user configuration automatically at first execution - Close cygwin 13 haekim@etri.re.kr
  • 14. Cygwin Setup for a beginner (1/4) § Configuration for NanoQplus - Copy .bash_profile and .vimrc in cygwin-20090312config into c:cygwinhome[windows_user_name] - In this example [windws_user_name] is haekim 14 haekim@etri.re.kr
  • 15. Cygwin Setup for a beginner (2/4) § Copy NanoQplus source - Copy nos-2.4.0-20090312.tar.gz into c:cygwinhome § Run cygwin again - # cd .. • current location: ~ • ~ means home directory • in this example, c:cygwinhomehaekim or /home/haekim - # tar xzvf nos-2.4.0-20090312.tar.gz • current location: /home 15 haekim@etri.re.kr
  • 16. Cygwin Setup for a beginner (3/4) § Check extracted folder name - # ls - In this example, nos-2.4.0 § Make a soft-link of NanoQplus source - # ln –s nos-2.4.0 nos 16 haekim@etri.re.kr
  • 17. Cygwin Setup for a beginner (4/4) § Close cygwin § Run cygwin again - You will see the following screen § If you want to use another version of NanoQplus - Delete C:cygwinhomenos • It is a soft-link of a directory - Back to the page 15 17 haekim@etri.re.kr
  • 18. Cygwin Setup for an expert § 1. Extract NanoQplus source anywhere § 2. Export $CYGWIN_HOME in your profile - Example : bash shell, cygwin is installed on c:cygwin • Add the following line in .bash_profile ¢ export $CYGWIN_HOME=/cygdrive/c/cygwin § 3-1. Export $NOS_HOME for NanoQplus source directory in your profile - Example: bash shell, nos source is in d:nanoqplusnos-2.4.0 • Add the following line in .bash_profile ¢ export $NOS_HOME=/cygdrive/d/nanoqplus/nos-2.4.0 § 3-2. Export $NOS_HOME as a fixed soft-link, and then link real source directory to it - Example: bash shell, nos source is in d:nanoqplusnos-2.4.0 • Add the following line in .bash_profile ¢ export $NOS_HOME=/cygdrive/d/nanoqplus/nos • Make soft-link on cygwin ¢ $ ln –s /cygdrive/d/nanoqplus/nos-2.4.0 /cygdrive/d/nanoqplus/nos 18 haekim@etri.re.kr
  • 19. Connect Sensor Node § Connect sensor node to your computer - Through USB - Through USB and parallel port(old Nano24) - Through parallel and serial port (ZigbeX and very old Nano24) - Through serial port only (old MICAz [MIB510 interface]) § Windows may request a driver for a sensor node if you connect it through USB - Drivers are included in nos2_toolpack_20090312.zip 19 haekim@etri.re.kr
  • 20. USBasp Driver (only for Nano24) § Nano24 needs for a USBasp driver - driversUSBasp_Win32-0.1.12.1 20 haekim@etri.re.kr
  • 21. USB to Serial Driver (1/2) § Every sensor node connected through USB needs for a driver § USB <-> Serial driver - driversFTDI(USB2Serial)CDM 2.04.16 WHQL Certified-20090225 21 haekim@etri.re.kr
  • 22. USB to Serial Driver (2/2) § USB Serial Port driver - driversFTDI(USB2Serial) CDM 2.04.16 WHQL Certified-20090225 22 haekim@etri.re.kr
  • 23. Check Parallel Port for Fusing § Only for old ZigbeX, old Nano24 sensor nodes § My Computer (right click) à Properties à Hardware à Device Manager - In this example, lpt1 is the parallel port for fusing - In case of some of laptop, parallel port is lpt3 even if it is shown as lpt1 on Device Manager. 23 haekim@etri.re.kr
  • 24. Check Serial Port for UART Comm. and/or Fusing § My Computer (right click) à Properties à Hardware à Device Manager - In this example, com4 is the serial port for UART comm 24 haekim@etri.re.kr
  • 25. Run Test Application (1/6) § Run cygwin § Change directory to test-apps/arch- test/1_uart_put/ - # cd test-apps/arch-test/1_uart_put/ § If there is no Makefile in application directory or Makefile is broken, link it (again) with $NOS_HOME/Makefile.kconf - # rm Makefile (if an error is reported.) - # ln –s $NOS_HOME/Makefile.kconf Makefile § Run NanoQplus kernel configuration - # make menuconfig 25 haekim@etri.re.kr
  • 26. Run Test Application (2/6) § You may see the following error if the cygwin window is too small - Enlarge cygwin window using your mouse. 26 haekim@etri.re.kr
  • 27. Run Test Application (3/6) § Select your platform § Set Baudrate for UART module - In this test application, we will use 115200 § Select modules that you want to use - In this test application, Basic Functionsà LED module and UART module § Save your kernel configuration 27 haekim@etri.re.kr
  • 28. Run Test Application (4/6) § Compile your application - # make § Fusing your application - # make burn port=[fusing port] • General ¢ com1, com2, com3, … • For Nano24 interface2.0 ¢ usbasp • For Nano24 interface1.x or old ZigbeX ¢ lpt1, lpt3 § Check UART comm port - Refer page 24. - You can run “# make motelist” also, but we do not recommend. 28 haekim@etri.re.kr
  • 29. Run Test Application (5/6) § If you use com port for fusing, you may see an error. - “avrdude” software does not recognize com port over 9. - You need to change the com port number into 1~9 - My Computer (right click) à Properties à Hardware à Device Manager à “right click on the device” à Properties 29 haekim@etri.re.kr
  • 30. Run Test Application (6/6) § If you use lpt port for fusing, you may see an error. - To fix this problem, install “giveio” driver on your windows • # install_giveio.bat • # status_giveio.bat (ß for checking) - If you see an error again, change the port number • lpt1 à lpt3 (refer page 23.) - or, you need to check Parallel mode of your computer • Reboot your computer • Go setup (normally, press ‘Delete’ key) • Change Parallel mode into ECP mode • Save and exit 30 haekim@etri.re.kr
  • 31. Hyperterminal Configuration for UART Communication (1/2) § For UART module, terminal program for serial port is needed § In Windows, hyperterminal program is included. - Start à Run à hypertrm 31 haekim@etri.re.kr
  • 32. Hyperterminal Configuration for UART Communication (2/2) Type anything for a local number Baudrate in kernel configuration UART comm port 32 haekim@etri.re.kr
  • 33. 1_uart_put test application result § You will see the following screen if you reset the sensor node. You must disconnect before fusing through com port 33 haekim@etri.re.kr