MayQueen Technologies PANZER User manual

MayQueen Technologies
PANZER
Quick Started Guide
Rev 1. 2 18 3 1

Copyright
MayQueen Technologies Ltd., All rights reserved.
NutsBoard Org. reserves the right to make improvements in the
products described in this manual at any time ithout notice. No part of this
manual may be reproduced, copied, translated or transmitted in any form or by
any means ithout prior ritten permission of MayQueen Technologies Ltd..
Trademark
The MayQueen logo is a registered trademark of MayQueen Technologies Ltd..
All other trademarks or registered marks in this manual belong to their
respective manufacturers.
Revision History
Revision Date Author Description
V1.0 03/01/2018 Watson First Release

Contents
Copyright..............................................................................................................................................2
Trademark.............................................................................................................................................2
Revision History...................................................................................................................................2
1. PANZER System Overvie .............................................................................................................1
2. Basic Setup.......................................................................................................................................2
2-1. Ho to quick boot up the PANZER?............................................................................................2
3. Do nload and Flash an Operating System Demo Image (Optional)...............................................3
3-1. Supporting list...............................................................................................................................3
3-2. Ho to Do nload.........................................................................................................................3
3-3. Ho to Flash – Windo s User......................................................................................................3
3-4. Ho to Flash – Linux User...........................................................................................................5
4. PANZER Functions..........................................................................................................................6
4-1. Ethernet RJ-45 Connector (a)........................................................................................................6
4-2. USB Host Connectors (b)..............................................................................................................7
4-3. D-SUB15 VGA Connector (c)......................................................................................................7
4-4. uSD slot (d)...................................................................................................................................7
4-5. WiFi 2.4GHz Antenna (e).............................................................................................................7
4-6. Earphone Jack (f)..........................................................................................................................7
4-7. LEDs (g)........................................................................................................................................7
4-8 Po er Connector (h)......................................................................................................................8
4-8 DI/DO Connectors (i).....................................................................................................................8
4-9 RS232 Connectors (j).....................................................................................................................8
4-10 RS485 Connectors, CAN bus Connectors (k)..............................................................................9
5. Advanced Topics (Optional)...........................................................................................................10
5-1 Ho To disassembly the PANZER case......................................................................................10
5-2 Ho To change the boot mode.....................................................................................................12
5-3 Ho To Debug.............................................................................................................................13
5-4 Change the USB mode bet een USB Host and USB WiFi.........................................................16

PANZER Quick Started Guide v1.0 - March 01 2018
1. PANZER System Overview
1

PANZER Quick Started Guide v1.0 - March 01 2018
2. Basic Setup
2-1. How to quick boot up the PANZER?
Step 1. Plug-in the po er cable using 12Vdc po er adapter
Step 2. It ill light up for red LED if boot success (such as follo ing (2)). And it’s up to customer
need Ethernet, display or not. Please connect D-SUB port to VGA panel as follo ing (3) if you
need a display function. Please connect a Ethernet RJ45 cable as follo ing (4) if you need a
net orking function.
2
- - +
(1)
(3)
(4) (2)

PANZER Quick Started Guide v1.0 - March 01 2018
3. Download and Flash an Operating System Demo Image (Optional)
3-1. Supporting list
e have seven OS options to best fit your needs soon. Red color means not
release yet.
Operating System Revision Applications
BuildRoot 201708 IoT, HMI
Yocto Morty 2.3 IoT, HMI
Ubuntu 18.04 IoT, HMI
3-2. How to Download
PANZER has 256MB of high-reliability SLC NAND Flash storage onboard for holding
the core operating system and a limited amount of user and program data.
Because of this, it’s a good idea to kno ho much storage soft are ill take
before flashing and installing. Where needed, additional high-speed storage can
be added through PANZER’s SDIO bus of uSD slot.
Do nload link: http:// .mayqueentech.com/do nload
If you need eMMC boot image, please choose “installer image”.
If you need uSD boot image, please choose “runtime image”.
3-3. How to Flash – Windows User
Head over to the eb flasher soft are “usbit.zip” file at https://mega.nz/#!
NsUkha4Q!NiyvA-bSPDTfGFNg8IlhSAbv7t9lGexmQlFDV3qt_b8.
opening the application, you should be see your sdcard is mounted on left side.
Then press the “Restore” button to rite a sdcard image.
3

