View Single Post
Old 05-01-2010, 20:23   #28
joeyg
Junior Member
 
Join Date: Apr 2010
Posts: 13
Default

There is no public datasheet for the TCC7901 proc, but here is the relevant info on SDCFG:

32 bits
Code:
+-31---30---29---28---27---26---25---24---23---22---21---20---19---18---17---16-+
| CL | BW | CW      | RC                | RCD               | WR      |  0 |  0 |
+-15---14---13---12---11---10---09---08---07---06---05---04---03---02---01---00-+
| RP                | RW      |  0 |  0 |  0 |  0 |  0 |  0 | AM |  0 | PPD| SR |
+-------------------------------------------------------------------------------+
Where the fields are:
CL CAS latency (0 = 2 cycles, 1 = 3 cycles)
BW Bus width (0 = 32-bit, 1, = 16-biT)
CW CAS address width (0, 1 = 8-bit, 2 = 9-bit, 3 = 10-bit)
RC Refresh-to-idle cycle parameter
RCD Refresh-to-CAS cycle parameter
WR Write-to-read cycle parameter
RP Precharge-to-refresh cycle parameter
RW RAS address width (0 = 12 bits, 1 = 11 bits, 2 = 13 bits)
AM Address matching order (0 = BANK-RAS-CAS, 1 = RAS-BANK-CAS)
PPD Precharge power-down enabled
SR Self-refresh enabled

I'm not sure what all those mean, but bits 0-3 are zero for every existing configuration in tcctool.c, for example, so I think we should leave those alone.

Also, I think that the "cycle parameter" fields are cycle counts, where 1 cycle at 500Mhz is 20ns.

Edit:
I did it! I unbricked my S9 with the SDCFG 0xa1102800:
Code:
    {"cowons9",  "Cowon S9",                     0xb057, 0x20000000, 0xa1102800 },
Good luck to you.

Last edited by joeyg; 05-01-2010 at 21:05..
joeyg is offline View joeyg's Photo Album   Reply With Quote
Thanks from: