background image

User Manual

32

If you are not using Eclipse and ADT, read Configuring your IDE to attach to the debugging 

port, for more information on attaching your debugger.

Tip: You can set a number of DDMS preferences in File > Preferences. Preferences are 

saved to $HOME/.android/ddms.cfg.

Known debugging issues with Dalvik

Debugging an application in the Dalvik VM should work the same as it does in other VMs. 

However, when single-stepping out of synchronized code, the "current line" cursor may 

jump to the last line in the method for one step.

Using DDMS

The following sections describe how to use DDMS and the various tabs and panes that are 

part of the DDMS GUI. The Eclipse version and the command line version have minor UI 

differences, but the same functionality. For information on running DDMS, see the previous 

section in this document, Running DDMS.

Viewing heap usage for a process

DDMS allows you to view how much heap memory a process is using. This information 

is useful in tracking heap usage at a certain point of time during the execution of your 

application.

To view heap usage for a process:

In the Devices tab, select the process that you want to see the heap information for.

Click the Update Heap button to enable heap information for the process.

In the Heap tab, click Cause GC to invoke garbage collection, which enables the collection 

of heap data. When the operation completes, you will see a group of object types and the 

memory that has been allocated for each type. You can click Cause GC again to refresh 

the data.

Click on an object type in the list to see a bar graph that shows the number of objects 

allocated for a particular memory size in bytes.

Tracking memory allocation of objects

DDMS provides a feature to track objects that are being allocated to memory and to see 

which classes and threads are allocating the objects. This allows you to track, in real time, 

where objects are being allocated when you perform certain actions in your application. 

This information is valuable for assessing memory usage that can affect application 

performance.

To track memory allocation of objects:

In the Devices tab, select the process that you want to enable allocation tracking for.

In the Allocation Tracker tab, click the Start Tracking button to begin allocation tracking. At 

this point, anything you do in your application will be tracked.

Summary of Contents for SOMB-iMX6

Page 1: ...Version 2015 MAR V 2 0 ORC SOMB iMX6 Carrier Board User Manual...

Page 2: ...n 06 4 Connector PIN of ORC Carrier Board to CPU Board 06 5 Installation of WiFi and WiFi Antenna 07 6 SOMB iMX6 CPU Board Specification and Features 09 7 SOMB iMX6 Dimension 11 8 SOMB iMX6 PIN MUX Ta...

Page 3: ...o revise this publication and to make changes to the contents here without obligation to notify any party beforehand Duplication of this publication in part or in whole is not allowed without first ob...

Page 4: ...charge Avoid touching the components on motherboard or the rear side of the board unless necessary Hold the board on the edge do not try to bend or flex the board Do not leave any unfastened small pa...

Page 5: ...Solo 512MB Storage 8GB On Module eMMC Flash Function Dual Channel LVDS support up to 1920x1080 HDMI Micro SD slot support SDHC COM Port x 2 CAN Bus Headset Support Stereo audio Amp 1Wx2 Camera interf...

Page 6: ...User Manual 06 3 ORC Dimension 4 Connector PIN of ORC Carrier Board to CPU Board...

Page 7: ...User Manual 07 5 Installation of WiFi and WiFi Antenna Aligh WiFi module s golden finger into MiniPCie Slot Insert the WiFi module into the slot...

Page 8: ...User Manual 08 Fasten the screws on the WiFi module Connect the Antenna on two golden buttons of WiFi module...

Page 9: ...rs looking for rapid product development while maintaining the flexibility of a custom design The POSLAB SOMB IMX6 has a wide variety of peripheral interface options including Gigabit Ethernet multipl...

Page 10: ...s for an optimal user interface experience Integrated market specific I Os which may include HDMI v1 4 with integrated PHY SD3 0 multiple USB 2 0 ports Gigabit Ethernet SATA II with integrated PHY PCI...

Page 11: ...User Manual 11 7 SOMB iMX6 Dimension J1 1 J1 80 J1 40 J1 41 Bottom View J2 1 J2 80 J2 40 J2 41 J3 1 J3 80 J3 40 J3 41...

Page 12: ..._B_DEB J1 26 GND J1 27 PWM1 SD1_DATA3 ECSPI5_SS2 GPT_COMPARE3 PWM1_OUT WDOG2_B GPIO1_IO21 WDOG2_RESET_B_DEB J1 28 PMIC_SYSOK J1 29 I2C3_SDA J1 30 I2C3_SCL J1 31 PMIC_GPIO2 J1 32 UART3_RTS UART3_RTS_B...

Page 13: ...HDMI_D0M J2 27 GND J2 28 HDMI_D1P J2 29 HDMI_D1M J2 30 GND J2 31 HDMI_D2P J2 32 HDMI_D2M J2 33 GND J2 34 UART4_TX ECSPI1_SCLK KEY_COL0 UART4_TX GPIO4_IO06 J2 35 UART4_RX ECSPI1_MOSI KEY_ROW0 UART4_RX...

