
ML505/ML506/ML507 Getting Started Tutorial
23
UG348 (v3.0.2) October 9, 2008
ML50x 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
button_led_test_hw.bit
. This
program tests the GPIO DIP switches and pushbuttons.
3.
Convert this bitstream to an ACE file. On one line, type:
xmd -tcl ./genace.tcl -jprog -hw button_led_test_hw.bit -board
ml505 -ace my_button_led_test_hw.ace
This creates the
my_button_led_test_hw.ace
file. The System ACE File
Generator (GenACE) chapter in the
Embedded System Tools Reference Manual
contains
details on how to create ACE files.
4.
Carefully remove the System ACE CF card from the ML50
x
board (preferably with the
power off). Open the CF card on your computer. This requires either a PC card adapter
or a USB CompactFlash reader (not included with ML50
x
board, but available at
computer stores).
5.
Copy
my_button_led_test_hw.ace
to the CF card into the
ML50X/cfg6
directory.
6.
In the
ML50X/cfg6
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.
7.
Eject the CF card from your computer (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 ML50
x
board (preferably with the power off).
8.
Turn the power back on, if necessary, and press the SYSACE RESET button to restart
the Bootloader. Select Option 6 to start the
My own ACE file
program. In this design,
flipping a GPIO DIP switch or pressing a GPIO button will light a corresponding LED.
www.BDTIC.com/XILINX