PANZER Quick Started Guide v1.0 - March 01 2018
Once pressed the “Open” button, the sdcard riting should start. You’ll see a
progress bar on the left bottom side. Once it’s at 100% you’re ready to
flashed:
4

PANZER Quick Started Guide v1.0 - March 01 2018
3-4. How to Flash – Linux User
1. Prepare a uSD card and inserting the host PC.
2. After do nload the expected image, issue the command to flashing uSDcard -
“dd if=*.img of=/dev/sdx bs=1M;sync;”.
*.img means your expected do nload image.
/dev/sdx means the device node of sdcard hat your mounted. (ex: /dev/sdb)
5

PANZER Quick Started Guide v1.0 - March 01 2018
4. PANZER Functions
(a) Ethernet RJ-45 Connector
(b) USB Host Connector x2 for (b1) and (b2)
(c) D-SUB15 VGA Connector
(d) uSD Slot
(e) WiFi 2.4GHz Antenna
(f) Earphone Jack
(g) Red LED (po er) x1, Green LED (programmable) x1
(h) Po er Connector
(i) DI/DO Connectors
(j) RS232 Connectors
(k) RS485 Connectors, CAN bus Connectors
4-1. Ethernet RJ-45 Connector (a)
It’s RMII based PHY, so you can choose the speed hat you ant from 10Mb to
100Mb (default is 100Mb), the LED state definition of PHY connector as
follo ing:
6
(a) (b) (c) (d)
(e)
(f) (g)
(h) (i) (j) (k)
Action Speed
(b1)
(b2)

PANZER Quick Started Guide v1.0 - March 01 2018
4-2. USB Host Connectors (b)
PANZER offers t o standard USB connectors ithout USB HUB, it means t o USB host
has fully band idth independently. In addition, e also provide a s itch
function as Chapter 1, you can choose the function hat you ant:
USB Number Function 1 Function 2
(b1) USB Host (1st priority) WiFi (2nd priority)
(b2) USB Host 4G LTE mPCIE interface
4-3. D-SUB15 VGA Connector (c)
It’s based on 24-bit RGB interface, the maximum resolution is 1366x768, default
setting is 1024 x 768 in PANZER.
4-4. uSD slot (d)
PANZER uSD slot has 3 features:
1. As external storage, you just prepare a uSD card!
2. As a system, e supporting boot from uSD card, please follo Chapter 5. -
Advanced topics to refer the boot mode setting.
3. As installer, you can use uSD boot and flashing your system to NAND flash.
4-5. WiFi 2.4GHz Antenna (e)
We provide a WiFi antenna on the PANZER, but e also have a mPCIE interface for
4G LTE communications, so you can take out our antenna first and replace your 4G
LTE antenna.
4-6. Earphone Jack (f)
PANZER audio codec has supporting earphone jack only ithout microphone.
4-7. LEDs (g)
Red LED is fixed state hen you boot up, the light means your po er is in the
orking stage.
7

PANZER Quick Started Guide v1.0 - March 01 2018
Green LED is programmable using GPIO interface, you can develop in PANZER Linux
based OS, the specific GPIO in MayQueen customize Linux path is:
/sys/class/edm/gpio/GPIO_LED2/value
4-8 Power Connector (h)
PANZER only supporting 12Vdc po er input ith terminal block type connector,
MayQueen already provide terminal block connector inside the shipping box,
customer just take 2 ire from po er adapter and connect to the terminal block
connector, the specific type of connectors as follo ing:
4-8 DI/DO Connectors (i)
PANZER provide 4 DI/DO ports (2 DI ports and 2 DO ports) ith 5Vdc using GPIO
interface, the specific type of connectors as follo ing:
the specific GPIO in MayQueen customize Linux path is:
OUT2: /sys/class/edm/gpio/GPIO_OUT2/value
OUT1: /sys/class/edm/gpio/GPIO_OUT1/value
IN2: /sys/class/edm/gpio/GPIO_IN2/value
IN1: /sys/class/edm/gpio/GPIO_IN1/value
4-9 RS232 Connectors (j)
PANZER provide 4 t o ire RS232 ports ith 2 GND ports, it’s up to customer ho
to used these UART ports on applications, the specific type of connectors as
follo ing:
8
- - +
IN1 OUT2 OUT1 IN2
GND GND UART5 UART6 UART8 UART7
TX RX TX RX TX RX TX RX

PANZER Quick Started Guide v1.0 - March 01 2018
the specific device node of UARTs in MayQueen customize Linux path is:
UART5: /dev/ttymxc4
UART6: /dev/ttymxc5
UART8: /dev/ttymxc7
UART7: /dev/ttymxc6
4-1 RS485 Connectors, CAN bus Connectors (k)
PANZER provide 3 RS485 ports and 2 FlexCAN bus ports, it’s differential signal
ithout GND, so it’s up to customer ho to used these ports on applications,
the specific type of connectors as follo ing:
the specific device node of UARTs in MayQueen customize Linux path is:
UART3: /dev/ttymxc2
UART4: /dev/ttymxc3
UART2: /dev/ttymxc1
CAN2: ifconfig can1
CAN1: ifconfig can0
9
UART4 UART2 CAN2 CAN1
D+ D- D+ D- D+ D- L H
UART3
L H

PANZER Quick Started Guide v1.0 - March 01 2018
5. Advanced Topics (Optional)
5-1 How To disassembly the PANZER case
Some reasons the customers have to do this item such as:
1. Change the boot mode
2. Debug using UART console mode
3. Change the Antenna no matter WiFi or 4G LTE
Step 1. Disassembly the scre s of four sides.
10
(1)
(2) (4)
(3)

PANZER Quick Started Guide v1.0 - March 01 2018
Step 2. Disassembly the scre s of four sides, be careful about the antenna
cable.
Step 3. Take board out of the case slo ly, it’s very easy.
11

PANZER Quick Started Guide v1.0 - March 01 2018
5-2 How To change the boot mode
You can find out the red color DIP s itch (J12) on the board, PANZER has t o
boot mode for option, default is NAND boot mode as follo ing picture
(↓↓↓↑):
Also could choose to SD boot mode as follo ing picture (↓↓↑↓):
12

PANZER Quick Started Guide v1.0 - March 01 2018
5-3 How To Debug
5-3-1 Debug over UART console
This method is a little bit complexity, the customer have to prepare
a TTL based console cable to PANZER connector of console port:
After done to debug cable, you can insert onto the connector such as above
picture, then prepare a USB to serial cable to connect this one to your host PC,
open a terminal soft are and setting baud rate 115200, then you can starting
develop your o n applications, if no any output messages for console, please
reverse the connector of debug console cable and insert again.
13
GND RX TX
J19

PANZER Quick Started Guide v1.0 - March 01 2018
Debug setting on windows OS
•Open the TeraTrem and set Baud rate to 115200
•Setup → Serial Port → Baud Rate “115200”
•See the results as belo picture.
Debug setting on Linux OS
•Install minicom first
•Setting the minicom configuration
14

PANZER Quick Started Guide v1.0 - March 01 2018
•Doing minicom configuration:
◦press “A”,Modify “ttyUSBx” <your device node of serial port>
◦press ”F”,change “N”
◦press “Enter”
15

PANZER Quick Started Guide v1.0 - March 01 2018
5-3-2 Debugging over SSH
This ay is a good ay to debugging, but customer have to do some configuration
as follo ing:
Step 1. config the IP address on PANZER Ethernet or WiFi interface.
Step 2. config the IP address on your host PC, Remember this net ork domain
ould be the same ith PANZER for debug easily.
Step 3. issue the commands to login Linux system on PANZER:
ubuntu@mayqueen~$ ssh [email protected]
root@buildroot~#
5-3-3 Debugging over VGA monitor
This ay is supporting if you ill connect VGA and a USB keyboard, then you can
debugging on PANZER directly.
5-4 Change the USB mode between USB Host and USB WiFi
According to Chapter 4.2, MayQueen have to analysis this function detail:
USB1: Default is po er off, please issue command using soft are po er enable if
you ant to use it:
root@buildroot~# echo 1 > /sys/class/edm/gpio/USB_OTG2/value
And in order to consider USB band idth usage, it can not both orks for WiFi and
USB devices in the same time, the 1st priority is USB devices, so if you ould like to
use WiFi funtion, please remove USB device first.
USB2: Default is po er on on hard are design, so you can use it directly, and
PANZER supporting USB devices and 4G LTE function at the same time, but
customers still have to notice the band idth usage.
16
Table of contents