Hide thumbs Also See for MiraBox:

Advertisement

 
A. Package contents .............................................................................................................................................. 2
B. MiraBox appearance and connecting ports................................................................................................... 4
C. LED indication .................................................................................................................................................... 6
D. System console and debugging ...................................................................................................................... 7
1.
Driver and tool installation..................................................................................................................................... 7
2.
Go into debugging console. ................................................................................................................................ 10
3.
WiFi AP mode testing......................................................................................................................................... 11
4.
WIFI Client mode testing .................................................................................................................................... 13
5.
Gigabit ethernet ports......................................................................................................................................... 16
6.
USB 3.0 port ..................................................................................................................................................... 17
7.
Multi-IO port ...................................................................................................................................................... 18
8.
Reset................................................................................................................................................................ 26
9.
Download sites .................................................................................................................................................. 27
10.
FCC STATEMENT......................................................................................................................................... 27
11.
RF warning statement: ................................................................................................................................... 27
 
 
 
 
MiraBox User Guide
Contents
MiraBoxUser Guide -page1 / 27
 
-Sep18, 2012

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MiraBox and is the answer not in the manual?

Questions and answers

Summary of Contents for GlobalScale MiraBox

  • Page 1: Table Of Contents

    MiraBox User Guide -Sep18, 2012 Contents A. Package contents .............................. 2 B. MiraBox appearance and connecting ports....................4 C. LED indication ..............................6 D. System console and debugging ........................7 Driver and tool installation............................. 7 Go into debugging console..........................10 WiFi AP mode testing............................
  • Page 2: Package Contents

    A. Package contents   1. Standard package contents 2  MiraBoxstandard content List Remark MiraBox 1 unit Mirabox main unit AC-DC Power Adapter 1 pc Input 90-240VAC / output 5V,3A DC Ethernet Cable 1 pc Cat 5e USB3.0 Cable 1 pc...
  • Page 3 2. Optional package contents 6  7  8    MiraBoxOptional Content List Multi I/O Cable 1 pc Connect from MiraBox to JTAG/GPIO box GPIO Cable 1 pc For GPIO port connection MiraBox JTAG/GPIO box 1 pc External JTAG/GPIO box for debugging...
  • Page 4: Mirabox Appearance And Connecting Ports

    MiraBoxUser Guide –page4 / 27     B. MiraBox appearance and connecting ports       1  6 ...
  • Page 5 MiraBoxUser Guide –page5 / 27       7  Mirabox ports description Connection port Description Remark Power Port DC 5V/3A port RJ45 #1 Gigabit Ethernet port1 RJ45 #2 Gigabit Ethernet port2 USB 3.0 port#1 USB 3.0 high speed host USB 3.0 port#2 USB 3.0 high speed host...
  • Page 6: Led Indication

    MiraBoxUser Guide –page6 / 27     C. LED indication LED indication table Color/ Pattern Description Power on LED Solid green Upon power on, this LED lights up WiFi AP Blinking blue Indicate WiFi AP mode is activated as default after boot up WiFi AP mode is not activated Blinking green WiFi client mode is activated...
  • Page 7: System Console And Debugging

    (4-1) Connect Mirabox to your Windows PC Connect Mini USB cable here.The other end connects to computer’s USB port.   (4-2) The first time when you connect Mirabox to the Windows computer you will be asked to install the driver  ...
  • Page 8 MiraBoxUser Guide –page8 / 27     (4-3) Run file “2KXPVDock.exe”and the driver will be installed to the PATH C:\cabs\2KXPVDock”.   Click “Next” to complete t   (5) Find out the com port of your debugger on your windows PC. (5-1) Right click [My Computer]  [Properties]  [Hardware]  [Device Manager]...
  • Page 9 MiraBoxUser Guide –page9 / 27     (5-2) Find out your com port as below (here is com3 for example)   (6) Run “putty.exe”and configure as below on yourWindows PC. The “Serial line” should be configured the same as the COM port in Device Manager Give it a name and save for Give it a name and save for...
  • Page 10: Go Into Debugging Console

    MiraBoxUser Guide –page10 / 27     2. Go into debugging console. (1) Power on the MiraBoxand you will see messages on screen as below   (2) You can press any key to stop auto-boot when you see the bootdelay timer is counting down. After entering the uboot prompt, you can also change the uboot environment variables such asbootdelaytime, Ipaddr,serverip and so on.
  • Page 11: Wifi Ap Mode Testing

    MiraBoxUser Guide –page11 / 27     (4) Now you are the root user and have the full control of the mirabox 3. WiFi AP mode testing MiraBoxServer has a built-in WiFi module which is in compliance with 802.11 b/g/n standard. The WiFican work as client or AP modebut only one at a time.
  • Page 12 MiraBoxUser Guide –page12 / 27       2. Select “View Available Wireless Networks”   3. Choose name with “mira-uAP-6344”, here digits”6344” is the last four digits of MAC address for the MiraBoxWiFi     Then click “Connect”.   4. Successfully connected.  ...
  • Page 13: Wifi Client Mode Testing

    MiraBoxUser Guide –page13 / 27     4. WIFI Client mode testing (1) Switchto WiFiclient mode by giving command as following. # wlan.sh When done successfully, the LED(D7) is blinking green and mlan0 is activated. (2) To check mlan0 with ifconfig command # ifconfig...
  • Page 14 MiraBoxUser Guide –page14 / 27     (3) Scan for WiFi AP near-by # iwlist mlan0 scan...
  • Page 15 MiraBoxUser Guide –page15 / 27     (4) Connect to WiFi AP # iwconfig mlan0 essid<AP’s ID> # dhclient mlan0 # ifconfig mlan0 #ping 192.168.1.1 The below screenshot is a example for how to connect a mlan device. If you can see IP address (for example: 192.168.1.102) means you have already connected and got an IP.
  • Page 16: Gigabit Ethernet Ports

    MiraBoxUser Guide –page16 / 27     5. Gigabit ethernet ports (1) Connect the two Gigabit Ethernet ports to Gigabit switch by Network cables. Normally it will get an IP address assigned by DHCP. Enter command as below to check: #ifconfig  ...
  • Page 17: Usb 3.0 Port

    MiraBoxUser Guide –page17 / 27     6. USB 3.0 port (1) Plug in the usb3.0 hard disk or flash disk to the USB port then you can see some driver messages as below of this device   (2) View the usb3.0 hard disk #fdisk-l you will see below messages of the usb3.0 devicewhich is usually shown as /dev/sdb*、/dev/sdc*.
  • Page 18: Multi-Io Port

    MiraBoxUser Guide –page18 / 27     7. Multi-IO port   Connect the MIRABOX JTAG/GPIO box to the Multi-IO port via Multi-IO cable.                       Multi‐I/O port  Multi‐I/O port         ...
  • Page 19 Debugger connection        Marvell    BlackStone    debugger                        MiraBox JTAG    GPIO   Run XDB on Windows PC                               ...
  • Page 20 MiraBoxUser Guide –page20 / 27       (2) GPIO interface and control    (2-1) There is a demo program to show the GPIO LEDs by entering command as below: #ledtest1 This will light up the LEDs for 3 seconds then light off.  ...
  • Page 21 MiraBoxUser Guide –page21 / 27     a. preparation 1. Prepare a host pc with linux (as:fedora 14) installed, and download the cross tool chain “arm-marvell-linux-gnueabi-vfp.tar.bz2” from our http://www.plugcomputer.org/downloads/d2plug/ or  website http://www.globalscaletechnologies.com    or 2. Install and configure the tool chain Copy “arm-marvell-linux-gnueabi-vfp.tar.bz2”...
  • Page 22 MiraBoxUser Guide –page22 / 27     b. compile the program Here has an example “i2c_led.c” for you to debugging /*i2c_led.c*GTI‐‐Globalscaletechnologies.,INC**/                  #include <stdio.h>                  #include <linux/types.h>                  #include <stdlib.h>   ...
  • Page 23 MiraBoxUser Guide –page23 / 27     struct i2c_rdwr_ioctl_data e2prom_data;  fd=open("/dev/i2c‐0",O_RDWR);/*      /dev/i2c‐0 is registered to the system */  if(fd<0)                                  {  perror("open error");                                  }   ...
  • Page 24 MiraBoxUser Guide –page24 / 27     /***********    control the GPIO OP‐2 **************************************/          //turn on LED  (e2prom_data.msgs[0]).buf[0]=0x1a;// e2prom write address                                  (e2prom_data.msgs[0]).buf[1]=0x0;//the data to write          ret=ioctl(fd,I2C_RDWR,(unsigned long)&e2prom_data);  if(ret<0)                                  {  perror("ioctl error3"); ...
  • Page 25 Copy this program to file “i2c_led.c” and save to “/home” directory or other else, and compile it use cross-compile tool just have been installed. #cd /home #arm-marvell-linux-gnueabi-gcc -o led i2c_led.c Then copy the executable file “led” to Mirabox and run it. You can see the LED is controlled by youself.
  • Page 26: Reset

    MiraBoxUser Guide –page26 / 27     8. Reset 6、GPIO reset button hole. (1) GPIO reset button The reset button is connected to one GPIO which means controlled by software. When you press down this button by using a sharp pin, it arouses attention of CPU then CPU asserts the master reset low signal to start the system reset session.
  • Page 27: Download Sites

    MiraBoxUser Guide –page27 / 27     Download sites To download the files for MiraBox server, please visit: http://www.globalscaletechnologies.com/t-downloads.aspx Other useful resource links are: http://www.plugcomputer.org/ http://plugcomputer.org/plugwiki/index.php/GuruPlug 10. FCC STATEMENT 1. This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference.

Table of Contents