
16 GR-LEON4-ITX Development Board
Quick Start Guide
GRMON LEON debug monitor v1.1.39 professional version
… output removed ….
Use command 'info sys' to print a detailed report of attached cores
Download application to RAM:
grlib> load hello
section: .text at 0x40000000, size 39584 bytes
section: .data at 0x40009aa0, size 2764 bytes
total size: 42348 bytes (70.4 Mbit/s)
read 201 symbols
entry point: 0x40000000
Run the application that was just downloaded:
grlib> run
Hello world
Program exited normally.
grlib>
After this the application can be downloaded and run again. Please also try commands such
as inst or hist after running an application and refer to the GRMON User's Manual for their
meaning.
4.3 Initializing the DVI transmitter
The DVI transmitter on the board must be initialized before it can pass video data from the
LEON4-ASIC-DEMO device to a monitor. There are several GRMON commands tailored for
initializing the DVI transmitter with values suitable for the GR-LEON4-ITX board.
Command Description
i2c 3 dvi init l4itx_dvi Initialize the DVI transmitter for IDF 2 input data (16-bit color depth) and
monitor connected via digital DVI.
i2c 3 dvi init l4itx_vga Initialize the DVI transmitter for IDF 2 input data (16-bit color depth) and
monitor connected via analog interface (or DVI-to-VGA adapter).
i2c 3 dvi init l4itx_dvi 0 Initialize the DVI transmitter for IDF 0 input data (24-bit color depth) and
monitor connected via digital DVI.
i2c 3 dvi init l4itx_vga 0 Initialize the DVI transmitter for IDF 0 input data (24-bit color depth) and
monitor connected via analog interface (or DVI-to-VGA adapter).
Table 4-1: GRMON DVI transmitter initialization
The transcript below shows the GRMON output:
grlib> i2c 3 dvi init_l4itx_dvi
Transmitter was not set to Chrontel CH7301C (AS=0), changing..
DVI transmitter set to Chrontel CH7301C (AS=0)
Initializing CH7301 for LEON/GRLIB design..
Initialization done..
grlib>
After initializing the transmitter, the command i2c 3 dvi showreg will show the values of the
DVI transmitter's registers.
© Aeroflex Gaisler AB June 2010, Rev. 0.2