GSG: OMAP35x DVEVM Hardware Setup
From Texas Instruments Wiki
This page tells you how to set up the EVM hardware.
The board view for up to and including OMAP3 EVM main board Rev D is as shown below.
Main Board SW4
The main board’s SW4 DIP switch controls the boot mode of OMAP3 processor. The default setting shown above will try to boot from UART3. If no response is seen in a short time (< 1 S) the processor will attempt to boot from the attached flash memory.
Consult the Hardware User’s Guide for details and for other settings.
Please ensure to match the numbers in the diagram to the numbers on the DIP switch as the orientation of the switch may not be what you expect. It is not guaranteed that the switch settings below would work for all the EVM boards. For more information on the switch settings for selecting the boot modes, refer to the user guide in the OMAP3503 SDK installation under /home/<useracct>/OMAP35x-PSP-SDK-##.##.##.##/docs folder.
Note: Switch OFF == logic 1 and Switch ON == logic 0.
Processor Module SW1
The DIP switch on the processor module controls various signal routing choices. Please be sure it matches the above diagram for normal operation. SW1 must be configured differently to use a JTAG emulator with the EVM. Consult the Hardware User’s Guide for more detail.The DIP switch on the processor module controls various signal routing choices. Please be sure it matches the above diagram for normal operation. SW1 must be configured differently to use a JTAG emulator with the EVM. Consult the Hardware User’s Guide for more detail.
Jumper J8 controls which OMAP UART is connected to the UART1/2 board connector. Make sure it selects UART1 as shown. All other jumpers on the board are normally unpopulated.
Connect the supplied serial cable to the UART-1/2 DB-9 connector. The other end of the serial port should be connected to a PC. The PC should run a terminal emulator such as HyperTerm or TeraTerm for Windows or minicom or gtkterm for Linux. The terminal program should be set for 115200 Baud rate, 8 data bits, no parity, and all flow control off.
During boot and while the demo application is running, status messages will appear on the serial port connection.
Connect an Ethernet cable to the RJ-45 jack on the board. It is suggested that initially the Ethernet be used on a closed private network with static IP addresses assigned. DHCP can be used once the setup is complete. The Ethernet connection is not used during the demo but is used for TFTP transfers of software and can be used for Telnet and NFS.
P9 can be connected to powered PC style speakers or to headphones (not supplied).
Although the demo will run without audio connections, they are used during the audio playback portion of the demo.
P11 can be connected to an audio source such as the line out jack of a PC sound card or the headphone jack of an MP3 player.
As with the audio out, the demo will function without this connection.
Power Selection Switch
SW2 on the Main board selects between battery and DC power in. The DVEVM comes with a DC power source that should be used. This switch should be set so the switch body is closer to the DC label on the board.
Note: This switch is not intended to be a power switch. It should be set to DC and left in that position. An external switch can be used to control the AC input to the power adapter if an adapter is desired.
After all other steps are performed, ensure the power adapter is unplugged and then insert the adapter’s DC plug into P19. Finally the power adapter can be plugged into the AC wall source.
Setup Terminal Program
A serial port terminal program should be used to communicate with the OMAP35x EVM board’s serial port console. For Windows users HyperTerm or TeraTerm are recommended. For Linux users Minicom is recommended. In any case, the serial modem settings are the same:
- Bits per second: 115200
- Data bits: 8
- Parity: None
- Stop bits: 1
- Flow control: none
Once the settings are in place, connect to the board using the serial terminal program and power up the board by plugging in the AC adapter. The U-Boot start up screen will appear. If not interrupted, the EVM will continue to boot into a Linux command prompt. To send text file scripts to the EVM a per-line delay of approximately 100 ms must be configured into the terminal program. The following sections give specific setup guidance for three serial terminal programs.
- HyperTerm Setup HyperTerminal comes with Windows XP and can be found in Start Menu -> All Programs -> Accessories -> Communication -> HyperTerminal. After initial dialogs, create a new connection and select the appropriate COMn port. The next dialog will allow you to set the communication parameters as described above. Finally set the line delay by choosing File -> Properties -> Setting Tab -> ASCII Setup button -> and enter 100 in the Line Delay box. Press OK.
- TeraTerm Setup TeraTerm is a commonly used terminal emulator for Windows. It can be found at the following URL: http://hp.vector.co.jp/authors/VA002416/teraterm.html When you start TeraTerm it will normally ask you for TCP or COM port. Select the correct COM port. Serial port settings can be found in Setup -> Serial Port …. Set the serial port as described above and enter 100 in the msec/line entry. You can save your settings using Setup -> Save Settings …. If you save to the teraterm.ini file in the TeraTerm install directory you will set the startup options for the program.
- Minicom Setup
In order to run minicom as a regular user, make sure the user is in the proper group, allowed to create lock files in /var/lock (the default location), which is usually the "uucp" or "dialup" group.
To create a new configuration for the serial port, run minicom as follows under root:
# minicom -c on -s
Command line options used above enable color (-c on) and start the setup procedure (-s).
From the setup menu configure the serial port name and parameters - "Serial port setup" -> "A" for the "Serial Device" (/dev/ttyS0 or /dev/ttyS1) and "E" for the "Bps/Par/Bits" setup, which is "115200 8N1" by default.
You may want to remove the Init (A) and Reset (B) modem strings under "Modem and dialing" menu.
Once ready, save the configuration either into default location (Save setup as dfl) or otherwise into a separate name (Save setup as...), in which case you will have to specify the non-default configuration every time you start minicom.
Now, you can start minicom as a regular user:
$ minicom -c on
And with the non-default configuration, assuming you saved it under "ttyS0" name:
$ minicom -c on ttyS0
In order to send multi-line scripts to the target, set the "Newline delay (ms)" under "Terminal settings" (Alt+T) to 99. This step must be completed each time before sending a multi-line text file.
EVM Modifications for DVI-D output
The following hardware modification on the OMAP35x EVM is required to be done for external LCD interfacing with the OMAP35x EVM via the DVI-D interface.
Replace the resistor R18 on the OMAP35x EVM main board with the value 510 Ohm.