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

Subversion Repositories wb_async_mem_bridge

[/] [wb_async_mem_bridge/] [trunk/] [sw/] [scripts/] [lpc-l2294_test.txt] - Rev 2

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


# enable cs3
iopoke -b 0xE002C014 -4 -v 0x0f814924

# configure BCFG3
iopoke -b 0xFFE0000C -4 -v 0x20007de7
iopeek -b 0xFFE0000C -4


# read & write to FPGA

iopoke -b 0x83000000 -4 -v 0xabbabeef
iopeek -b 0x83000000 -4 

iopeek -b 0x83000000 -1
iopeek -b 0x83000001 -1
iopeek -b 0x83000002 -1
iopeek -b 0x83000003 -1

iopoke -b 0x83000000 -1 -v 0x01
iopoke -b 0x83000000 -1 -v 0x02
iopoke -b 0x83000000 -1 -v 0x04
iopoke -b 0x83000000 -1 -v 0x08
iopoke -b 0x83000000 -1 -v 0x10
iopoke -b 0x83000000 -1 -v 0x20
iopoke -b 0x83000000 -1 -v 0x40
iopoke -b 0x83000000 -1 -v 0x80

iopoke -b 0x83000001 -1 -v 0x01

iopoke -b 0x83000002 -1 -v 0x01

iopoke -b 0x83000003 -1 -v 0x01

iopoke -b 0x83000000 -1 -v 0x01
iopoke -b 0x83000001 -1 -v 0x02
iopoke -b 0x83000002 -1 -v 0x04
iopoke -b 0x83000003 -1 -v 0x08
iopoke -b 0x83000004 -1 -v 0x10
iopoke -b 0x83000005 -1 -v 0x20
iopoke -b 0x83000006 -1 -v 0x40
iopoke -b 0x83000007 -1 -v 0x80

iopoke -b 0x83000008 -4 -v 0xabbabeef
iopoke -b 0x8300000c -4 -v 0xffffffff
iopoke -b 0x83000010 -4 -v 0x00ffffff
iopoke -b 0x83000014 -4 -v 0xff00ffff
iopoke -b 0x83000018 -4 -v 0xffff00ff
iopoke -b 0x8300001c -4 -v 0xffffff00

dump -b 0x83000000 -4

iopeek -b 0x83000014 -4 

Go to most recent revision | 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.