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

Subversion Repositories or1200_soc

[/] [or1200_soc/] [trunk/] [sw/] [scripts/] [test_gpio.txt] - Rev 2

Compare with Previous | Blame | View Log

md 0x60000000 0xa


# write OE regs for leds
mw 0x60000014 0x0000ff00
mw 0x60000008 0x0000ff00
mw 0x60000008 0x00008000

# write to leds
mw 0x60000014 0x00000000
mw 0x60000004 0x0000ff00
mw 0x60000004 0x00000000
mw 0x60000004 0x00001100
mw 0x60000004 0x00002200
mw 0x60000004 0x00004400
mw 0x60000004 0x00008800


mw 0x60000008 0x00000000


mw 0x61000008 0xffffffff
mw 0x61000004 0x00000001
mw 0x61000004 0xffffffff
mw 0x61000004 0x00000000

md 0x61000000 0xa

mw 0x61000014 0xffffffff
mw 0x61000014 0x00000000


mw 0x64000008 0xffffffff
mw 0x64000004 0x00000001
mw 0x64000004 0xffffffff
mw 0x64000004 0x00000000

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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