DiskOnChip — различия между версиями

Материал из G900
Перейти к: навигация, поиск
(Новая страница: «---- ==DoC G4_1 registers== ---- {| border="2" cellpadding="5" cellspacing="0" |- style="background:#3F3019;color:#face00;" ! offset ! length ! documented ! rea...»)
 
(DoC G4_2 registers)
Строка 160: Строка 160:
 
|}
 
|}
 
----
 
----
 +
== ссылки  ==
 +
регистры и описание http://forum.xda-developers.com/wiki/index.php?title=HTC_DiskOnChip

Версия 06:34, 12 сентября 2010


DoC G4_1 registers


offset length documented read/write Description
+0000 0x800 * RW .text
+0800 0x800 * RW data window
+1000 short * RO chipid_00x400
+1004 byte * RW test
+1008 short * RW endian control
+100a byte * RW device id select
+100c byte * RW DoC control
+100e byte * RW configuration
+1010 short * RW interrupt control
+1014 byte * RW output control
+101a short * RW read address
+101c short * RW multiburst mode control
+101e byte - W 0x0
+1020 byte * RW interrupt status
+1022 byte - W+
+1032 byte - W FlashSelect : 0xe, 0x12, 0x0, 0x9, (0x31,0x1d, 0x27-erase)
+1034 byte - W FlashCmd : 0x30, 0x5, 0xe0, 0x60, 0x22, (0x3c, 0xa2, 0x50, 0xff, 0x71, 0x80, 0x11,0xd0-erase)
+1036 byte - W FlashAddr
+1038 byte - RW FlashCtrl: w 0x39, r &0x6
+103a short - R read data from flash
+103e short * W NOP (write here causes a delay)
+1040 short - (R)W 0x8a0f
+1042 byte - R tst 0x80 (tst 0x20 -hamm)
+1044 byte - W+ 0
+1046 byte - R+ hamm
+1056 byte - RW+ (orr 0x8)
+105c byte - W+
+106c byte - R+
+1072 byte * RW DoC control confirmation
+1074 short * RO chipid_1 (G30xfdff(200), G4=0xfbff(400))
+1076 byte - R+ (orr 0x80, 0xc3)
+1078 short * RW dma control 0
+107a short * RW dma control 1
+107c byte * RW DPD

DoC G4_2 registers


offset length documented read/write Description
+0000 0x800 * RW .text
+0800 0x800 * RW data window
+201000 short * RO chipid_00x400
+201004 byte * RW test
+201008 short * RW endian control
+20100a byte * RW device id select
+20100c byte * RW DoC control
+20100e byte * RW configuration
+201010 short * RW interrupt control
+201014 byte * RW output control
+20101a short * RW read address
+20101c short * RW multiburst mode control
+20101e byte - W 0x0
+201020 byte * RW interrupt status
+201022 byte - W+
+201032 byte - W FlashSelect : 0xe, 0x12, 0x0, 0x9, (0x31,0x1d, 0x27-erase)
+201034 byte - W FlashCmd : 0x30, 0x5, 0xe0, 0x60, 0x22, (0x3c, 0xa2, 0x50, 0xff, 0x71, 0x80, 0x11,0xd0-erase)
+201036 byte - W FlashAddr
+201038 byte - RW FlashCtrl: w 0x19, r 0x6
+20103c short - R  ?
+20103e byte * W NOP (write here causes a delay)
+201040 short - (R)W 0x920f
+201042 byte - R tst 0x80 (tst 0x20 -hamm)
+201044 byte - W+ 0
+201046 byte - R+ hamm
+201050 short - R  ? 3c related
+201056 byte - RW+ (orr 0x8)
+20105c byte - W+
+20106c byte - R+
+201072 byte * RW DoC control confirmation
+201074 short * RO chipid_1 (G30xfdff(200), G4=0xfbff(400))
+201076 byte - R+ (orr 0x80, 0xc3)
+201078 short * RW dma control 0
+20107a short * RW dma control 1
+20107c byte * RW DPD

ссылки

регистры и описание http://forum.xda-developers.com/wiki/index.php?title=HTC_DiskOnChip