OpenCores
URL https://opencores.org/ocsvn/de1_olpcl2294_system/de1_olpcl2294_system/trunk

Subversion Repositories de1_olpcl2294_system

[/] [de1_olpcl2294_system/] [trunk/] [sw/] [ecos/] [scripts/] [lpc-l2294_test.txt] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 qaztronic
 
2
# enable cs3
3
iopoke -b 0xE002C014 -4 -v 0x0f814924
4
 
5
# configure BCFG3
6
iopoke -b 0xFFE0000C -4 -v 0x20007de7
7
iopoke -b 0xFFE0000C -4 -v 0x2000ffff
8
iopeek -b 0xFFE0000C -4
9
 
10
 
11
# read & write to FPGA
12
 
13
iopoke -b 0x83000000 -4 -v 0xabbabeef
14
iopeek -b 0x83000000 -4
15
 
16
iopeek -b 0x83000000 -1
17
iopeek -b 0x83000001 -1
18
iopeek -b 0x83000002 -1
19
iopeek -b 0x83000003 -1
20
 
21
iopoke -b 0x83000000 -4 -v 0x00000001;iopeek -b 0x83000000 -4
22
iopoke -b 0x83000000 -4 -v 0x00000002;iopeek -b 0x83000000 -4
23
iopoke -b 0x83000000 -4 -v 0x00000004;iopeek -b 0x83000000 -4
24
iopoke -b 0x83000000 -4 -v 0x00000008;iopeek -b 0x83000000 -4
25
 
26
iopoke -b 0x83000000 -1 -v 0x04
27
iopoke -b 0x83000000 -1 -v 0x08
28
iopoke -b 0x83000000 -1 -v 0x10
29
iopoke -b 0x83000000 -1 -v 0x20
30
iopoke -b 0x83000000 -1 -v 0x40
31
iopoke -b 0x83000000 -1 -v 0x80
32
 
33
iopoke -b 0x83000001 -1 -v 0x01
34
 
35
iopoke -b 0x83000002 -1 -v 0x01
36
 
37
iopoke -b 0x83000003 -1 -v 0x01
38
 
39
iopoke -b 0x83000000 -1 -v 0x01
40
iopoke -b 0x83000001 -1 -v 0x02
41
iopoke -b 0x83000002 -1 -v 0x04
42
iopoke -b 0x83000003 -1 -v 0x08
43
iopoke -b 0x83000004 -1 -v 0x10
44
iopoke -b 0x83000005 -1 -v 0x20
45
iopoke -b 0x83000006 -1 -v 0x40
46
iopoke -b 0x83000007 -1 -v 0x80
47
 
48
iopoke -b 0x83000008 -4 -v 0xabbabeef
49
iopoke -b 0x8300000c -4 -v 0xffffffff
50
iopoke -b 0x83000010 -4 -v 0x00ffffff
51
iopoke -b 0x83000014 -4 -v 0xff00ffff
52
iopoke -b 0x83000018 -4 -v 0xffff00ff
53
iopoke -b 0x8300001c -4 -v 0xffffff00
54
 
55
dump -b 0x83000000 -4
56
 
57
iopeek -b 0x83000014 -4
58
 
59
iopoke -b 0x83000000 -4 -v 0xabbabeef;iopeek -b 0x83000000 -4
60
iopoke -b 0x83000000 -4 -v 0x55555555;iopeek -b 0x83000000 -4
61
iopoke -b 0x83000000 -4 -v 0xaaaaaaaa;iopeek -b 0x83000000 -4
62
 
63
memtest -b 0x83000000 -l 0x800
64
 
65
 
66
iopoke -b 0x83000000 -4 -v 0x00000001;iopeek -4 -b 0x83000000
67
iopoke -b 0x83000000 -4 -v 0x00000002;iopeek -4 -b 0x83000000
68
iopoke -b 0x83000000 -4 -v 0x00000004;iopeek -4 -b 0x83000000
69
iopoke -b 0x83000000 -4 -v 0x00000008;iopeek -4 -b 0x83000000
70
 
71
 
72
 
73
ip_address -l 192.168.1.100
74
ip_address -h 192.168.1.1
75
 
76
ping -h 192.168.1.1
77
 
78
 
79
#
80
# use redboot to load programs
81
load -m tftp  hello; go 0x81010040
82
load -m tftp  twothreads; go 0x81010040
83
load -m tftp  simple-alarm; go 0x81010040
84
 
85
load -m tftp  dbg_sh; go 0x81010040
86
 
87
load -m tftp  debug; go 0x81010040

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.