
26
ML40x Getting Started Tutorial
UG083 (v5.0) June 30, 2006
ML40x Demonstrations in System ACE CF
R
My Own ACE File
Location
System ACE configuration address 6.
From the Bootloader menu, select option
6
to start the demonstration of the
My own ACE
file
program.
Description
This program is a placeholder design to be replaced by a user design.
Setup
Take a bitstream and make your own ACE file:
1.
Open a DOS command shell. Click
Start Menu
→
Run
, then enter
cmd
as the program
to run, and click
OK
.
2.
Change directory to your lab directory. Type
cd <
LAB_DIR
>
.
In this directory, there is a bitstream called
ml40x_char_lcd_hw.bit
. This program
displays the text ML40
x
on the character LCD.
3.
Convert this bitstream to an ACE file.
Type:
ml40x_bit2ace ml40x_char_lcd_hw.bit ml40x_char_lcd_hw.ace
This creates the
ml40x_char_lcd_hw.ace
file.
4.
Carefully remove the System ACE CF card from the ML40
x
board (preferably with the
power off). Open the CF card on your PC. This requires either a PC card adapter or a
USB CompactFlash reader (not included with ML40
x
board, but available at PC
stores).
5.
Copy
ml40x_char_lcd_hw.ace
to the CF card into the
ml40x/myace
directory.
6.
In the
ml40x/myace
directory on the CF card, rename
system_my_ace.ace
to
system_my_ace.bak
. This ensures that there is only one ACE file in this directory.
Note:
On ML402, there might be insufficient space on the CF card to keep the old ACE file. It
might need to be backed up outside the CF card.
7.
Eject the CF card from your PC (right-click on the CF card in Windows Explorer and
click
Eject
). This shuts down the CF card to prevent data corruption. Carefully reinsert
the CF card into the ML40
x
board (preferably with the power off).
8.
Turn the power back on, if necessary, and press the System ACE RST button to restart
the Bootloader. Select option 6 to start the
My own ACE file
program. You should now
see
ML40
x
displayed on the character LCD.