Skip to content
Snippets Groups Projects
Commit 3b7ed793 authored by dam1n19's avatar dam1n19
Browse files

Updated ADP Flow so each test has own ADP command file

parent bdeb23da
No related branches found
No related tags found
1 merge request!1changed imem to rom to allow initial program loading, updated bootloader code...
Showing
with 3 additions and 85 deletions
......@@ -71,7 +71,7 @@ DMA_PRODUCT ?= DMA_230
# ADP command File
# Defaultly set to demo adp command file
DEFAULT_ADP_FILE = $(TESTCODES_DIR)/adp_demo/adp.cmd
DEFAULT_ADP_FILE = $(SIM_DIR)/adp.cmd
ADP_FILE ?= $(DEFAULT_ADP_FILE)
ADP_PATH := $(shell realpath $(ADP_FILE))
ADP_OPTIONS := -define ADP_FILE=\"$(ADP_PATH)\"
......@@ -387,6 +387,7 @@ endif
if [ -e $(TESTNAME).hex ] ; then \
mkdir -p $(SIM_DIR) ; \
cp $(TESTNAME).hex $(SIM_DIR)/image.hex ; \
cp adp.cmd $(SIM_DIR)/adp.cmd ; \
else \
while [ ! -e $(TESTNAME).hex ] ; do \
echo Wait for $(TESTNAME).hex file ...; \
......@@ -412,6 +413,7 @@ endif
if [ -e $(TESTNAME).hex ] ; then \
mkdir -p $(SIM_DIR) ; \
cp $(TESTNAME).hex $(SIM_DIR)/image.hex ; \
cp adp.cmd $(SIM_DIR)/adp.cmd ; \
else \
while [ ! -e $(TESTNAME).hex ] ; do \
echo Wait for $(TESTNAME).hex file ...; \
......
A
A 0
R
R
A
A
S 7e
A
a 1000000
r 10
a 20000000
r
r
a 30000000
r
r
a 40006000
r
r
r
r
A
a 0x80000000
a
w 0xb0
a
w 0xb1
a
w 0xb3b2
a
w 0xb7b6b5b4
a
a 0x80000000
a
r 0x8
a
a 0x80000000
a
r 0x004
a
a 0x80000000
a
r 0x000002
a
a 0x80000000
a
r
r
a
v 0xe5e5e5e5
a 80000000
f 4000
A
a 90000000
U 0x0f
0123456789ABCDE
A
A 0x90000000
R 5
A e0000000
w 1
r
A
A 0x10000000
R
m 0xf0000000
V 0x30000000
P 1fff
A
A 0x10000000
M
V
P 200
A
! illegal
C
C ff
C 200
C 201
 A
X
!
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment