VRmagic GmbH D2 User's Guide

Browse online or download User's Guide for Bridge cameras VRmagic GmbH D2. VRmagic GmbH D2 User guide User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - User Guide

VRmagicD2 Intelligent CameraUser GuideIssued August 2014Sensor

Page 2

3.2 Camera ModelsSingle-Sensor Cameras VRmD(F)C-XSingle-sensor cameras are equipped with one image sensor. The sensor board is mounted directly onto

Page 3 - Table of Contents

Remote-Sensor Cameras VRmDC-X-ERemote-sensor cameras consist of a base unit and an external sensor board connected to the base unit by flex-foil cable.

Page 4

Multi-Sensor Cameras VRmDMFCMulti-sensor cameras consist of a base unit and up to four external sensor boards con-nected to the base unit by flex-foil

Page 5

3.3 Connectors and InterfacesAll board-level cameras (OEM and COB versions) are available with two different inter-face boards: the standard interfac

Page 6 - 1 General Information

SPIGPIOUSBRGBPWRUARTETHBTNTRGVGAFig. 7: OEM camera with CUEO1 pico interface board1 DF14-15P connector for serial console and JTAG on CPU board2 E

Page 7 - 2 Safety

3.4 AccessoriesThere are optional accessory kits for the D2 intelligent cameras containing adapters, cables, power supply and a USB update flash drive

Page 8 - 3 Overview

4 Software Installation4.1 Downloading the VRmagic SoftwareDownloading the software package:1. Visit www.vrmagic.com/imaging/downloads/ .2. Scroll

Page 9

Directory structure of the D2 SDK distribution (excerpt)D2development_kit VRmUsbCam DevKit for D2demos Examples for the API usagedocs Documentation of

Page 10 - 3.2 Camera Models

4.3 Installing the Camera Runtime and the Host SDKVRmagic Windows/Linux PC SDKThe host PC SDK is required to develop camera applications that will be

Page 11 - Intelligent Components

Installing the camera runtime and SDK for Linux:1. Navigate to the linux directory in the downloaded and unzipped SDK distribution.2. Navigate to th

Page 12 - Overview

D2 Intelligent Cameras – User GuideDocument version: 1.15 Date of issue: August 14, 2014 Applicable to: all D2 intelligent cameras, SDK release 4.1Sub

Page 13

4.5 Installing a Console ApplicationWe recommend installing PuTTY for Windows computers. PuTTY is an open-source SSH, Telnet, and serial client. The

Page 14

5 Hardware Installation5.1 Connecting External Sensor BoardsNoteThis section only applies to remote-sensor cameras and multi-sensor cameras.CautionP

Page 15

Connecting the flex-foil cable(s) to the sensor board(s): 1. Pull out the lock of the connector on the sensor board ( Fig. 9 on page22).2. Insert t

Page 16 - 4 Software Installation

5.2 Connecting an External HDMI BoardNoteThis section only applies to cameras equipped with the pico interface board VRmCUEO1 and an optional extern

Page 17

Connecting an external HDMI board:1. Open the lock of the FPC connector on the camera interface board by flipping it upwards ( Fig. 11 on page24).2.

Page 18 - Software Installation

5.3 Connecting the Interface CablesThe minimum requirements to access the camera are a functioning Ethernet connec-tion and a power supply. Depending

Page 19

Connecting RS232, S-Video output, trigger/strobe and GPIOsNoteAccess to the camera’s serial console is only possible using the separate DF14-15P inter

Page 20

5.3.2 CUEO1 Pico Interface BoardNoteThe following instructions apply to the CUEO1 pico interface board only and as-sume that you have ordered the opt

Page 21 - 5 Hardware Installation

5.3.3 Connecting Serial Console and JTAGThe connection of serial console and JTAG is only necessary for debugging and update purposes. You may skip t

Page 22 - Hardware Installation

5.4 Connecting the Power SupplyUse the AC power adapter PHIHONG PSA 15R-050P included in the accessory kit. Alternatively, use a power supply with +5

Page 23

Table of Contents1 General Information ...62 Safety ...

Page 24

6 First StepsNoteSome of the Linux commands in this manual require root user rights. If you are not logged in as root, you can type sudo <command&

Page 25

6.1.1 Setting Up a Point-to-Point ConnectionNoteThis section only applies if your network is not equipped with a DHCP server.Setting up a point-to-po

Page 26

Fig. 14: Camera detected in CamLab3. If not already the case, select your camera from the list. f Your camera is connected to the Ethernet and ready

Page 27

Accessing the camera via SSH using PuTTY:1. Start PuTTY on your host PC ( section 4.5).2. In the Session category, choose SSH as Connection type. 3

Page 28

6.3 Accessing the Device via RS232For most applications it is sufficient to connect via SSH. The serial console is only recommended for debug purposes

Page 29

6.4 Changing the Camera’s Default PasswordThe user name for accessing the camera is “root” and the default password is “vrma-gic”. We strongly recomm

Page 30 - 6 First Steps

6.6 Exchanging Files and DataFor file exchange between the camera and a host computer, NFS or Samba/Windows shares can be mounted on the camera. Alter

Page 31

Mounting a USB flash drive:1. Plug the USB flash drive into the camera’s USB host port.2. Access the camera using SSH.3. Change to the /dev directory

Page 32 - First Steps

6.7 Changing DSP Memory SizeCautionPossible malfunction of DSP applicationsChanging the size of the DSP memory means that you will have to adapt the

Page 33

Changing the size of the DSP partition:1. Access the camera using SSH ( section 6.2).2. Navigate to the /etc/init.d/ directory by typing cd etc/ini

Page 34

6 First Steps ...306.1 Setting Up the Ethernet Connection ...

Page 35

6.8.1 Partitioning Linux and Shared Memory (CMEM)By setting the start of the shared memory ( Fig. 17 on page 38) you can modify the size of the Linu

Page 36

11. Reboot the camera by typing in reboot . f The camera now boots with the new boot parameters.6.8.2 Changing Video Output ModeThe most common reas

Page 37

6.9 Camserver and CamLabA process called vrmcamserver is running on the camera. It is used by the VRmagic CamLab application to allow the transmissio

Page 38 - 6.7 Changing DSP Memory Size

6.10 Accessing the Camera’s GPIOsYou can access the GPIO pins using the gpio-sysfs interface from the Linux command line. Before you can access a GPIO

Page 39

6.12 Using Trigger and StrobeDepending on your interface board, the pins for trigger and strobe are located on dif-ferent connectors. The following ta

Page 40

3.3V...24VTriggerIn +TriggerIn –Passive Trigger InputFig. 18: Passive Trigger InputActive Trigger Input (TTL)An LVTTL/TTL compatible signal can be fed

Page 41

6.13 Switching the Camera On and OffWe recommend the camera be switched off before disconnecting it from power. This allows the Linux OS to shut down

Page 42 - 6.9 Camserver and CamLab

7 Programming EnvironmentSetting up the toolchains is necessary for compiling the demo applications and for writing your own applications. In both ca

Page 43

NoteThe instructions provided in this chapter apply for both Windows and Linux, if not specified otherwise.7.1 Setting Up the ARM ToolchainCautionDuri

Page 44 - 6.12 Using Trigger and Strobe

7. Add the contents of arm_toolchain_addons.zip to the respective directories in the toolchain’s installation directory.8. Restart your command shel

Page 45

8 Firmware Update and Recovery ... 608.1 General Description ...

Page 46

7.2 Setting Up the DSP ToolchainSetting up the DSP toolchain is optional. However, in order to build the VRmagic DSP demos and your own C64x+ project

Page 47 - 7 Programming Environment

4. Download XDCtools 3.16.02.32 for Windows or Linux from http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/ index.html5. Down

Page 48 - Programming Environment

Step 4: Replacing Linux Utils:The Linux Utils, which are delivered by the Codec Engine 2.25.01.06 package have a bug in the ARM cache handling. Theref

Page 49

Fig. 21: Adding PATH variables in Windows 73. Now add the following paths, separating each path with semicolons: \<your-path-to>\xdctools_3_16

Page 50

7.3 Update of an Older Development KitIf you have downloaded a new development kit from the VRmagic website, follow these instructions to work with t

Page 51

• sdlviewer: displays the video images of the camera on the currently configured video output of the camera (S-Video, HDMI, LCD) using the SDL library

Page 52

Running the ARM demos:1. Access the camera via SSH ( section 6.2).2. To run an application, type ./path/to/executable/name_of_executable If you al

Page 53

Compiling the ARM and DSP demos on a host PC:The following steps assume that you have installed the ARM toolchain ( section 7.1) and the DSP toolchai

Page 54 - 7.4.1 ARM Demos

4. IMPORTANT for jpegenc_demo: If you get the error std.h: No such file or directory , open the file <your-path-to>/JPEG-Enc/packages/ti/sdo/

Page 55

