1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/elink/dv/test.memh
Andreas Olofsson 919a5fa5e8 Register map twiddles
-Fixed test to correspond to new map
2015-04-25 07:09:52 -04:00

44 lines
2.0 KiB
Plaintext

00000000_00000001_810e0000_0b //assert reset
00000000_00000001_810e0004_0b //clocks on full speed
00000000_00000111_810e0004_0b //clk/2
00000000_00000221_810e0004_0b //clk/4
00000000_00000331_810e0004_0b //clk/8
00000000_00000441_810e0004_0b //clk/16
00000000_00000551_810e0004_0b //clk/32
00000000_00000000_81000000_0b //dummy wait (to see repeating clock)
00000000_00000000_81000000_0b //dummy wait
00000000_00000661_810e0004_0b //clk/64
00000000_00000000_81000000_0b //dummy wait (to see repeating clock)
00000000_00000000_81000000_0b //dummy wait
00000000_00000000_81000000_0b //dummy wait
00000000_00000000_81000000_0b //dummy wait
00000000_00000000_81000000_0b //dummy wait
00000000_00000000_810e0004_0b //stop cclk
00000000_00000000_810e0000_0b //deassert reset
00000000_00000213_810e0004_0b //start cclk and lclk at max speed
00000000_00000001_810d0000_0b //enable tx
00000000_00000001_810c0000_0b //enable rx
00000000_00000555_810e0008_0b //writing to coreid
00000000_00000555_810e000c_0b //writing to version
BBBBBBBB_AAAAAAAA_820c0014_0f //write to mailbox
00000000_00000808_810cc040_0b //write to emmurx
00000000_00000810_810cc080_0b //write to emmurx
FFFFFFFF_12345678_808ABCDE_0b //write to epiphany
12345678_FFFFFFFF_808ABCDE_09 //read from epiphany
00000000_ABCD0001_80800004_0b //write to epiphany
00000000_ABCD0002_80800008_0b //write to epiphany
00000000_ABCD0003_8080000c_0b //write to epiphany
00000000_ABCD0004_80800010_0b //write to epiphany
00000000_ABCD0005_80800014_0b //write to epiphany
00000000_ABCD0006_80800018_0b //write to epiphany
00000000_ABCD0007_8080001c_0b //write to epiphany
11100000_00000000_810c0008_09 //read from datain register
22200000_00000000_810c0010_09 //read from embox
33300000_00000000_810c0014_09 //read from embox
44400000_00000000_810c0000_09 //read from emmurx
820B0000_DEADBEEF_80800010_09 //read from epiphany
820B0000_DEADBEEF_8080000c_09 //read from epiphany
820B0000_DEADBEEF_80800008_09 //read from epiphany
820B0000_DEADBEEF_80800004_09 //read from epiphany
820B0000_DEADBEEF_80800000_09 //read from epiphany