FAQs (Diva)

From DAVE Developer's Wiki
Jump to: navigation, search

WorkInProgress.gif

Info Box
Diva-am335x-overview.png Applies to Diva

Introduction

This page collects all the Frequently Asked Question regarding Diva

General

Q: Where can I found Diva SOM information?

A: please refer to the following table:

Resource Description
Diva category page This page lists all the wiki pages regarding the Diva CPU module
Diva SOM This page reports Diva SOM specification and basic information
Diva Hardware Manual This page points to the Diva Hardware Manual
Diva Software Manual This page points to the Diva Software Manual
Diva product page This is Diva web page on DAVE Embedded Systems website

System design

Q: Can you suggest some guidelines for the carrier board design?

A: As a starting point, you can refer to the Wiki page dedicated to the Carrier_board_design_guidelines_(SOM), that will highlight some best practices that applies to all SOMs. For specific information on Diva, please refer to the Diva Integration Guide Integration_guide_(Diva)

Q: Where can I found information regarding the PRUs?

A: the Programmable Real-Time Unit and Industrial Communication Subsystem (PRU-ICSS) consists of dual 32-bit RISC cores (Programmable Real-Time Units, or PRUs), memories, interrupt controller, and internal peripherals that enable additional peripheral interfaces and protocols. The programmable nature of the PRUs, along with their access to pins and events, provide flexibility in implementing custom peripheral interfaces, fast real-time responses, power saving techniques, specialized data handling and DMA operations, and in offloading tasks from the other processor cores of the system-on-chip (SoC). For detailed information, please refer to the following pages:

Using DIVELK

Q: I've received the DIVELK package. How am I supposed to start working with it?

A: You can follow the steps listed below:

  1. Check the kit contents with the packing list included in the box
  2. Insert the SD into the card slot on the carrier board
  3. Connect the power supply adapter and the serial cable as described in Section 3.2
  4. Start your terminal emulator program
  5. Switch on the power supply
  6. Monitor the boot process on the serial console
  7. Install the DVDK virtual machine image (Section 3.4)
  8. Check the virtual machine components (please refer to Section 4.4)

Q: How can I update the DIVELK version?

A: please refer to the following page on the DAVE Embedded Systems Developer's Wiki: DIVELK updates

Q: How can I reduce the clock frequency and RAM amount to evaluate the performances of the low-end versions of the Diva SoM?

A: please refer to the following page on the DAVE Embedded Systems Developer's Wiki: Frequency scaling and Forcing the kernel to use a limited amount of RAM

Q: How can I work with the XYZ peripheral/interface?

A: please refer to the following page: http://processors.wiki.ti.com/index.php/AM335x_PSP_User%27s_Guide#Various_Module_User.27s_Guide

Q: I need the QT libraries for my application. Does the DIVELK contains the QT libraries? Are there demos and examples (with included source code)?

A: the root file system provided with the DIVELK (/home/dvdk/divelk/rfs/tisdk on the DVDK virtual machine) contains a pre-built version (4.8.0) of the QT libraries:

dvdk@dvdk-vm:~/divelk/rfs/tisdk/usr/lib$ ll libQ*
....
....
lrwxrwxrwx 1 root root       19 Dec 17  2012 libQtCoreE.so.4 -> libQtCoreE.so.4.8.0*
lrwxrwxrwx 1 root root       19 Dec 17  2012 libQtCoreE.so.4.8 -> libQtCoreE.so.4.8.0*
-rwxr-xr-x 1 root root  3233396 Dec 16  2012 libQtCoreE.so.4.8.0*
lrwxrwxrwx 1 root root       19 Dec 17  2012 libQtDBusE.so.4 -> libQtDBusE.so.4.8.0*
lrwxrwxrwx 1 root root       19 Dec 17  2012 libQtDBusE.so.4.8 -> libQtDBusE.so.4.8.0*
-rwxr-xr-x 1 root root   497236 Dec 16  2012 libQtDBusE.so.4.8.0*
lrwxrwxrwx 1 root root       26 Dec 17  2012 libQtDeclarativeE.so.4 -> libQtDeclarativeE.so.4.8.0*
lrwxrwxrwx 1 root root       26 Dec 17  2012 libQtDeclarativeE.so.4.8 -> libQtDeclarativeE.so.4.8.0*
-rwxr-xr-x 1 root root  3850720 Dec 16  2012 libQtDeclarativeE.so.4.8.0*
lrwxrwxrwx 1 root root       33 Dec 17  2012 libQtDesignerComponentsE.so.4 -> libQtDesignerComponentsE.so.4.8.0*
lrwxrwxrwx 1 root root       33 Dec 17  2012 libQtDesignerComponentsE.so.4.8 -> libQtDesignerComponentsE.so.4.8.0*
-rwxr-xr-x 1 root root  3012324 Dec 16  2012 libQtDesignerComponentsE.so.4.8.0*
lrwxrwxrwx 1 root root       23 Dec 17  2012 libQtDesignerE.so.4 -> libQtDesignerE.so.4.8.0*
lrwxrwxrwx 1 root root       23 Dec 17  2012 libQtDesignerE.so.4.8 -> libQtDesignerE.so.4.8.0*
-rwxr-xr-x 1 root root  5246140 Dec 16  2012 libQtDesignerE.so.4.8.0*
lrwxrwxrwx 1 root root       18 Dec 17  2012 libQtGuiE.so.4 -> libQtGuiE.so.4.8.0*
lrwxrwxrwx 1 root root       18 Dec 17  2012 libQtGuiE.so.4.8 -> libQtGuiE.so.4.8.0*
-rwxr-xr-x 1 root root  9852452 Dec 16  2012 libQtGuiE.so.4.8.0*
lrwxrwxrwx 1 root root       19 Dec 17  2012 libQtHelpE.so.4 -> libQtHelpE.so.4.8.0*
lrwxrwxrwx 1 root root       19 Dec 17  2012 libQtHelpE.so.4.8 -> libQtHelpE.so.4.8.0*
-rwxr-xr-x 1 root root   523292 Dec 16  2012 libQtHelpE.so.4.8.0*
...
...
...
dvdk@dvdk-vm:~/divelk/rfs/tisdk/usr/lib

The root file system also provides a lot of pre-built demos and examples (with the related source code and project files), contained in the following directories:

  • /home/dvdk/divelk/rfs/tisdk/usr/bin/qtopia/demos
  • /home/dvdk/divelk/rfs/tisdk/usr/bin/qtopia/examples

The Matrix-Gui application (http://processors.wiki.ti.com/index.php/Matrix_Users_Guide) that launched automatically after DIVELK startup is based on QT and can directly show some demos (simply touching the QT icon). Moreover, additional examples can be launched, for example the "calculator" QML demo:

/etc/init.d/matrix-gui-2.0 stop
cd /usr/bin/qtopia/demos/declarative/calculator
./calculator -qws

For additional information, please refer to the following pages:

Q: How can I configure the Diva system to boot from network?

A: Booting from network is very helpful during the software development (both for kernel and applications). The kernel image is downloaded via TFTP while the root file system is remotely mounted via NFS from the host. It is assumed that the development host:

  • is connected with the target host board through an Ethernet LAN
  • exports the directory containing the root file system for the target through the NFS server
  • runs a TFTP server.
  • has a proper subnet IP address

For detailed information, please refer to Configuration net_nfs

Q: The system doesn't boot anymore. On the serial console I see just “CCCC” characters... Is there a recovery procedure?

A: "CCCC" characters are the output of the internal bootrom that tries to boot from UART. It's likely that the first stage bootloader is missing or corrupted. System recovery is possible using one of the following strategies: