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

Subversion Repositories or1200_soc

[/] [or1200_soc/] [trunk/] [sw/] [scripts/] [ecos_test_gpio.txt] - Blame information for rev 25

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 qaztronic
 
2
dump -b 0x60000000 -4 -l 0x30
3
iopeek -b 0x60000014 -4
4
 
5
 
6
# write OE regs for leds
7
iopoke -b 0x60000014 -4 -v 0xffffffff
8
iopoke -b 0x60000008 -4 -v 0xffffffff
9
 
10
# write to leds
11
iopoke -b 0x60000014 -4 -v 0x00000000
12
iopoke -b 0x60000004 -4 -v 0xffffffff
13
iopoke -b 0x60000004 -4 -v 0x00000000
14
 
15
 
16
 
17
 

powered by: WebSVN 2.1.0

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