Page 14: ...O6_IO01 J3 37 CSI0_DAT16 IPU1_CSI0_DATA16 UART4_RTS GPIO6_IO02 J3 38 CSI0_DAT17 IPU1_CSI0_DATA17 UART4_CTS GPIO6_IO03 J3 39 CSI0_DAT18 IPU1_CSI0_DATA18 UART5_RTS GPIO6_IO04 J3 40 CSI0_DAT19 IPU1_CSI0_...

Page 15: ...P0_DEN IPU1_DI0_PIN15 IPU2_DI0_PIN15 AUD6_TXC GPIO4_IO17 J3 67 DISP0_CNTRST IPU1_DI0_PIN04 IPU2_DI0_PIN04 AUD6_RXD SD1_WP GPIO4_IO20 J3 68 DISP0_VSYNCH IPU1_DI0_PIN03 IPU2_DI0_PIN03 AUD6_TXFS GPIO4_IO...

Page 16: ...ual 16 9 ORC Connector Pin Assigment 12V DCIN USBx2 Ethernet MicroSD Micro USB RS 232x2 handset HDMI SATA 5V out CAN Bus SDIO MIPI CSI Ext I2C GPIO LVDS1 LVDS0 Mini PCie Micro SIM Speaker CSI PWR KEY...

Page 17: ...User Manual 17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20...

Page 18: ...t Support SDHC SDXC 5 Micro USB type AB USB OTG function 6 DB9x2 COM A Function Name COM B Function Name 1 N C 1 N C 2 RS 232 RX UART1 2 RS 232 RX UART3 3 RS 232 TX UART1 3 RS 232 TX UART3 4 N C 4 N C...

Page 19: ...tion up to 1920 1080 setup by FW 9 SATA 10 5V Power supply for SATA CSI 4201 031B 1 GND 2 5V 3 GND 11 CAN Bus terminal block TYO235 045G 1 5V 2 CANH 3 CANL 4 GND J28 for CAN 100ohm terminal resistor 2...

Page 20: ...D0P 6 N C 7 CSI_CLK0M 8 N C 9 CSI_CLK0P 10 GND 11 CSI_D1M 12 XCLK 13 CSI_D1P 14 DOVDD 3 3V 15 DVDD 1 5V 16 N C 17 PWDN GPIO_4 18 N C 19 RESET GPIO_3 20 SIOC I2C3_SCL 21 AVDD 2 8V 22 SIOD I2C3_SDA 23 G...

Page 21: ...PWM4 15 LVDS1 CSI 1171 402R J4 PIN Signal Name PIN Signal Name 1 LCD1_3V3 2 LCD1_3V3 3 LCD1_3V3 4 LCD1_3V3 5 LCD1_3V3 6 LCD1_3V3 7 GPIO_1 LVDS EN 8 PWM2 9 GND 10 GND 11 GND 12 LCD1_PWR 12V 13 GND 14...

Page 22: ...12V 21 GND 22 GND 23 LVDS0_TX0_N 24 N C 25 LVDS0_TX0_P 26 N C 27 GND 28 GND 29 LVDS0_TX1_N 30 LVDS0_TX3_N 31 LVDS0_TX1_P 32 LVDS0_TX3_P 33 GND 34 GND 35 LVDS0_TX2_N 36 LVDS0_CLK_N 37 LVDS0_TX2_P 38 LV...

Page 23: ...16 CSI0_HSYNCH 17 PWDN GPIO4_IO24 18 CSI0_VSYNCH 19 RESET GPIO4_IO25 20 SIOC I2C3_SCL 21 AVDD 2 8V 22 SIOD I2C3_SDA 23 GND 24 N C 19 USB Host 2 54mm Pinhead 1x5 J20 PIN Signal Name 1 5V 2 D 3 D 4 GND...

Page 24: ...User Manual 24 Step1 Open Android Developer options Quick click on this item until the show developer options 10 Install Android ADB Driver...

Page 25: ...User Manual 25 Step2 Open USB debuging Step3 Allow adb Authenticate When connected device to PC will show this window check and confirm...

Page 26: ...er Manual 26 Step4 Download Android SDK Please download Android SDK from this web site http developer android com sdk index html Click here accept this Need fit your windows version Start download fil...

Page 27: ...oid SDK Unzip the file to C IN you Folder has file SDK Manager exe run it If can t open this SW please check your computer has Java runtime Select Android SDK Platform tools Android Support Library Go...

Page 28: ...User Manual 28 Click Accept License Click Install...

Page 29: ...ws x86_64 20131030 sdk extras google usb_driver Other Device This device is EcoPlus Android ADB install driver to here ADB Driver install OK Step6 Run ADB tool The ADB in this folder C adt bundle wind...

Page 30: ...also shipped in the tools directory of the SDK DDMS works with both the emulator and a connected device If both are connected and running simultaneously DDMS defaults to the emulator From Eclipse Cli...

Page 31: ...affic from any debugging port and forward it to the debugger on port 8700 This allows you to attach one debugger to port 8700 and debug all the VMs on a device The traffic that is forwarded is determi...