Running the ARM/DSP demos:NoteThe demos will not run if you are currently accessing the camera with CamLab.1. Access the camera via SSH ( section 6.

Page 56 - 7.4.2 ARM and DSP Demos

1 General InformationThis guide applies to all intelligent cameras based on the D2 intelligent camera platform from VRmagic. Follow this guide chapte

Page 57

8 Firmware Update and Recovery8.1 General DescriptionYou can update your camera’s firmware if a newer version is available, or you can restore the or

Page 58

8.2 Updating via EthernetRequirements • The Ethernet updater uses the SSH protocol. Therefore it is required that an SSH server is running on the cam

Page 59

4. Edit the ./ethernet_updater/firmware/backup.txt file to specify files and direc-tories that should not be updated or overwritten during the update pr

Page 60 - 8.1 General Description

6. Execute the VRmDC-x Ethernet Updater on the Windows or Linux command line: vrmdcethupdater.exe [options] <ip_of_camera> One or more of the

Page 61

NoteIf something went wrong or if you simply want to check the update process, take a look at the vrm-update-fw-<group_id>-<serial_no>.log

Page 62 - Firmware Update and Recovery

8.3.1 Generating a USB Update/Recovery Flash DriveNoteYou can use any USB flash drive with a capacity of 2 GB or more, however, there can be differenc

Page 63

6. Make sure you know the name of the Linux device file of the USB flash drive. Do not use a device file of a particular partition like /dev/sda1, inste

Page 64 - Flash Drive

8.3.2 Manual UpdateBecause a serial connection via the camera’s RS232 interface is required, manual up-dates are possible with board-level cameras (O

Page 65

5. Execute v r m-up d ate-fw.sh. f The update procedure starts. f A security question is displayed, which asks you if you are aware you will lose al

Page 66

3. If you would like to specify files and directories that should not be updated or over-written during the update process, edit the file backup.txt on

Page 67

2 SafetyThe declarations of conformity (as far as available or applicable), data sheets, and oper-ating instructions applicable to your product are a

Page 68 - 8.3.3 Automatic Update

9 Appendix9.1 Cable Plans and Pinouts9.1.1 VRmDC-X Interface Adapter Cable1 56 91 1112 21...1324Fig. 23: Interface adapter cable for intelligent ca

Page 69

#2 pin #3 pin #4 wire #1 pin Signalyellow 4 TTL Active Strobe Out (+5 V)gray 6 Passive Trigger In– (3...24 V)pink 7 Passive Trigger In + (3...24 V)bl

Page 70 - 9 Appendix

9.1.2 VRmDC-2 Service Cable1142131151 56 9Fig. 24: Service cable for intelligent cameras1 Hirose DF14-15S-1.25C, to be plugged into camera receptac

Page 71

9.1.3 VRmCUEO1 Pico Interface BoardThe pico interface board is equipped with miniature connectors (Molex 53398-xx71). Each connector is identified by

Page 72 - Appendix

Ethernet (ETH) USB host port (USB)Pin(s) Signal Pin(s) Signal1 +5 V 1 +5 V2 LINK LED 12 D-3 ACTIVITY LED 13 D+4 NC 4 GND5 RX-6 RX+7 TX-8 TX+1 Conne

Page 73

Trigger/Strobe (TRG) Serial port (UART)Pin(s) Signal Pin(s) Signal1 +5 V 1 TX 72 GND 2 RX 73 TTL Active Trigger in 53 GND4 TTL Active Strobe out 6

Page 74

9.2 Linux Short Reference and ExamplesFor a detailed Linux command reference we recommend downloading one of the read-ily available reference sheets

Page 75

10 IndexAAccess camera 32RS232 34SSH 32Accessories 15ARM Toolchain 48BBattery 7CCable plans 70Cable Plans 70CablesInterface Adapter Cable 7

Page 76

JJTAG 28KKernel boot parameters 39LLinux commands 76MMemory 9CMEM size 40DSP memory size 38Linux memory size 40Partitions 9, 38Mount network s

Page 78 - Intelligent Components Index

3 Overview3.1 D2 Intelligent Camera ArchitectureThe D2 intelligent cameras from VRmagic function as an embedded system. They are equipped with a hig

Page 79

VRmagic GmbHAugustaanlage 3268165 MannheimGermanyPhone +49 621 400 416-20Fax +49 621 400 [email protected] ©

Page 80

By default, the camera’s DDR2 memory is partitioned into three areas: the Linux mem-ory, the contiguous shared memory (CMEM), and the DSP memory. Imag

Comments to this Manuals

No comments