
94
DesignWare ARC AXC003 CPU Card User Guide
Bare-Metal Package
Synopsys, Inc.
Version 6323-018
May 2017
9. Execute the program by clicking run button in the debugger.
10. Observe the output in the console, which should be similar to the screenshot shown
in Figure 52:
HyperTerminal Output
Storing an Image in the SPI Flash and Running the Application
The steps below explain the process of storing an image for the SPI Flash and running the
application. This is done using the application
hello_uart
and the ARC HS36 core as an
example. If you wish to use another core, modify the instructions marked with yellow
highlighting.
Only images without HOSTLINK should be programmed in the SPI Flash.
1. After building the image, use the
axs_comm.exe
tool to store the image in the SPI-
flash. First, it erases sectors 0 and 1 in section 0 of the SPI flash and then programs
the image starting at sector 0. To program the
hello_uart
example for the ARC
HS36 core navigate to the
/software/baremetal/apps/hello_uart/
folder
and use the following command:
axs_comm -c 0553 -a 00000000 -p 80000000 -f
hello_uart_axs103_archs36.bin
The parameters used here have the following meanings:
0553
ARC ID of the ARC HS36 processor
80000000
Program
is
built
for
DDR3
SDRAM
@
0x8000_0000
s so the pre-bootloader stores the
image at this address.
hello_uart_axs103_
Selected BIN file (result of build flow)