Page 32: ...sage for a process In the Devices tab select the process that you want to see the heap information for Click the Update Heap button to enable heap information for the process In the Heap tab click Cau...

Page 33: ...s In the Devices tab select the process that you want to examine the threads for Click the Update Threads button In the Threads tab you can view the thread information for the selected process Startin...

Page 34: ...hown in a stack area chart in DDMS as shown in figure 2 Figure 2 Network Usage tab By monitoring the frequency of your data transfers and the amount of data transferred during each connection you can...

Page 35: ...work request using HttpClient execute finally TrafficStats clearThreadStatsTag Socket tagging is supported in Android 4 0 but real time stats will only be displayed on devices running Android 4 0 3 or...

Page 36: ...his is useful when you want to to test your application s robustness in responding to incoming calls and messages that are sent to the phone The following actions are available to you Voice Enter a nu...

Page 37: ...Number Rev Date Sheet OF B0 A Wednesday March 25 2015 Cover Page Doc 1 10 SOMB EV1 Title Size Document Number Rev Date Sheet OF B0 A Wednesday March 25 2015 Cover Page Doc 1 10 SOMB EV1 Title Size Doc...

Page 38: ...D 7 D 8 E 9 R110 10K R110 10K U12 XR75100ELTR F U12 XR75100ELTR F BST 5 ILIM 6 EN 7 TON 8 SS 9 PGOOD 10 FB 11 AGND 12 AGND 13 VIN 14 VCC 15 PGND 16 EXPAD 17 GL 1 NC 2 SW 3 GH 4 R101 4 7K R101 4 7K R2...

Page 39: ...I2_CS1 10 UART1_RTS 5 UART1_CTS 5 PCIE_DIS_B 7 Mic_IN1L 6 Mic_IN1R 6 SD3_CD_B 5 DISP0_DAT1 9 DISP0_DAT2 9 DISP0_DAT6 10 DISP0_DAT0 9 DISP0_DAT3 9 DISP0_DAT4 9 DISP0_DAT7 10 DISP0_DAT8 10 Aud_lineR 6 A...

Page 40: ...1Y L13 PBY201209T 601Y M24B NTZD3154N D M24B NTZD3154N D 5 4 3 TP58 TP58 TP52 TP52 L38 PBY201209T 601Y L38 PBY201209T 601Y C201 10uF C201 10uF J5 HDMI KRPS00 A30N2A L NC J5 HDMI KRPS00 A30N2A L NC TMD...

Page 41: ...3 PWM4 3 PMIC_GPIO2 3 Title Size Document Number Rev Date Sheet OF B0 A Wednesday March 25 2015 Other I O Doc 10 10 SOMB EV1 Title Size Document Number Rev Date Sheet OF B0 A Wednesday March 25 2015...

Page 42: ...M CAN Bus SD Card Doc 5 10 SOMB EV1 J9 TYO235 045G J9 TYO235 045G 1 2 3 4 U519 SN65HVD234DR U519 SN65HVD234DR RS 8 D 1 EN 5 R 4 GND 2 VCC 3 CANL 6 CANH 7 TP124 TP124 C20 100nF C20 100nF R65 10K R65 10...

Page 43: ...C90 1nF C90 1nF R155 0R R155 0R C61 100nF C61 100nF AP1117E33 STO 223 U5 FR1117 ADJ AP1117E33 STO 223 U5 FR1117 ADJ VIN 3 ADJ 1 VOUT 2 VOUT 4 C86 1nF C86 1nF L32 LCB1005K 301T10 L32 LCB1005K 301T10 R...

Page 44: ...012K 102T10 L39 LCB2012K 102T10 TP159 TP159 TP172 TP172 CON1 CON 6P SIM CARD CON1 CON 6P SIM CARD VCC 1 RESET 2 CLK 3 GND 4 VPP 5 I O 6 Dec1 7 Dec2 8 R88 49 9R_1 R88 49 9R_1 C738 220nF 6 3V C738 220nF...

Page 45: ...47 100nF C747 100nF D58 PDW5R00R3 D58 PDW5R00R3 C80 33pF C80 33pF D5 MLVG04021R0UV18BP D5 MLVG04021R0UV18BP C55 100nF C55 100nF L27 LCB1005K 301T10 L27 LCB1005K 301T10 R82 0R R82 0R D28 MLVG04021R0UV1...

Page 46: ...I0_HSYNCH 3 CSI0_PIXCLK 3 I2C3_SCL 10 3 4 6 7 I2C3_SDA 10 3 4 6 7 DISP0_DAT3 3 DISP0_DAT4 3 Title Size Document Number Rev Date Sheet OF B0 A Wednesday March 25 2015 Mobile Wifi BT P CAM Doc 9 10 SOMB...

Page 47: ...tute a license from Poslab to use such products or services or a warranty or endorsement thereof Use of such information may require a license from a third party under the patents or other intellectua...

Page 48: ...applications or environments unless the specific Poslab products are designated by Poslab as compliant with ISO TS 16949 requirements Buyers acknowledge and agree that if they use any non designated...

Reviews: