![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
s3 c49f9x solid disk controller inroduction 1 s3 c49f9x user?s manual ( compact flash controller) samsung electronics co.,ltd semiconductor lsi system division
s3 c49f9x solid disk controller inroduction 2 1 product overview samsung's s3 c49f9x is nand flash memory controller which can control flash m emories as solid state disk. it provides pc card ata/ide interface, host and flash transfer rates up to 20.0 mb/s. s3 c49f9x can control flash memory maximum 10 pieces if use the 32m,64m,128m,512mbit and can control flash memory maximum 8 pieces if use the 1gbit . the device is designed using 0. 35 - um cmos process, h o used in a 100 - tqfp package. it support s operation in both 5.0v and 3.3v. an outstanding feature of the s3 c49f9x flash disk controller is its cpu core: the arm7tdmi 16/32 - bit risc processor, desig ned by advanced risc m achine (arm), ltd. the arm core is a low - power, general purpose, microprocessor macro - cell that was developed for use in application - specific and customer - specific intergrated circuit. it i s simple, elegant, and fully static design is particularly suitable for cost and power sensitive application 1.1 features - p c card - ata/true ide/compactflash compatible host interface - automatic sensing of pc card ata and 68 - pin ide - included 256 - byte cis ram - five pc card ata addressing modes - host data transfer rate : 20mb/s - flash data transfer rate : 10mb/s - host interface : 8/16 - bit access - flash interface : 8 - bit access - support 3 power save mode : stop/idle/active - support up to 10 flash memories - support 32 /64/1 28 /256/512 mbit ,1g bit nand flash memory made by samsung nand flash density min. / max. capacity (number of flash) 32mb, 64mb, 128mb, 256mb, 512mb 4mb / 512mb (up to 10ea) 1gb 128mb/1gb (up to 8ea) - auto power down function - ecc function - available 100 - pin tqfp - opera ting voltage : 3.3v to 5.0v s3 c49f9x solid disk controller inroduction 3 microprocessor architecture - 16/32 - bit risc architecture - efficient and powerful arm7tdmi cpu core - cost - effective jtag based debug solution system manager - 512 - kbyte virtually addressable memory space - support 8 /16 - bit external bus for sram/rom - programmable external memory access time - included 32 - kbytes internal rom - included 8 - kbytes internal sram dma cont roller - two - channel, general - purpose dma controller - memory to memory, pcmcia to/from memory data transfers without cpu intervention - support for 8/16 - bit data transfers - increment or decrement of source or destination address programmable timer - 1 - channel 16 - bit programmable timer interrupts - 8 interrupt sources - normal or fast interrupt modes (irq, fiq) pc - card/ata interface - include 256 - bytes sram for cis - support memory and i/o addressing mode - support t rue ide mode - 1 - bit ecc operating voltage range - 3.3 to 5.0 volts operating frequency - up to 20mhz package type - 100 - tqfp s3 c49f9x solid disk controller inroduction 4 1.2 block diagram local bus s - bus arm7tdmi cpu core bus router dma0 dma1 timer address decoder pcmcia/ ata cis (256byte) interrupt controller system manager syst em bus controller bus arbitration bus interface memory controller ( sram ) sram (8kb) mask rom (32kb) s3 c49f9x solid disk controller pin information 5 2 pin information 2.1 controller package drawing 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 xwait xreset xds vdd1 xadr0 xadr1 xadr2 xadr3 xadr4 n reset xadr5 xadr6 xadr7 xwe xrdy vdd2 xadr8 xadr9 xiowr xiord xoe xadr10 xce1 xce2 fdb0 gnd3 fale0 fcle0 fre0 fwe0 frdy0 vdd4 fale1 fcle1 fre1 gnd2 f vpp xdb3 xdb4 xdb5 xdb6 xdb7 xdb11 xdb12 xdb13 xdb14 xdb15 vdd3 xtest ctest fpwr fwp fce6 fce5 fce4 fce3 fce2 fce1 fce0 gnd5 xout xin gnd4 fdb7 fdb6 fdb5 fdb4 vdd6 fdb3 fdb2 fdb1 vdeto vdd5 vdd7 fce7 fce8 fce9 tdo n trst test1 test2 gnd6 tdi tms tck gnd7 xdb10 xdb9 xdb8 xdb2 xdb1 xdb0 pvdd2 xiois16 xstschg xdasp xreg xinpack gnd1 pvdd1 f igure 2 - 1 s3 c49f9x pin assignment s3 c 49f9x 100 - tqfp (top view) s3 c49f9x solid disk controller pin information 6 2.2 controller pin assignments and pin type table 2 - 1 controller pin assignments pin number signal name pin type i/o type function 1 xwait o o1 wait of pcmcia 2 xreset i i1 write protect of flash chips for flash bus 0 ,1 3 xds i i5 device select for ide 4 vdd1 - - system power 5 xadr0 i i1 address bus of pcmcia 6 xadr1 i i1 address bus of pcmcia 7 xadr2 i i1 address bus of pcmcia 8 xadr3 i i1 address bus of pcmcia 9 xadr4 i i1 address bus of pcmcia 10 nreset i i 3 system power reset 11 xadr5 i i1 address bus of pcmcia 12 xadr6 i i1 address bus of pcmcia 13 xadr7 i i1 address bus of pcmcia 14 xrdy o o1 ready(ireq) of pcmcia 15 xwe i i2 write enable of pcmcia 16 vdd2 - - system power 17 xadr8 i i1 address b us of pcmcia 18 xadr9 i i1 address bus of pcmcia 19 xiowr i i2 iowr of pcmcia 20 xiord i i2 iord of pcmcia 21 xoe i i2 output enable of pcmcia 22 xadr10 i i1 address bus of pcmcia 23 xce1 i i2 card enable1 of pcmcia 24 xce2 i i2 card enable2 of pc mcia 25 gnd1 - - ground 26 vdd3 - - system power 27 xdb15 i/o b1 data bus of pcmcia 28 xdb14 i/o b1 data bus of pcmcia 29 xdb13 i/o b1 data bus of pcmcia 30 xdb12 i/o b1 data bus of pcmcia 31 xdb11 i/o b1 data bus of pcmcia 32 pvdd1 - - pcmcia powe r 33 xdb7 i/o b1 data bus of pcmcia 34 xdb6 i/o b1 data bus of pcmcia 35 xdb5 i/o b1 data bus of pcmcia 36 xdb4 i/o b1 data bus of pcmcia 37 xdb3 i/o b1 data bus of pcmcia s3 c49f9x solid disk controller pin information 7 38 fvpp - - high voltage power for otp table 2 - 1 controller pin assignments ( cont.) pin number signal name pin type i/o type function 39 gnd2 - - ground 40 fre1 i/o b9 read enable flash chips of flash bus1 41 fcle1 i/o b5 command latch enable of flash chips of flash bus1 42 fale1 i/o b5 address latch enable of flash chips of f lash bus1 43 vdd4 - - system power 44 frdy0 i/o b5 ready signal of flash chips of flash bus0 45 fwe0 i/o b9 write enable of flash chips of flash bus0 46 fre0 i/o b9 read enable flash chips of flash bus0 47 fcle0 i/o b5 command latch enable of flash ch ips of flash bus1 48 fale0 i/o b5 address latch enable of flash chips of flash bus1 49 gnd3 - - ground 50 fdb0 i/o b7 i/o of flash chips of flash bus0,1 51 vdd5 - - system power 52 vdeto o o2 voltage detect output 53 fdb1 i/o b7 i/o of flash chips of flash bus0,1 54 fdb2 i/o b7 i/o of flash chips of flash bus0,1 55 fdb3 i/o b7 i/o of flash chips of flash bus0,1 56 vdd6 - - system power 57 fdb4 i/o b7 i/o of flash chips of flash bus0,1 58 fdb5 i/o b7 i/o of flash chips of flash bus0,1 59 fdb6 i/o b7 i/o of flash chips of flash bus0,1 60 fdb7 i/o b7 i/o of flash chips of flash bus0,1 61 gnd4 - - ground 62 xi - osc input clock 63 xo - osc output clock 64 gnd5 - - ground 65 fce0 i/o b3 chip enable 0 of flash chips of flash bus0,1 66 fce1 i/o b 3 chip enable 1 of flash chips of flash bus0,1 67 fce2 i/o b3 chip enable 2 of flash chips of flash bus0,1 68 fce3 i/o b3 chip enable 3 of flash chips of flash bus0,1 69 fce4 i/o b3 chip enable 4 of flash chips of flash bus0,1 70 fce5 i/o b3 chip enabl e 5 of flash chips of flash bus0,1 71 fce6 i/o b3 chip enable 6 of flash chips of flash bus0,1 72 fwp i/o b5 write protect of flash chips of flash bus 0, 1 73 fpwr o o2 power control signal for flash memory 74 ctest i i4 core test mode select signal s3 c49f9x solid disk controller pin information 8 7 5 xtest i i4 test input for test mode table 2 - 1 controller pin assignments (cont.) pin number signal name pin type i/o type function 76 vdd7 - - system power 77 fce7 i/o b3 chip enable 7 of flash chips of flash bus0,1 78 fce8 i/o b3 chip enable 8 of flash chips of flash bus0,1 79 fce9 i/o b3 chip enable 9 of flash chips of flash bus0,1 80 tdo o o2 test data output for jtag 81 ntrst i i4 test reset for jtag 82 test1 i i4 otp mode select signal 1 83 test2 i i4 otp mode select signal 2 84 gnd6 - - ground 85 tdi i i4 test data input for jtag 86 tms i i4 test mode select for jtag 87 tck i i4 test clock for jtag 88 gnd7 - - ground 89 xdb10 i/o b1 data bus of pcmcia 90 xdb9 i/o b1 data bus of pcmcia 91 xdb8 i/o b1 data bus of pcmcia 92 xdb2 i/o b1 data bus of pcmcia 93 xdb1 i/o b1 data bus of pcmcia 94 xdb0 i/o b1 data bus of pcmcia 95 pvdd2 - - pcmcia power 96 xiois16 i/o b1 iois16 of pcmcia 97 xstschg i/o b1 stschg of pcmcia 98 xdasp i/o b4 dasp for ide 99 xreg i i2 reg of pcmcia 100 x inpack o o1 inpack of pcmcia s3 c49f9x solid disk controller pin information 9 table 2 - 2 i/o type description i/o type pad type description i1 pvil3 3.3v ttl schmitt trigger level pcmcia lin input buffer i2 pvilu3 3.3v ttl schmitt trigger level pcmcia lin input buffer with pull - up register i3 pis c mos schmitt trigger level input buffer i4 pic cmos level input buffer i5 picu cmos level input buffer with pull - up register i6 picd cmos level input buffer with pull - down register i7 pvild3 3.3v ttl schmitt trigger level pcmcia lin input buffer with pu ll - down register o1 pvob43 3.3v 4ma pcmcia output buffer without src o2 pod4 4ma open drain output buffer o3 pob4 4ma normal output buffer o4 pob4sm 4ma normal output buffer with medium slew - rate control o5 pob16sm 16ma normal output buffer with mediu m slew - rate control o6 pob12 12ma normal output buffer b1 pvbtt43 3.3v 4ma pcmcia lin bi - directional buffer without src b2 pbct4 cmos level input buffer and 4ma tri - state output buffer b3 pbct4sm cmos level input buffer and 4ma tri - state output buffer with medium slew - rate control b4 pbcut4sm cmos level input buffer with pull - up register and 4ma tri - state output buffer with medium slew - rate control b5 pbct8sm cmos level input buffer and 8ma tri - state output buffer with medium slew - rate control b6 pbc ut8sm cmos level input buffer with pull - up register and 8ma tri - state output buffer with medium slew - rate control b7 pbcdt8 cmos level input buffer with pull - down register and 8ma tri - state output buffer b8 pbsdt4sm cmos schmitt trigger level input buffe r with pull - down register and 4ma tri - state output buffer with medium slew - rate control b9 pbct16sm cmos level input buffer and 16ma tri - state output buffer with medium slew - rate control b10 pvbtd43 3.3v 4ma pcmcia lin bi - directional buffer without src w ith pull - down register osc psoscm26 oscillator cell with enable and register s3 c49f9x solid disk controller pin information 10 2.3 pin description for host interface table 2 - 3 pin description for host interface signal name 100 - pin number i/o description xard0 xard1 xard2 xard3 xard4 xard5 xard6 xar d7 xard8 xard9 xard10 5 6 7 8 9 11 12 13 17 18 22 i address bus[10:0] : these address lines along with the ? reg signal are used to select the following: the i/o port address registers within the pc storage card, the memory mapped port address register s within the pc storage card, a byte in the card's information structure and its configuration control and status registers. this signal is the same as the pc card memory mode signal in pc card i/o mode. in true ide mode only a[2:0] are used to select th e one of eight registers in the task file, the remaining address lines should be grounded by the host. xdb0 xdb1 xdb2 xdb3 xdb4 xdb5 xdb6 xdb7 xdb8 xdb9 xdb10 xdb11 xdb12 xdb13 xdb14 xdb15 94 93 92 37 36 35 34 33 91 90 89 31 30 29 28 27 i/o data bu s[15:0] : these lines carry the data, commands and status information between the host and the controller. xdb0 is the lsb of the even byte of the word. xdb8 is the lsb of the odd byte of the word. this signal is the same as the pc card memory mode signa l in pc card i/o mode. in true ide mode, all task file operations occur in byte mode on the low order bus xdb0 - xdb7 while all data transfers are 16 bit using xdb0 - xdb15. xreg 99 i attribute memory area selection : this signal is used during memory c ycles to distinguish between common memory and register (attribute) memory accesses. high for common memory, low for attribute memory. the signal must also be active (low) during i/o cycles when the i/o address is on the bus. in true ide mode, this input signal is not used and should be connected to vcc by the host. s3 c49f9x solid disk controller pin information 11 table 2 - 3 pin description for host interface(cont.) signal name 100 - pin number i/o description xce1 23 i card enable : these input signals are used both to select the card and to ind icate to the card whether a byte or a word operation is being performed. - ce2 always accesses the odd byte of the word. - ce1 accesses the even byte or the odd byte of the word depending on a0 and - ce2. a multi - plexing scheme based on a0, - ce1, - ce2 allows 8 bit hosts to access all data on xdb0 - xdb7. see tables 3 - 7,3 - 8,4 - 3 and 4 - 4. this signal is the same as the pc card memory mode signal in pc card i/o mode. in the true ide mode, cs0 is the chip select for the task file registers while cs1 is used to sel ect the alternate status register and the device control register. xce2 24 i xoe 21 i output enable : this is an output enable strobe generated by the host interface. it is used to read data from the pc card in memory mode and to read the cis and config uration registers. in pc card i/o mode, this signal is used to read the cis and configuration registers. to enable true ide mode this input should be grounded by the host. xwe 15 i write enable : this is a signal driven by the host and used for strobing memory write data to the registers of the pc card when the card is configured in the memory interface mode. it is also used for writing the configuration registers. in pc card i/o mode, this signal is used for writing the configuration registers. in tru e ide mode, this input signal is not used and should be connected to vcc by the host. xwait 1 o wait : the - wait signal is driven low by the pc card to signal the host to delay completion of a memory or i/o cycle that is in progress. iordy : in true ide mode, this output signal may be used as iordy. s3 c49f9x solid disk controller pin information 12 table 2 - 3 pin description for host interface(cont.) signal name 100 - pin number i/o description xiois16 96 i/o i/o port is 16 bits : memory mode - the pc card does not have a write protect switch. this sig nal is held low after the completion of the reset initialization sequence. i/o operation - when the pc card is configured for i/o operation pin 24 is used for the - i/o selected is 16 - bit port ( - iois16) function. a low signal indicates that a 16 bit or odd byte only operation can be performed at the addressed port. in true ide mode, this output signal is asserted low when this device is expecting a word data transfer cycle. xinpack 100 o input port acknowledge : this signal is not used in memory mode. th e input acknowledge signal is asserted by the pc card when the card is selected and responding to an i/o read cycle at the address that is on the address bus. this signal is used by the host to control the enable of any input data buffers between the pc ca rd and the cpu. in true ide mode, this output signal is not used and should be connected at the host. xrdy/ 14 o ready/busy : in memory mode, this signal is set high when the pc card is ready to accept a new data transfer operation and held low when the card is busy. the host memory card socket must provide a pull - up resistor. at power up and at reset, the rdy/ - bsy signal is held low (busy) until the pc card has completed its power up or reset function. no access of any type should be made to the pc card during this time. the rdy/ - bsy signal is held high (disabled from being busy) whenever the following condition is true: the pc card has been powered up with +reset continuously disconnected or asserted. i/o operation - after the pc card has been configure d for i/o operation, this signal is used as interrupt request. this line is strobed low to generate a pulse mode interrupt or held low for a level mode interrupt. in true ide mode, this signal is the active high interrupt request to the host. s3 c49f9x solid disk controller pin information 13 table 2 - 3 pin description for host interface(cont.) signal name 100 - pin number i/o description xiord 20 i i/o read : this signal is not used in memory mode. this is an i/o read strobe generated by the host. this signal gates i/o data onto the bus from the pc card when the card is configured to use the i/o interface. in true ide mode, this signal has the same function as in pc card i/o mode. xiowr 19 i i/o write : this signal is not used in memory mode. the i/o write strobe pulse is used to clock i/o data on the card data bus into the pc card controller registers when the pc card is configured to use the i/o interface. the clocking will occur on the negative to positive edge of the signal (trailing edge). in true ide mode, this signal has the same function as in pc card i/o mode. xstschg 97 i/o status changed : this signal is asserted high as the bvd1 signal since a battery is not used with this product. this signal is asserted low to alert the host to changes in the rdy/ - bsy and write protect states, while the i/o interface is configured. its use is controlled by the card config and status in the true ide mode, this input / output is the pass diagnostic signal in the master / slave handshake protocol. xds 3 i card select : in true ide mode, this signal is use d for configure this device as a master or slave. when it is grounded , the device is configured as a master. when this signal is open, the device is configured as a slave. in i/o and memory mode, this signal is not used. xreset 2 i reset : when the pin is high, this signal resets the pc card. the pc card is reset only at power up if this pin is left high or open from power - up. the pc card is also reset when the soft reset bit in the card configuration option register is set. in the true ide mode, this input pin is the active low hardware reset from the host. s3 c49f9x solid disk controller pin information 14 table 2 - 3 pin description for host interface(cont.) signal name 100 - pin number i/o description xdasp 98 i/o this output line is always driven to a high state in memory mode since a battery is n ot required for this product. this output line is always driven to a high state in i/o mode since this product does not support the audio function. in the true ide mode, this input/output is the disk active/slave present signal in the master/slave handsh ake protocol. xp55 - i input for inverter xp56 - o output for inverter vdeot 52 o voltage detect output xtest 75 i test input for test mode s3 c49f9x solid disk controller pin information 15 2.4 pin assignment for flash memory interface table 2 - 4 pin description for flash memory interface signal name 100 - pin number i/o description fdb0 fdb1 fdb2 fdb3 fdb4 fdb5 fdb6 fdb7 fdb8 fdb9 fdb10 fdb11 fdb12 fdb13 fdb14 fdb15 50 53 54 55 57 58 59 60 - - - - - - - - i/o flash data bus[15:0] : these lines are 16 - bit data lines to/from the flash memory chip. frdy0 frdy1 44 - i/o i flash ready 0/1 : the signal is used for indicate to the controller, which flash memory is ready to accept a command. fdb0 ~ fdb7 are controlled by frdy0 signal, fdb8 ~ fdb15 are controlled by frdy1. fale0 fale1 48 42 i/o i/ o flash address latch enable 0/1 : when this signal is asserted the controller can send an address to the flash memory by asserting of fwe pin. fdb0 ~ fdb7 are controlled by fale0 signal, fdb8 ~ fdb15 are controlled by fale1. fcle0 fcle1 47 41 i/o i/o fla sh command latch enable 0/1 : when this signal is asserted, a command can be to the flash memory. fdb0 ~ fdb7 are controlled by fcle0 signal, fdb8 ~ fdb15 are controlled by fcle1. fre0 fre1 46 40 i/o i/o flash read enable 0/1 : this signal is asserted to enable the reading of data from the flash memory. fdb0 ~ fdb7 are controlled by fre0 signal, fdb8 ~ fdb15 are controlled by fre1. fwe0 fwe1 45 - i/o o falsh write enable 0/1 : when this signal is asserted , the controller can write data to the flash memor y. fdb0 ~ fdb7 are controlled by fwe0 signal, fdb8 ~ fdb15 are controlled by fwe1. s3 c49f9x solid disk controller pin information 16 table 2 - 4 pin description for flash memory interface(cont.) signal name 100 - pin number i/o description fce0 fce1 fce2 fce3 fce4 fce5 fce6 fce7 fce8 fce9 65 66 67 68 69 7 0 71 77 78 79 i/o flash chip enable [9:0] : these lines are flash memory enable signal. fwp 72 i/o write protect of flash chips of flash bus 0, 1 fpwr 73 o power control signal for flash memory s3 c49f9x solid disk controller pin information 17 2.5 pin assignment for external memory control tabl e 2 - 5 pin description for external memory interface signal name 100 - pin number i/o description addr0 addr1 addr2 addr3 addr4 addr5 addr6 addr7 addr8 addr9 addr10 addr11 addr12 addr13 addr14 addr15 addr16 - - - - - - - - - - - - - - - - - o extern al memory address bus [16:0] : these signals are address bus to access external memory device as sram or rom. data0 data1 data2 data3 data4 data5 data6 data7 - - - - - - - - i/o external memory data bus [7:0] : these signals are data bus to access ext ernal memory device as sram or rom. nrcs - o external rom chip select : when this signal is asserted(low active) , the controller can access the external rom device. nscs - o external sram chip select : when this signal is asserted(low active) , the con troller can access the external sram device. noe - o output enable : this signal is data output enable signal. when an external memory access for rom/sram occurs, this signal controls the output enable port of the specific device. nwe - o write enable : when an external memory device access for sram/rom occurs, this signal control the write enable port of the specific device. s3 c49f9x solid disk controller pin information 18 table 2 - 5 pin description for external memory interface(cont.) signal name 100 - pin number i/o description tck 87 i test clock : the ks32p 49f9x contains internally in - circuit emulation block for debugger mode which use standard jtag protocol. when the controller go into debugger mode, this signal is provided from external debugger tool. tms 86 i test mode select : in the debugger mode, this signal select test mode. this pin should be held to ?1?, when do not use the jtag block. tdi 85 i test data input : in the debugger mode, this signal is used for carry data. from external debugger tool to the controller. ntrst 81 i test reset : this signal should be sustained low first at the begging of normal operation. tdo 80 i/o test data output : in the debugger mode, this signal is used for carry data. from the controller to external debugger tool. xi 62 oc input clock : this signal is s ystem clock. xo 63 oc output clock : nreset - i reset : this pin is system power on reset . a low input will stop all operation within the controller. sw1 - i rom selection : this pin is used for select rom. when this signal set ?1?, the controller acc ess external rom. when this pin is ?0?, the controller access internal rom. sw0 - i flash number of selection : basically flash memory can be connected up to 20. but if use the external buffer on pc card , flash memory can be connected up to 32. this sign al is used for select number of flash. when this signal is high, can be connected up to 20. in the case of low, can be connected up to 32. ctest 74 i core test : this signal is used for test cpu(arm7tdmi) core. when this signal is low(0), the controller operate normal mode. when it is high(1), operate cpu test mode. cmode - i interrupt enable : this signal is used for control interrupt signal of cpu, when the signal is set(1), interrupt signal of cpu can be enabled. when this signal is cleared(0), interr upt signal can be disabled. test1 test2 82 83 i i otp mode select : these signals are used for select otp mode. when otpms1 and otpms2 are low, the controller operate normal mode. to operate the otp mode, otpms1 and otpms2 signal should be set to low and high. the others setting mode are reserved for chip maker. s3 c49f9x solid disk controller pin information 19 2.6 p ower pin assignmen t table 2 - 6 pin description for power signal signal name 100 - pin number i/o description vdd 4,16,26,43,51,56,76 - system power supply voltage pvdd 32,95 - pcmcia p ower supply voltage fvpp 38 - high voltage power for internal otp(12.5v) gnd 25,39,49,61,64,84,88 - ground S3C49F9X solid disk controller interface bus timming 20 3 interface bus timmin g there are two types of bus cycles and timing sequences that occur in the pcmcia type interface, a direct mapped i/o tran sfer and a memory access. the two timing sequences are explained in detail in the pcmcia pc card standard. the pc card conforms to the timing in that reference document. 3.1 attribute memory read timing specification the attribute memory read time is d efined as 300ns. detailed timing specifications are shown in table 3 - 1. table 3 - 1 attribute memory read timing 300 ns parameter symbol ieee symbol min ns. max ns. read cycle time tcr tavav 300 address access time ta(a) tavqv 300 card enable acces s time ta(ce) telqv 300 output enable access time ta(oe) tglqv 150 output disable time from ce tdis(ce) tehqz 100 output disable time from oe tdis(oe) tghqz 100 address setup time tsu(a) tavwl 30 output enable time from ce ten(ce) telqnz 5 outp ut enable time from oe ten(oe) tglqnz 5 data valid from address change tv(a) taxqx 0 note. all times are in nanosecond. dout signifies data provided by the pc card to the system. the ? ce signal or both the ? oe signal & the - we signal must be de - assert ed between consecutive cycle operation. S3C49F9X solid disk controller interface bus timming 21 . an -reg -ce -oe dout tc(r) ta(a) tdis(oe) tdis(ce) tv(a) ta(ce) ta(oe) ten(oe) ten(ce) tsu(a) figure 3 - 1 attribute memory read timing diagram S3C49F9X solid disk controller interface bus timming 22 3.2 attribute memory write timing specification the attribute memory access time is defined as 250 ns. detailed timing specifications are shown in table 3 - 2. n ote. a host cannot write to cis. this timing is specified only for the write to configuration register. table 3 - 2 attribute memory write timing 250 ns parameter symbol ieee symbol min ns. max ns. write cycle time tcw tavav 250 write pulse width tw( we) twlwh 150 address setup time tsu(a) tavwl 30 write recovery time trec(we) twmax 30 data setup time for we tsu(d - weh) tdvwh 80 data hold time th(d) twmdx 30 note. all times are in nanosecond. din signifies data provided by the system to the pc card. data in valid -reg an -we -ce -oe din tc(w) th(d) trec(we) tsu(a) tw(we) tsu(d-weh) figure 3 - 2 attribute memory write timing diagram S3C49F9X solid disk controller interface bus timming 22 3.3 common memory read timing specification table 3 - 3 common memory read timing parameter symbol ieee symbol min ns. max ns. output enable access time ta(oe) tglqv 125 output disable time f rom oe tdis(oe) tghqz 100 address setup time tsu(a) tavgl 30 address hold time th(a) tghax 20 ce setup before oe tsu(ce) telgl 0 ce hold following oe th(ce) tgheh 20 wait delay falling from oe tv(wt - oe) tglwtv 35 data setup for wait release tv( wt) tqvwth 0 wait width time tw(wt) twtlwth 350 note. the maximum load on - wait is 1 lsttl with 50pf total load. all times are in nanoseconds. dout signifies data provided by the pc card to the system. the - wait signal may be ignored if the - oe cycl e to cycle time is greater than the wait width time. the max wait width time can be determined from the card information structure. the wait width time meets the pcmcia specification of 12s but is intentionally less in this specification. an -reg -ce -oe -wait dout tdis(oe) tsu(a) tsu(ce) tv(wt-oe) ta(oe) tw(wt) tv(wt) th(a) th(ce) figure 3 - 3 common memory read timing diagram S3C49F9X solid disk controller interface bus timming 23 3.4 common memory write timing specification table 3 - 4 common memory write timing parameter symbol ieee symbol min ns. max ns. data setup before we tsu(d - weh) tdvwh 80 data hold following we th(d) tlwmdx 30 we pul se width tw(we) twlwh 150 address setup time tsu(a) tavwl 30 ce setup before we tsu(ce) telwl 0 write recovery time trec(we) twmax 30 address hold time th(a) tghax 20 ce hold following we th(ce) tgheh 20 wait delay falling from we tv(wt - we) twl wtv 35 we high from wait release tv(wt) twthwh 0 wait width time tw(wt) twtlwth 350 note. the maximum load on - wait is 1 lsttl with 50pf total load. all times are in nanoseconds. din signifies data provided by the system to the pc card. the - wait s ignal may be ignored if the - we cycle to cycle time is greater than the wait width time. the max wait width time can be determined from the card information structure. the wait width time meets the pcmcia specification of 12s but is intentionally less in t his specification. an -reg -ce -we -wait din th(d) tsu(a) tsu(ce) tv(wt-we) tw(we) tw(wt) tsu(d-weh) th(a) th(ce) tv(wt) din valid trec(we) figure 3 - 4 common memory write timing diagram S3C49F9X solid disk controller interface bus timming 24 3.5 i/o input (read) timing specification table 3 - 5 i/o read timing parameter symbol ieee symbol min ns. max ns. data delay after iord td(iord) tlglqv 100 data hold following iord th(iord) tlghqx 0 iord width time tw(iord) tlgligh 165 address setup before iord tsua(iord) tavigl 70 address hold following iord tha(iord) tlghax 20 ce setup before iord tsuce(iord) teligl 5 ce hold following iord thce(iord) tlgheh 20 reg set up before iord tsureg(iord) trgligl 5 reg hold following iord threg(iord) tlghrgh 0 inpack delay falling from iord tdfinpack(iord) tlglial 0 45 inpack delay rising from iord tdrinpack(iord) tlghiah 45 iois16 delay falling from address tdfiois16(adr) tavisl 35 iois16 delay rising from address tdriois16(adr) tavish 35 wait delay falling from iord tdwt(iord) tlglwtl 35 data delay from wait rising td(wt) twthqv 0 wait width time tw(wt) twtlwth 350 note. the maximum load on - wait, - inpack and - iois16 is 1 lsttl with 50pf total load. all times are in nanoseconds. minimum time from - wait high to - iord high is 0nsec, but minimum - iord width must still be met. dout signifies data provided by the pc card to the system. the wait width time meets the pcmcia specification of 12s but is intentionally less in this specification. tdrinpack(iord) tdriois16(adr) an -reg -ce tdwt(iord) tsu(iord) tsuce(iord) tdfiois16(adr) twiord tdfinpack(iord) tha(iord) tw(wt) tsureg(iord) threg(iord) thce(iord) td(iord) td(wt) th(iord) -iord -inpack -iois16 -wait dout figure 3 - 5 i/o read timing diagram S3C49F9X solid disk controller interface bus timming 25 3.6 i/o output (write) timing specification table 3 - 6 i/o write timing parameter symbol ieee symbol min ns. max ns. data setup before io wr tsu(iowr) tdviwh 60 data hold following iowr th(iowr) tlwhdx 30 iowr width time twiowr tlwliwh 165 address setup before iowr tsua(iowr) taviwl 70 address hold following iowr tha(iowr) tlwhax 20 ce setup before iowr tsuce(iowr) teliwl 5 ce ho ld following iowr thce(iowr) tlwheh 20 reg setup before iowr tsureg(iowr) trgliwl 5 reg hold following iowr threg(iowr) tlwhrgh 0 iois16 delay falling from address tdfiois16(adr) tavisl 35 iois16 delay rising from address tdriois16(adr) tavish 35 wait delay falling from iowr tdwt(iowr) tlwlwtl 35 iowr high from wait high tdriowr(wt) twtjiwh 0 wait width time tw(wt) twtlwth 350 note. the maximum load on - wait, - inpack, and - iois16 is 1 lsttl with 50pf total load. all times are in nanosecond s. minimum time from - wait high to - iowr high is 0nsec, but minimum - iowr width must still be met. din signifies data provided by the system to the pc card. the wait width time meets the pcmcia specification of 12s but is intentionally less in this specifi cation. tdriois16(adr) an -reg -ce tdwt(iowr) tsu(iowr) tsuce(iowr) tdfiois16(adr) twiord tha(iowr) tw(wt) tsureg(iowr) threg(iowr) thce(iowr) tdriowr(wt) th(iowr) tsu(iowr) din valid -iowr -iois16 -wait din figure 3 - 6 i/o write timing diagram S3C49F9X solid disk controller interface bus timming 26 3.7 ide mode i/o input(read) timing specification table 3 - 7 ide mode i/o read timing parameter symbol ieee symbol min ns. max ns. data delay after iord td(iord) tlglqv 100 data hold following iord th(i ord) tlghqx 0 iord width time tw(iord) tlgligh 165 address setup before iord tsua(iord) tavigl 70 address hold following iord tha(iord) tlghax 20 ce setup before iord tsuce(iord) teligl 5 ce hold following iord thce(iord) tlgheh 20 iois16 delay falling from address tdfiois16(adr) tavisl 35 iois16 delay rising from address tdriois16(adr) tavish 35 note. the maximum load on - iois16 is 1 lsttl with 50pf total load. all times are in nanoseconds. minimum time from - wait high to - iord high is 0 nsec, but minimum - iord width must still be met. dout signifies data provided by the pc card to the system. tdriois16(adr) an tsua(iord) tsuce(iord) tdfiois16(adr) twiord tha(iord) thce(iord) td(iord) th(iord) -iord -iois16 dout -ce figure 3 - 7 ide mode i/o read timing diagram S3C49F9X solid disk controller interface bus timming 27 3.8 ide mode i/o output(write) timing specification table 3 - 8 ide mode i/o write timing paramet er symbol ieee symbol min ns. max ns. data setup before iowr tsu(iowr) tdviwh 60 data hold following iowr th(iowr) tlwhdx 30 iowr width time twiowr tlwliwh 165 address setup before iowr tsua(iowr) taviwl 70 address hold following iowr tha(iowr) t lwhax 20 ce setup before iowr tsuce(iowr) teliwl 5 ce hold following iowr thce(iowr) tlwheh 20 iois16 delay falling from address tdfiois16(adr) tavisl 35 iois16 delay rising from address tdriois16(adr) tavish 35 note. the maximum load on - iois1 6 is 1 lsttl with 50pf total load. all times are in nanoseconds. minimum time from - wait high to - iowr high is 0nsec, but minimum - iowr width must still be met. din signifies data provided by the system to the pc card. tdriois16(adr) an tsua(iowr) tsuce(iowr) tdfiois16(adr) twiowr tha(iowr) thce(iowr) th(iowr) -iowr -iois16 din -ce tsu(iowr) din valid figure 3 - 8 i/o write timing d iagram S3C49F9X solid disk cont roller card configuration 28 4 card configuration the pc cards are identified by appropriate information in the card information structure (cis). the following configuration registers are used to coordinate the i/o spaces and the interrupt level of cards that are located in the system. in addition, these registers provide a method for accessing status information about the pc card that may be used to arbitrate between multiple interrupt sources on the same interrupt level or to replace status information that appears on dedi cated pins in memory cards that have alternate use in i/o cards. table 4 - 1 registers and memory space decoding - ce2 - ce1 - reg - oe - we a10 a9 a8 - a4 a3 a2 a1 a0 selected space 1 1 standby 0 0 0 1 1 0 configuration regist ers read 1 0 1 0 1 common memory read(8bit d7 - d0) 0 1 1 0 1 common memory read(8bit d15 - d8) 0 0 1 0 1 0 common memory read(16bit d15 - d0) 0 0 1 0 1 0 configuration registers write 1 0 1 1 0 common memory write(8bit d7 - d0) 0 1 1 1 0 common memory write(8bit d15 - d8) 0 0 1 1 0 0 common memory write(16bit d15 - d0) 0 0 0 1 0 0 0 card information structure read 1 0 0 1 0 0 0 0 invalid acce ss (cis write) 1 0 0 0 1 1 invalid access (odd attribute read) 1 0 0 1 0 1 invalid access (odd attribute write) 0 1 0 0 1 invalid access (odd attribute read) 0 1 0 1 0 invalid access (odd attribut e write) S3C49F9X solid disk cont roller card configuration 29 table 4 - 2 configuration registers decoding - ce2 - ce1 - reg - oe - we a10 a9 a8 - a4 a3 a2 a1 a0 selected space 0 0 0 1 0 1 00 0 0 0 0 configuration option reg read 0 0 1 0 0 1 00 0 0 0 0 configuration option reg write 0 0 0 1 0 1 00 0 0 1 0 card status register read 0 0 1 0 0 1 00 0 0 1 0 card status register write 0 0 0 1 0 1 00 0 1 0 0 pin replacement register read 0 0 1 0 0 1 00 0 1 0 0 pin replacement register write 0 0 0 1 0 1 00 0 1 1 0 socket and copy register read 0 0 1 0 0 1 00 0 1 1 0 socket and copy register write note. the location of the card configuration registers should always be read from the cis since these locations may vary in future products. no writes should be performed to the pc card attribute memory except to the card configuration register addresses. all other attribute memory locations are reserved. S3C49F9X solid disk cont roller card configuration 30 4.1 attribute memory function attribute memory is a space where pc card identification and configuration information are stored, and is limited to 8 - bit wide accesses only at even addresses. the card configuration registers are also located here. for the attribute memory read function, signals - reg and - oe must be active and - we inactive during the cycle. as in the main memory read functions, the sign als - ce1 and - ce2 control the even - byte and odd - byte address, but only the even - byte data is valid during the attribute memory access. refer to table 4 - 3 below for signal states and bus validity for the attribute memory function. table 4 - 3 attribute memo ry function function mode - reg - ce2 - ce1 a9 a0 - oe - we d15 - d8 d7 - d0 standby mode h h high z high z read byte access cis (8 bits) l h l l l l h high z even byte write byte access cis (8 bits) (invalid) l h l l l h l don't care even byte read b yte access configuration (8 bits) l h l h l l h high z even byte write byte access configuration (8 bits) l h l h l h l don't care even byte read word access cis (16 bits) l l l l l h not valid even byte write word access cis (16 bits) (invalid) l l l l h l don't care even byte read word access configuration (16 bits) l l l h l h not valid even byte write word access configuration (16 bits) l l l h h l don't care even byte note the - ce signal or both the - oe signal and the - we signal must be de - asserted between consecutive cycle operations. S3C49F9X solid disk cont roller card configuration 31 4.2 configuration option register (address 200h in attribute memory) the configuration option register is used to configure the cards interface, address decoding and interrupt and to issue a soft rese t to the pc card. operation d7 d6 d5 d4 d3 d2 d1 d0 r/w sreset levireq conf5 conf4 conf3 conf2 conf1 conf0 sreset soft reset - setting this bit to one (1), waiting the minimum reset width time and returning to zero (0) places the pc card in the reset state. setting this bit to one (1) is equivalent to assertion of the +reset signal except that the sreset bit is not cleared. returning this bit to zero (0) leaves the pc card in the same un - configured, reset state as following power - up and hardware reset. this bit is set to zero (0) by power - up and hardware reset. using the pcmcia soft reset is considered a hardware reset by the ata commands. contrast with software reset in the device control register. levireq this bit is set to one (1) when level mode interrupt is selected, and zero (0) when pulse mode is selected. set to zero (0) by reset. conf5 - conf0 configuration index. set to zero (0) by reset. it's used to select operation mode of the pc card as shown below. note: conf5 and conf4 are reserved an d must be written as zero (0) table 4 - 4 card configurations conf5 conf4 conf3 conf2 conf1 conf0 disk card mode 0 0 0 0 0 0 memory mapped 0 0 0 0 0 1 i/o mapped, any 16byte system decoded boundary 0 0 0 0 1 0 i/o mapped, 1f0 - 1f7/3f6 - 3f7 0 0 0 0 1 1 i/ o mapped, 170 - 177/376 - 377 S3C49F9X solid disk cont roller card configuration 32 4.3 card configuration and status register (address 202h in attribute memory) the card configuration and status register contains information about the card's condition. operation d7 d6 d5 d4 d3 d2 d1 d0 read changed sigch g iois8 0 0 pwrdwn int 0 write 0 sigchg iois8 0 0 pwrdwn 0 0 changed indicates that one or both of the pin replacement register crdy, or cwprot bits are set to one (1). when the changed bit is set, - stschg pin 46 is held low if the sigchg bit is a one (1) and the pc card is configured for the i/o interface. sigchg this bit is set and reset by the host to enable and disable a state - change signal from the status register, the changed bit control pin 46 the changed status signal. if no state change sign al is desired, this bit should be set to zero (0) and pin 46 ( - stschg) signal will be held high while the pc card is configured for i/o. iois8 the host sets this bit to a one (1) if the pc card is to be configured in an 8 bit i/o mode. the pc card is a lways configured for both 8 - and 16 - bit i/o, so this bit is ignored. pwrdwn this bit indicates whether the host requests the pc card to be in the power saving or active mode. when the bit is one (1), the pc card enters a power down mode. when zero (0), t he host is requesting the pc card to enter the active mode. the pcmcia rdy/ - bsy value becomes busy when this bit is changed. rdy/ - bsy will not become ready until the power state requested has been entered. the pc card automatically powers down when it is i dle and powers back up when it receives a command. int this bit represents the internal state of the interrupt request. this value is available whether or not i/o interface has been configured. this signal remains true until the condition which caused t he interrupt request has been serviced. if interrupts are disabled by the - ien bit in the device control register, this bit is a zero (0). S3C49F9X solid disk cont roller card configuration 33 4.4 pin replacement register (address 204h in attribute memory) operation d7 d6 d5 d4 d3 d2 d1 d0 read 0 0 crdy / - bsy cwprot 0 0 rdy/ - bsy wprot write 0 0 crdy/ - bsy cwprot 0 0 mrdy/ - bsy mwprot crdy/ - bsy this bit is set to one (1) when the bit rrdy/ - bsy changes state. this bit can also be written by the host. cwprot this bit is set to one (1) when the rwprot ch anges state. this bit may also be written by the host. rdy/ - bsy this bit is used to determine the internal state of the rdy/ - bsy signal. this bit may be used to determine the state of the ready/ - busy as this pin has been reallocated for use as interrupt r equest on an i/o card. when written, this bit acts as a mask for writing the corresponding bit crdy/ - bsy. wprot this bit is always zero (0) since the pc card does not have a write protect switch. when written, this bit acts as a mask for writing the cor responding bit cwprot. mrdy/ - bsy this bit acts as a mask for writing the corresponding bit crdy/ - bsy. mwprot this bit when written acts as a mask for writing the corresponding bit cwprot. table 4 - 5 pin replacement changed bit/mask bit values initial value written by host final command of (c) status "c" bit "m" bit "c" bit 0 0 0 unchanged 1 0 1 unchanged 0 1 0 cleared by host 1 1 1 set by host S3C49F9X solid disk cont roller card configuration 34 4.5 socket and copy register (address 206h in attribute memory) this register contains a dditional configuration information. this register is always written by the system before writing the card's configuration index register. operation d7 d6 d5 d4 d3 d2 d1 d0 read reserved 0 0 drive# 0 0 0 0 write 0 0 0 drive# reserved this bit is reserved for future standardization. this bit must be set to zero (0) by the software when the register is written. drive # this bit indicates the drive number of the card for twin card configuration. x the socket number is ignored by the pc card. S3C49F9X solid disk cont roller card configuration 35 4.6 i/o transfer function 4.6.1 i/o function the i/o transfer to or from the pc card can be either 8 or 16 bits. when a 16 - bit accessible port is addressed, the signal - iois16 is asserted by the pc card. otherwise, the - iois16 signal is de - asserted. when a 16 bit transfer is attempted, and the - iois16 signal is not asserted by the pc card, the system must generate a pair of 8 - bit references to access the word's even byte and odd byte. the pc card permits both 8 and 16 bit accesses to all of its i/o addres ses, so - iois16 is asserted for all addresses to which the pc card responds. the pc card may request the host to extend the length of an input cycle until data is ready by asserting the - wait signal at the start of the cycle. table 4 - 6 i/o function functi on mode - reg - ce2 - ce1 a0 - iord - iowr d15 - d8 d7 - d0 standby mode h h high z high z byte input access (8 bits) l l h h l l l h l l h h high z high z even byte odd byte byte output access (8 bits) l l h h l l l h h h l l don't care don't card even byte odd byte word input access (16 bits) l l l l l h odd byte even byte word output access (16 bits) l l l l h l odd byte even byte i/o read inhibit h l h don't care don't care i/o write inhibit h h l high z high z high byte inout only (8 bits) l l h l h odd byte high z high byte output only (8 bits) l l h h l odd byte don't care S3C49F9X solid disk cont roller card configuration 36 4.7 common memory transfer function 4.7.1 common memory function the common memory transfer to or from the pc card can be either 8 or 16 bits. the pc c ard permits both 8 and 16 bit accesses to all of its common memory addresses. the pc card may request the host to extend the length of a memory write cycle or extend the length of a memory read cycle until data is ready by asserting the ? wait signal at the start of the cycle. table 4 - 7 common memory function function mode - reg - ce2 - ce1 a0 - oe - we d15 - d8 d7 - d0 standby mode h h high z high z byte read access (8 bits) h h h h l l l h l l h h high z high z even byte odd byte byte write access (8 bi ts) h h h h l l l h h h l l don't care don't care even byte odd byte word read access (16 bits) h l l l h odd byte even byte word write access (16 bits) h l l h l odd byte even byte odd byte read only (8 bits) h l h l h odd byte high z odd byte w rite only (8 bits) h l h h l odd byte don't care S3C49F9X solid disk cont roller card configuration 37 4.8 ide mode i/o transfer function 4.8.1 ide i/o function the pc card can be configured in a true ide mode of operation. the pc card is configured in this mode only when the - oe input signal is groun ded by the host during the power off to power on cycle. in this true ide mode the pcmcia protocol and configuration are disabled and only i/o operations to the task file and data register are allowed. in this mode no memory or attribute registers are acces sible to the host. note: removing and reinserting the pc card while the host computer's power is on will reconfigure the pc card to pc card ata mode from the original true ide mode. to configure the pc card in true ide mode, the 50 - pin socket must be powe r cycled with the pc card inserted and - oe (output enable) asserted. the following table defines the function of the operations for the true ide mode. table 4 - 8 ide mode i/o function function mode - ce2 - ce1 a0 - iord - iowr d15 - d8 d7 - d0 invalid mode l l high z high z standby mode h h high z high z task file write h l 1 - 7h h l don't care data in task file read h l 1 - 7h l h high z data out data register write h l 0 h l odd byte in even byte in data register read h l 0 l h odd byte out even b yte out control register write l h 6h h l don't care control in all status read l h 6h l h high z status out S3C49F9X solid disk cont roller card configuration 38 4.9 ata drive register set definition and protocol the pc card can be configured as a high performance i/o device through: a. standard pc - at disk i/o address spaces 1f0h - 1f7h, 3f6h - 3f7h (primary); 170h - 177h, 376h - 377h(secondary) with irq 14 (or other available irq). b. any system decoded 16 byte i/o block using any available irq. c. memory space. the communication to or from the pc card is don e using the task file registers which provide all the necessary registers for control and status information. the pcmcia interface connects peripherals to the host using four register mapping methods. the following is a detailed description of these method s: table 4 - 9 i/o configurations standard configurations config index i/o or memory address drive # description 0 & 8 memory 0 - f, 400 - 7ff 0 memory mapped 1 & 9 i/o 0 - f 0 i/o mapped 16 contiguous registers 2 & ah i/o 1f0 - 1f7, 3f6 - 3f7 0 primary i/o m apped drive 0 2 &ah i/o 1f0 - 1f7, 3f6 - 3f7 1 primary i/o mapped drive 1 3 & bh i/o 170 - 177, 376 - 377 0 secondary i/o mapped drive 0 3 & bh i/o 170 - 177, 376 - 377 1 secondary i/o mapped drive 1 note: refer to section 4.5 for twin card implementation. S3C49F9X solid disk cont roller card configuration 39 4.9 .1 i/o primary and secondary address configurations table 4 - 10 primary and secondary i/o decoding - reg a9 - a4 a3 a2 a1 a0 - iord=0 - iowr=0 notes 0 1f(17) 0 0 0 0 even rd data even wr data 1,2 0 1f(17) 0 0 0 1 error register features 1 0 1f(17) 0 0 1 0 se ctor count sector count 0 1f(17) 0 0 1 1 sector no. sector no. 0 1f(17) 0 1 0 0 cylinder low cylinder low 0 1f(17) 0 1 0 1 cylinder high cylinder high 0 1f(17) 0 1 1 0 select card/head select card/head 0 1f(17) 0 1 1 1 status command 0 3f(37) 0 1 1 0 alt status drive control 0 3f(37) 0 1 1 1 drive address reserved note: 1. register 0 is accessed with - ce1 low and - ce2 low (and a0 = don't care) as a word register on the combined odd data bus and even data bus (d15 - d0). this register may also be accessed by a pair of byte accesses to the offset 0 with - ce1 low and - ce2 high. note that the address space of this word register overlaps the address space of the error and feature byte - wide registers which lie at offset 1. when accessed twice as byte register with - ce1 low, the first byte to be accessed is the even byte of the word and the second byte accessed is the odd byte of the equivalent word access. 2. a byte accesses to register 0 with - ce1 high and - ce2 low accesses the error (read) or featur e (write) register. 3. address lines which are not indicated are ignored by the pc card for accessing all the registers in this table. S3C49F9X solid disk cont roller card configuration 40 4.9.2 configurations i/o mapped addressing when the system decodes a contiguous block of i/o registers to select the p c card, the registers are accessed in the block of i/o space decoded by the system as follows: table 4 - 11 contiguous i/o decoding - reg a3 a2 a1 a0 offset - iord=0 - iowr=0 notes 0 0 0 0 0 0 even rd data even wr data 1 0 0 0 0 1 1 error features 2 0 0 0 1 0 2 sector count sector count 0 0 0 1 1 3 sector no. sector no. 0 0 1 0 0 4 cylinder low cylinder low 0 0 1 0 1 5 cylinder high cylinder high 0 0 1 1 0 6 select card/head select card/head 0 0 1 1 1 7 status command 0 1 0 0 0 8 dup. even rd dat a dup. even wr data 2 0 1 0 0 1 9 dup. odd rd data dup. odd wr data 2 0 1 1 0 1 d dup. error dup. feature 2 0 1 1 1 0 e alt status device ctl 0 1 1 1 1 f drive address reserved note: 1. register 0 is accessed with - ce1 low and - ce2 low (and a0 = do n't care) as a word register on the combined odd data bus and even data bus (d15 - d0). this register may also be accessed by a pair of byte accesses to the offset 0 with - ce1 low and - ce2 high. note that the address space of this word register overlaps the address space of the error and feature byte - wide registers that lie at offset 1. when accessed twice as byte register with - ce1 low, the first byte to be accessed is the even byte of the word and the second byte accessed is the odd byte of the equivalent w ord access. a byte access to register 0 with - ce1 high and - ce2 low accesses the error (read) or feature (write) register. 2. registers at offset 8, 9 and d are non - overlapping duplicates of the registers at offset 0 and 1. register 8 is equivalent to regi ster 0, while register 9 accesses the odd byte. therefore, if the registers are byte accessed in the order 9 then 8 the data will be transferred odd byte then even byte. repeated byte accesses to register 8 or 0 will access consecutive (even than odd) byte s from the data buffer. repeated word accesses to register 8, 9 or 0 will access consecutive words from the data buffer. repeated byte accesses to register 9 are not supported. however, repeated alternating byte accesses to registers 8 then 9 will access c onsecutive (even then odd) bytes from the data buffer. byte accesses to register 9 access only the odd byte of the data. 3. address lines which are not indicated are ignored by the pc card for accessing all the registers in this table. S3C49F9X solid disk cont roller card configuration 41 4.9.3 memory mapped addressing when the pc card registers are accessed via memory references, the registers appear in the common memory space window: 0 - 2k bytes as follows: table 4 - 12 memory mapped decoding - reg a10 a9 - a4 a3 a2 a1 a0 offset - iord=0 - iowr=0 notes 1 0 0 0 0 0 0 even rd data even wr data 1 1 0 0 0 0 1 1 error features 2 1 0 0 0 1 0 2 sector count sector count 1 0 0 0 1 1 3 sector no. sector no. 1 0 0 1 0 0 4 cylinder low cylinder low 1 0 0 1 0 1 5 cylinder high cylinder high 1 0 0 1 1 0 6 select card/head select card/head 1 0 0 1 1 1 7 status command 1 0 1 0 0 0 8 dup. even rd data dup. even wr data 2 1 0 1 0 0 1 9 dup. odd rd data dup. odd wr data 2 1 0 1 1 0 1 d dup. error dup. feature 2 1 0 1 1 1 0 e alt status devic e ctl 1 0 1 1 1 1 f drive address reserved 1 1 0 8 even rd data even wr data 3 1 1 1 9 odd rd data odd wr data 3 notes: 1. register 0 is accessed with - ce1 low and - ce2 low as a word register on the combined odd data bus and even data bus (d15 - d0). this register may also be accessed by a pair of byte accesses to the offset 0 with - ce1 low and - ce2 high. note that the address space of this word register overlaps the address space of the error and feature byte - wide registers that lie at offset 1. when accessed twice as byte register with - ce1 low, the first byte to be accessed is the even byte of the word and the second byte accessed is the odd byte of the equivalent word access. a byte access to address 0 with - ce1 high and - ce2 low accesses the error (read) or feature (write) register. 2. registers at offset 8, 9 and d are non - overlapping duplicates of the registers at offset 0 and 1. register 8 is equivalent to register 0, while register 9 accesses the odd byte. therefore, if the re gisters are byte accessed in the order 9 then 8 the data will be transferred odd byte then even byte. repeated byte accesses to register 8 or 0 will access consecutive (even then odd) bytes from the data buffer. repeated word accesses to register 8, 9 or 0 will access consecutive words from the data buffer. repeated byte accesses to register 9 are not supported. however, repeated alternating byte accesses to registers 8 then 9 will access consecutive (even then odd) bytes from the data buffer. byte accesses to register 9 access only the odd byte of the data. 3. accesses to even addresses between 400h and 7ffh access register 8. accesses to odd addresses between 400h and 7ffh access register 9. this 1kbyte memory window to the data register is provided so tha t hosts can perform memory to memory block moves to the data register when the register lies in memory space. some hosts, such as the x86 processors, must increment both the source and destination addresses when executing the memory to memory block move in struction. some pcmcia socket adapters also have auto incrementing address logic S3C49F9X solid disk cont roller card configuration 42 embedded within them. this address window allows these hosts and adapters to function efficiently. note that this entire window accesses the data register fifo and does not al low random access to the data buffer within the pc card. a word access to address at offset 8 will provide even data on the low - order byte of the data bus, along with odd data at offset 9 on the high - order byte of the data bus. 4.9.4 true ide mode addres sing when the pc card is configured in the true ide mode, the i/o decoding is as follows: table 4 - 13 true ide mode i/o decoding - ce2 - ce1 a2 a1 a0 - iord=0 - iowr=0 notes 1 0 0 0 0 even rd data even wr data 1 0 0 0 1 error features 1 0 0 1 0 sector cou nt sector count 1 0 0 1 1 sector no. sector no. 1 0 1 0 0 cylinder low cylinder low 1 0 1 0 1 cylinder high cylinder high 1 0 1 1 0 select card/head select card/head 1 0 1 1 1 status command 0 1 1 1 0 alt status device control 0 1 1 1 1 drive address reserved S3C49F9X solid disk cont roller card configuration 43 4.10 ata registers the following section describes the hardware registers used by the host software to issue commands to the compactflash device. these registers are often collectively referred to as the "task file." note: in acco rdance with the pcmcia specification: each of the registers below which is located at an odd offset address may be accessed at its normal address and also the corresponding even address (normal address ? 1) using data bus lines (d15 - d8) when ? ce1 is high a nd ? ce2 is low unless ? iois16is high (not asserted) and an i/o cycle is being performed. 4.10.1 data register (address - 1f0[170]; offset 0,8,9): the data register is a 16bit register, and it used to transfer data blocks between the pc card data buffer an d the host. this register overlaps the error register. the table below describes the combinations of data register access and is provided to assist in understanding the overlapped data register and error/feature register rather than to attempt to define g eneral pcmcia word and byte access modes and operations. see the pcmcia pc card standard release 3.0 for definitions of the card accessing modes for i/o and memory cycles. note: because of the overlapped register, access to the 1f1h, 171h or offset 1 are not defined for word ( - ce2 = 0 and ? ce1 = 0) operations. these accesses are treated as accesses to the word data register. the duplicated registers at offsets 8,9 and dh have no restrictions on the operations that can be performed by the socket. data register - ce2 - ce1 a0 offset data bus word data register 0 0 0,8,9 d15 - d0 even data register 1 0 0 0,8 d7 - d0 odd data register 1 0 1 9 d7 - d0 odd data register 0 1 8,9 d15 - d8 error / feature register 1 0 1 1,dh d7 - d0 error / feature register 0 1 1 d15 - d8 error / feature register 0 0 dh d15 - d8 S3C49F9X solid disk cont roller card configuration 44 4.10.2 error register (address - 1f1[171]; offset 1, dh read only) this register contains additional information about the source of an error when an error is indicated in bit 0 of the status register. the bits are defined as follows: d7 d6 d5 d4 d3 d2 d1 d0 bbk unc 0 idnf 0 abrt 0 amnf this register is also accessed on data bits d15 ? d8 during a write operation to offset 0 with ? ce2 low and ? ce1 high. bit 7 (bbk) this bit is set when a bad block is detected.this bit is set when error on drive 1 (true ide). bit 6 (unc) this bit is set when an uncorrectable read error is encountered. bit 5 this bit is 0. bit 4 (idnf) the requested sector id is in error or cannot be found. this bit is 0 bit 3 this bit is 0. bit 2 (abort) abort=1 this bit is set if the command has been aborted because of a compactflash storage card status condition (write fault, invalid parameter, etc) or when an invalid command has been issued. bit 1 this bit is 0. bit 0 (amnf) this bit is set in case of a general error. (dma transfer error) S3C49F9X solid disk cont roller card configuration 45 4.10.3 feature register (address - 1f1[171]; offset 1, dh write only) : this register provides information regarding features of the pc card that the host can utilize. this register is also accessed on data bits d15 - d8 during a write operation to offset 0 with - ce2 low and ? ce1 high. 4.10.4 sector count register (address - 1f2[172]; offset 2): this register contains the numbers of sectors of data requested to be transferred on a read or write operation between the host and the pc card. if the value in this register is zero, a count of 256 sectors is specified. if the command was successful, this register is zero at command completion. if not successfully completed, the register contai ns the number of sectors that need to be transferred in order to complete the request 4.10.5 sector number (lba 7 - 0) register (address - 1f3[173]; offset 3): this register contains starting sector number or bits 7 - 0 of the logical block address (lba) for any pc card data access for the subsequent command. 4.10.6 cylinder low (lba 15 - 8) register (address - 1f4[174]; offset 4): this register contains the low order 8 bits of the starting cylinder address or bits 15 - 8 of the logical block address. 4.10.7 cy linder high (lba 23 - 16) register (address - 1f5[175]; offset 5): this register contains the high order 8 bits of the starting cylinder address or bits 23 - 16 of the logical block address. S3C49F9X solid disk cont roller card configuration 46 4.10.8 drive/head (lba 27 - 24) register (address - 1f6[176]; offset 6) : the drive/head register is used to select the drive and head. it is also used to select lba addressing instead of cylinder/head/sector addressing. the bits are defines as follows: d7 d6 d5 d4 d3 d2 d1 d0 1 lba 1 drv hs3 hs2 hs1 hs0 bit 7 this bit i s set to 1. bit 6 (lba) lba is a flag to select either cylinder/head/sector (chs) or logical block address mode (lba). when lba=0, cylinder/head/sector mode is selected. when lba = 1, logical block address is selected. in logical block mode, the logical b lock address is interpreted as follows: lba7 - lba0: sector number register d7 - d0. lba15 - lba8: cylinder low register d7 - d0. lba23 - lba16: cylinder high register d7 - d0. lba27 - lba24: drive/head register hs3 - hs0. bit 5 1 this bit is set to 1. bit 4 (dr v) drv is the drive number. when drv 0, drive (card) 0 is selected. when drv = 1,drive (card) 1 is selected. the pc card is set to be card 0 or 1 using the copy field (drive #) of the pcmcia socket & copy configuration register. bit 3 (hs3) when operating in the cylinder, head, sector mode, this is bit3 of the head number. it is bit 27 in the logical block address mode. bit 2 (hs2) when operating in the cylinder, head, sector mode, this is bit2 of the head number. it is bit 26 in the logical block address mode. bit 1 (hs1) when operating in the cylinder, head, sector mode, this is bit1 of the head number. it is bit 25 in the logical block address mode. bit 0 (hs0) when operating in the cylinder, head, sector mode, this is bit0 of the head number. it is bit 24 in the logical block address mo de S3C49F9X solid disk cont roller card configuration 47 4.10.9 status & alternate status register (address - 1f7[177]&3f6[376]; offset 7, eh): these registers return the pc card status when read by the host. reading the status register does clear a pendin g interrupt while reading the auxiliary status register does not. the meaning of the status bits is described as follows: d7 d6 d5 d4 d3 d2 d1 d0 busy rdy dwf dsc drq corr 0 err bit 7 (busy) the busy bit is set when the pc card has access to the comman d buffer and registers and the host is locked out from accessing the command register and buffer. no other bits in this register are valid when this bit is set to a 1. bit 6 (rdy) rdy indicates whether the device is capable of performing pc card operatio ns. this bit is cleared at power up and remains cleared until the pc card is ready to accept a command. bit 5 (dwf) this bit, if set, indicates a write fault has occurred. bit 4 (dsc) this bit is set when the pc card is ready. this bit is cleared at pow er up. bit 3 (drq) the data request is set when the pc card required and that information be transferred either to or from the host through the data register. bit 2 (corr) this bit is set when a correctable data error has been encountered and the data ha s been corrected. this condition does not terminate a multi - sector read operation. bit 1 this bit is always set to 0. bit 0 (err) this bit is set when the previous command has ended in some type of error. the bits in the error register contain additi onal information describing the error. S3C49F9X solid disk cont roller card configuration 48 4.10.10 device control register (address ? 3f6[376]; offset eh): this register is used to control the pc card interrupt request and to issue an ata soft reset to the card. this register can be written even if the de vice is busy. the bits are defined as follows: d7 d6 d5 d4 d3 d2 d1 d0 1 sw rst - ien 0 bit 7 this bit is an x (don't care). bit 6 this bit is an x (don't care). bit 5 this bit is an x (don't care). bit 4 this bit is an x (don't care). bit 3 this bit is ignored by the pc card. bit 2(sw rst) this bit set to 1 in order to force the pc card to perform an at disk controller soft reset operation. this does not change the pcmcia card configuration registers (4.3.2 - to 4.3.5) as hardware reset does . the card remains in reset until this bit is reset to "0". bit 1 the interrupt enable bit enables interrupts when the bit is 0 ( - ien=0), interrupts from the pc card are disable. this bit also controls the int bit in the configuration and status register. this bit is set to 1 at power on and reset. bit 0 this bit ignored by the pc card . S3C49F9X solid disk cont roller card configuration 49 4.10.11 card (drive) address register (address - 3f7[377]; offset fh): this register is provided for compatibility with the at disk drive interface. it is recommended that this register nit be mapped into the host's i/o space because of potential conflicts on bit 7. the bits are defined as follow: d7 d6 d5 d4 d3 d2 d1 d0 - wtg - hs3 - hs2 - hs1 - hs0 - nds1 - nds0 bit 7 this bit is unknown. implementation note: conflicts m ay occur on the host data bus when this bit is provided by a floppy disk controller operating at the same addresses as the pc card. following are some possible solutions to this problem for the pcmcia implementation: 1.locate the pc card at a non ? conflict ing address, i.e. secondary address (377h) or in an independently decoded address space when a floppy disk controller is located at the primary addresses. 2.do not install a floppy and a pc card in the system at the same time. 3.implement a socket adapter which can be programmed to (conditionally) tri - state d7 of i/o address 3f7h/377h when a pc card is installed and conversely to tri - state d6 - d0 of i/o address 3f7h/377h when a floppy controller is installed. 4. do not use the pc card's drive address register. this may be accomplished by either if possible, program the host adapter to enable only i/o address 1f0h - 1f7h, 3f6h (or 170 - 177h, 176h) to the pc card or if provided use an additional primary/secondary configuration in the pc card which does not respond t o accesses to i/o location 3f7h and 377h with either of these implementation, the host software must not attempt to use information in the drive address register. bit 6 ( - wtg) this bit is 0 when a write operation is in progress, otherwise, it is 1. bit 5 ( - hs3) this bit is the negation of bit 3 in the drive/head register. bit 4 ( - hs2) this bit is the negation of bit 2 in the drive/head register. bit 3 ( - hs1) this bit is the negation of bit 1 in the drive/head register. bit 2 ( - hs0) this bit is the nega tion of bit 0 in the drive/head register. bit 1 ( - nds1) this bit is 0 when drive 1 is active and selected bit 0 ( - nds0) this bit is 0 when the drive 0 is active and selected. S3C49F9X solid disk cont roller card configuration 50 4.11 ata command description this section defines the software requirements and the format of the commands the host sends to the pc cards. command are issued to the pc card by loading the required registers in the command block with the supplied parameters, and then writing the command code to the command register. the manner in which a command is accepted varies. there are three classes (see table 6 - 1) of command acceptance, all dependent on the host not issuing commands unless the pc card is not busy (bsy = 0). 4.11.1 vendor unique command bit - > 7 6 5 4 3 2 1 0 command (7) e fh c/d/h (6) drive cylinder high (5) cylinder low (4) sec number (3) sec count(2) config feature (1) feature a vendor unique command is setting f0h as feature register of a set feature command, and is executed. moreover, each vendor uniqu e command is processed with the setting value of config. set features command(ef h) configfeature value = f0h config value command name description c0 physical read read from physical page on flash memory. c1 physical write write data to physical pag e on flash memory. c2 physical block erase erase physical block on flash memory. c3 set sg control table set sg control table for initializing flash memory c4 flash initialize executing flash memory initializing. c5 change information cis/did changing data of cis/did. c6 get flash information getting flash memory information. (structure of block number and page number.) c7 get firmware revision getting firmware revision. c8 get flash id information getting flash information of maker id and device i d. note1 S3C49F9X solid disk cont roller card configuration 51 4.11.2 physical read sector bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) page no high cylinder low (4) page no low sec number (3) chip no (0 - 31) sec count(2) c0h feature (1) f0h features code f0h enable s the host to configure the card to test card function. the host sets a value c0h in the sector count register that is permission physical sector access. the physical read sector command performs similarly to the read sector(s) command except that it ret urns 528 bytes from physical sector (flash page). during a physical read sector command, the pc card does not check the ecc bytes to determine if there has been a data error. only single sector read long operations are supported. the transfer consists of 5 12 bytes of data transferred in word mode followed by 16 bytes of spare data transferred in byte mode. this command has the same protocol as the read sector(s) command. use of this command is developer?s test. l input parameter cylinder high low = the page address within a memory chip. (0 - ) sector number = memory chip number. (0 - 31) l the output parameter at the time of a normal end status register = 50h l the output parameter at the time of an unusual end. an address is too large. status register = 51h e rror register = 10h(id not found) S3C49F9X solid disk cont roller card configuration 52 4.11.3 physical write sector bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) page no high cylinder low (4) page no low sec number (3) chip no (0 - 31) sec count(2) ch feature (1) f0h the physical write sector command performs similarly to the write sector(s) command except that it writes 528 bytes of data instead of 512 bytes. during a physical write sector command, the pc card does not check the ecc bytes to determine if there has be en a data error. only single page write operations are supported. the transfer consists of 512 bytes of data transferred in word mode followed by 16 bytes of spare data transferred in byte mode. this command has the same protocol as the write sector(s) com mand. use of this command is developer?s test. l input parameter cylinder high low = the page address within a memory chip. (0 - ) sector number = memory chip number. (0 - 31) l the output parameter at the time of a normal end status register = 50h l the outp ut parameter at the time of an unusual end. an address is too large. status register = 51h error register = 10h(id not found) l write fault. status register = 71h(write fault) error register = 80h(bad block detected) S3C49F9X solid disk cont roller card configuration 53 4.11.4 physical erase block bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) block no high cylinder low (4) block no low sec number (3) chip no (0 - 31,ffh) sec count(2) ch feature (1) f0h cf which a command was taken in does elimination toward physical b lock of the specified chip number. it is the erase of only one block. a sec number of ffh requests all block erase. block no is block address in a tip simple substance. 4.11.5 set sg(sector group)control table bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d /h (6) drive cylinder high (5) the number of link blocks cylinder low (4) the number of spared part blocks sec number (3) the number of updated part blocks sec count(2) c3h feature (1) f0h a garbage collection is performed. this command must be executed before initialize flash memory command. S3C49F9X solid disk cont roller card configuration 54 4.11.6 initialize flash memory bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) cylinder low (4) number of mounted flash memory sec number (3) erase flash switch sec co unt(2) c4h feature (1) f0h this command checks all flash memory, and after then, write information of control. the blank check of all the mounting flash memories is done, and write/read/compare/erase is done, and writing a control table are made (initia lization to do after mounting). sec number :when this value is ffh, erase block of all the mounting flash memories. note. before this command execution, all blocks must be erased. after this command execution, it must execute the write cis/did command ( change card information). error return value (sec number) error value description 00h normalcy end: it is sec number =00h. 01h all flash chip is not recognized by id read command. 02h block 0 or block 1 erase check error. 03h block 0 or block 1 write/ read check error. 04h cis/did write page error 05h link info writes error or sg ctbl (the table of control information) build up error. S3C49F9X solid disk cont roller card configuration 55 4.11.7 change card information bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) int erleave mode cylinder low (4) fat analysis mode sec number (3) sec count(2) c5h feature (1) f0h this command change card information. as for doing action, writing of cis/did and flash information to page of the fixation, others is the same protocol as write sector command the elimination of the fixed block. but flash information currently written in is inherited, without updating. format of writes data (format) byte description 0 - 255 cis(vendor unique) 256 - 511 drive identify information(vendor u nique) special specification(note) specification set register function interleave cylinder high 2f:enable, 1fh:disable fat analysis cylinder low fa:enable, f0h:disable data of special specification are written on flash memory (1byte). that location i s page no.1 of block no.0. data after 2 byte is invalid. default is disable (ffh). note: this specification is not supported now. S3C49F9X solid disk cont roller card configuration 56 4.11.8 get flash chip information bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) cylin der low (4) sec number (3) sec count(2) c6h feature (1) f0h this command checks connecting flash chip information. the pc card sets sector number register to page number per block, cylinder low register to block number lsb, cylinder high register to block number msb. 4.11.9 get firmware information bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) cylinder low (4) sec number (3) sec count(2) c7h feature (1) f0h this command checks the firmware revision. t he pc card sets sector number register to firmware version. firmware revision a.b return parameter: sector number = firmware revision byte (a). cylinder low = firmware revision byte (b). S3C49F9X solid disk cont roller card configuration 57 4.11.10 get flash id information bit - > 7 6 5 4 3 2 1 0 command (7) efh c/d/h (6) drive cylinder high (5) cylinder low (4) sec number (3) sec count(2) c8h feature (1) f0h this command checks connecting flash chip information. the pc card sets sector number register to mounting chip number, cylinder lo w register to maker id, cylinder high register to device id. S3C49F9X solid disk cont roller card configuration 58 4.12 card information structure(default) attribut e offset data 7 6 5 4 3 2 1 0 description of contents cis function 000h 01 cistpl_device device info tuple tuple code 002h 04 link is 4bytes link to next tuple 004h df device type code dh=i/o w 1 speed 7h i/o device, no write protects, device id wps, speed 006h 4a x 9h 2h device speed = 400ns 008h 01 device size 2kbyte of address space device size 00ah ff list end marker end of devices en d marker 00ch 1c cistpl_device_oc other condition device info tuple tuple code 00eh 04 link is 4bytes link to next tuple 010h 02 0 reserved, 0 vccu m 3.3v vcc operation oc info 012h d9 device type code dh=i/o w 1 speed 1h i/o device, no write protects , device speed=250ns device id wps, speed 014h 01 device size 2kbyte of address space device size 016h ff list end marker end of devices end marker 018h 18 cistpl_jedec_c jedec id common mem tuple code 01ah 02 link is 2bytes link to next tuple 01ch d f pcmcia manufacture ? s id first byte of jedec id jedec id of device 1 01eh 01 pcmcia code for pc card - ata no vpp required second byte of jedec id jedec id 020h 20 cistpl_manfid manufacture id string tuple code 022h 04 link is 4bytes link to next tuple 024h ce pc card manufacture ? s id code tplmid_manf 026h 00 tplmid_manf 028h 00 manufacture information tplmid_card 02ah 00 tplmid_card 02ch 15 cistpl_vers_1 level 1 version/product information tuple code 02eh 20 link is 20bytes link to next tup le S3C49F9X solid disk cont roller card configuration 59 030h 04 major version number pcmcia 2.1 tpllv1_major 032h 01 minor version number jeida 4.2 tpllv1_minor 034h 53 manufacture information name of manufacture string 1 036h 41 038h 4d 03ah 53 03ch 55 03eh 4e 040h 47 04 2h 20 044h 20 046h 20 048h 20 04ah 20 04ch 20 ? samsung ? 04eh 00 end of manufacture information null terminator end string 1 050h 53 product information name of product string 2 052h 43 054h 46 056h 44 058h 2d 05 ah 56 05ch 45 05eh 52 060h 31 062h 2e 064h 30 066h 20 068h 20 ? scfd - ver1.0 ? 06ah 00 end of product information null terminator end string 2 06ch 00 end of cis revision number null terminator 06eh ff list end marker end marker 070h 21 cistpl_funcid function id tuple tuple code 072h 02 link is 2bytes link to next tuple S3C49F9X solid disk cont roller card configuration 60 074h 04 ic card function code fixed disk function tplfid_functio n 076h 01 rfu, 0 r p system initialization bit mask, power - on - self test tplfid_sysinit 078h 22 cistpl _funce function extention tuple tuple code 07ah 02 link is 2bytes link to next tuple 07ch 01 disk function extension tuple type disk device interface tplfe_type 07eh 01 interface type code pc card - ata interface tplfe_data 080h 22 cistpl_funce function extention tuple tuple code 082h 03 link is 3bytes link to next tuple 084h 02 disk function extension tuple type disk device interface tplfe_type 086h 0c rfu u s v silicon/rotating, id/sn is unique, tplfe_data 088h 0f r i e n p3 p2 p1 p0 auto, idle, s tandby, sleep mode supported tplfe_data 08ah 1a cistpl_config configuration tuple tuple code 08ch 05 link is 5bytes link to next tuple 08eh 01 rfsz rmsz rasz size of fields byte tpcc_sz 090h 03 tpcc_last entry index 03h last entry of configuration tab le 092h 00 tpcc_radr configuration registers are located at 200h location of config registers 094h 02 tpcc_radr 096h 0f rfu s p c i 4 configuration registers are present tpcc_rmsk 098h 1b cistpl_cftable_entry configuration entry tuple tuple code 09a h 08 link is 8bytes link to next tuple 09ch c0 i d configuration entry number memory mapped i/o, d: default configuration, i: interface byte follows tpce_indx S3C49F9X solid disk cont roller card configuration 61 09eh c0 m w r w p b v interface type memory only interface, bvd & wp not used, rdy/bsy & wait us ed for memory cycle tpce_if 0a0h a1 m ms ir q io t power vcc power - description structure only, ms: single 2 - byte length specified m: misc field structure is present tpce_fs 0a2h 01 r di pi ai si h v l v n v nominal operating supply voltage, no extension p ower parameters for vcc 0a4h 55 x ah 5h vcc noninal is 5v vcc nominal value 0a6h 08 length in 256 bytes pages(lsb) length of mem space is 2kb tpce_ms length lsb 0a8h 00 length in 256 bytes pages(msb) start at 0 on card tpce_ms length msb 0aah 20 x r p r a twin power down tpce_mi 0ach 1b cistpl_cftable_entry configuration entry tuple tuple code 0aeh 06 link is 6bytes link to next tuple 0b0h 00 i d configuration entry number tpce_indx 0b2h 01 m ms ir q io t power vcc power - description structure only tpce_fs 0b4h 21 r di pi ai si h v l v n v maximum current required averaged over 10ms, nominal operating supply voltage, with extension tpce_pd 0b6h b5 x 6h 5h 1v x 3 vcc nominal value 0b8h 1e x 1eh(30d) vcc nominal is 3.3v 0bah 4d x 9h 5h peak i is 4 5ma peak i value S3C49F9X solid disk cont roller card configuration 62 0bch 1b cistpl_cftable_entry configuration entry tuple tuple code 0beh 0a link is 10bytes link to next tuple 0c0h c1 i d configuration entry number i/o mapped contiguous 16 registers configuration, d: default configuration, i: interfac e byte follows tpce_indx 0c2h 41 w r p b interface type i/o interface, bvd & wp not used, rdy/bsy active, wait not used for memory access tpce_if 0c4h 99 m ms ir q io t power misc & irq field are present, vcc power - description structure only tpce_fs 0c6h 01 r di pi ai si h v l v n v nominal operating supply voltage tpce_pd 0c8h 55 x ah 5h vcc nominal is 5v vcc nominal value 0cah 64 r bus 16/8 i/o addrlines support 16/8 bit i/o access, i/o address lines are 16 tpce_io 0cch f0 s p l m v b i n irq sharing s: share logic active, p: pulse irq supported, l: level irq supported, m: bit mask of irq tpce_ir 0ceh ff irq levels to be routed 0 - 7 recommended tpce_ir mask extension 0d0h ff irq levels to be routed 8 - 15 recommended tpce_ir mask extension 0d2h 20 x r p r o a t power down supported tpce_mi S3C49F9X solid disk cont roller card configuration 63 0d4h 1b cistpl_cftable_entry configuration entry tuple tuple code 0d6h 06 link is 6bytes link to next tuple 0d8h 01 i d configuration entry number tpce_indx 0dah 01 m ms ir q io t power vcc power - de scription structure only tpce_fs 0dch 21 r di pi ai si h v l v n v nominal operating supply voltage, maximum current required averaged over 10ms tpce_pd 0deh b5 x 6h 5h 1v x 3 vcc nominal value 0e0h 1e x 1eh(30d) vcc nominal is 3.3v 0e2h 4d x 9h 5h pe ak i is 45ma peak i value 0e4h 1b cistpl_cftable_entry configuration entry tuple tuple code 0e6h 0f link is 15bytes link to next tuple 0e8h c2 i d configuration entry number tpce_indx 0eah 41 w r p b interface type i/o interface, bvd & wp not used, r dy/bsy active, wait not used for memory access tpce_if 0ech 99 m ms ir q io t power misc & irq field are present, vcc power - description structure only tpce_fs 0eeh 01 r di pi ai si h v l v n v nominal operating supply voltage tpce_pd 0f0h 55 x ah 5h vcc nom inal is 5v vcc nominal value S3C49F9X solid disk cont roller card configuration 64 0f2h ea r bus 16/8 i/o addrlines i/o range description, support 16/8 bit i/o access, a 1 kbyte i/o address space tpce_io 0f4h 61 size of length size of address number of i/o address ranges length is 1 byte long, address is 2 byte long, 1 i/o address range description field i/o range description byte 0f6h f0 start of i/o address block first(lsb) 0f8h 01 start of i/o address block first(msb) 0fah 07 first i/o range length 0fch f6 start of i/o address block second(lsb) 0feh 03 start of i/o address block second(msb) 100h 01 second i/o range length 102h ee s p l m v b i n irq sharing s: share logic active, p: pulse irq supported, l: level irq supported, v: vendor - specific supported, b: bus - error supported, i: i/o - check supported tpce_ir 104h 20 x r p r o a t power down supported tpce_mi 106h 1b cistpl_cftable_entry configuration entry tuple tuple code 108h 06 link is 6bytes link to next tuple 10ah 02 i d configuration entry number tpce_indx 10ch 01 m ms ir q io t power vcc power - description structure only tpce_fs 10eh 21 r di pi ai si h v l v n v nominal operating supply voltage, tpce_pd S3C49F9X solid disk cont roller card configuration 65 maximum current required averaged over 10ms 110h b5 x 6h 5h 1v x 3 vcc nominal value 112h 1e x 1eh(30d) vcc nomin al is 3.3v 114h 4d x 9h 5h peak i is 45ma peak i value 116h 1b cistpl_cftable_entry configuration entry tuple tuple code 118h 0f link is 15bytes link to next tuple 11ah c3 i d configuration entry number tpce_indx 11ch 41 w r p b interface type i/o interface, bvd & wp not used, rdy/bsy active, wait not used for memory access tpce_if 11eh 99 m ms ir q io t power misc & irq field are present, vcc power - description structure only tpce_fs 120h 01 r di pi ai si h v l v n v nominal operating supply voltag e tpce_pd 122h 55 x ah 5h vcc nominal is 5v vcc nominal value 124h ea r bus 16/8 i/o addrlines i/o range description, support 16/8 bit i/o access, a 1 kbyte i/o address space tpce_io 126h 61 size of length size of address number of i/o address ranges le ngth is 1 byte long, address is 2 byte long, 1 i/o address range description field i/o range description byte 128h 70 start of i/o address block first(lsb) 12ah 01 start of i/o address block first(msb) 12ch 07 first i/o range length S3C49F9X solid disk cont roller card configuration 66 12eh 76 start of i/o address block second(lsb) 130h 03 start of i/o address block second(msb) 132h 01 second i/o range length 134h ee s p l m v b i n irq sharing s: share logic active, p: pulse irq supported, l: level irq supported, v: vendor - specific supported, b: bus - error supported, i: i/o - check supported tpce_ir 136h 20 x r p r o a t power down supported tpce_mi 138h 1b cistpl_cftable_entry configuration entry tuple tuple code 13ah 06 link is 6bytes link to next tuple 13ch 03 i d configuration entry number tpce_indx 13eh 01 m ms ir q io t power vcc power - description structure only tpce_fs 140h 21 r di pi ai si h v l v n v nominal operating supply voltage, maximum current required averaged over 10ms tpce_pd 142h b5 x 6h 5h 1v x 3 vcc nominal v alue 144h 1e x 1eh(30d) vcc nominal is 3.3v 146h 4d x 9h 5h peak i is 45ma peak i value 148h 14 cistpl_no_link no link to common memory tuple code 14ah 00 no bytes following link length is 0 byte link to next tuple 14ch ff end of cis tuple chain end of cis tuple code S3C49F9X solid disk cont roller card configuration 67 4.13 example test of production (1) modules check. (2) set feature command code c4 check flash memory. (initialize flash memory) initialization table. (initialize flash memory) managed table creation. (initialize flash memory) (3) set feat ure command code c5 write cis/didflash. (change information) (4) card check. (function) physical disk format atainit dos set parameter logical disk format formatdos fat16,fat32,ntfs etc. read/write check scandiskdos note : atainit is a card wizard util ity that create a dos partition on the flashdisk card. atainit program(the system soft corp fdisk utility). 4.14 load of cis card information structure did drive identify data - the foundations of cis are defined as the firmware of arm7tdmi. (definition of only 5v power supply.) - when effective data as cis does not have data in head b lock of a flash or flash is not mounted, data define d as the firmware is loaded as cis. - when there is cis developed to the flash (after cis and did are written), its d ata become effective, cis is read from a flash. - did is not defined in first stage. - the write of cis/did and the code of rewriting are put on the first page of first block of a flash, and access to other blocks is not performed (management tbl etc. is not changed). - cis/did needs to be rewritten with the specification of a card. - concept figure (cis/did load action). 4.15 power on error specification when an internal initialization error happens is explained at the time of power - supply starting. when failing in initialization, the following bit is set as error register and status is set to rdy. error register bit description bit1 flash rom read id error or reset error bit3 cis read error (error occurred even when cis in rom is used) bit5 link block read error S3C49F9X solid disk controll er application not e 59 5 electrical data overview in this section, s3c 49f9x e lectrical characteristics are presented in tables and graphs. the information is arranged in the following order: ? absolute maxi mum ratings ? recommended operating conditions ? thermal characteristics S3C49F9X solid disk controll er application not e 60 table 5 - 1. absolute maximum ratings symbol parameter ratings unit v dd supply voltage ? 0.3 to + 7.0 v v in input voltage ? 0 .3 to v dd + 0.3 v i in dc input current ? 10 ma t stg storage temperature ? 40 to + 125 c table 5 - 2. recommended operating conditions symbol parameter ratings unit v dd dc supply voltage 5 v 4.75 to + 5.25 v 3.3 v 3.0 to 3.6 v ta storage temperature ? 40 to + 85 c table 5 - 3. thermal characteristics symbol parameter value unit q ja thermal impedance - junction to ambient plastic 144 - pin lqfp 57 c /w S3C49F9X solid disk controll er application not e 61 table 5 - 4. d.c. electr ical characteristics (t a = 0 to 70 c, v dd = 3.3 v 0.3 v) symbol parameter conditions min typ max unit v ih high level input voltage cmos 2.0 v v il low level input voltage cmos 1.0 v v t switching threshold cmos 1.4 v v t+ switching tr igger, positive - going threshold cmos 2.0 v v t - switching trigger, negative - going threshold cmos 1.0 v i ih high level input current input buffer v in = v dd ? 10 10 ua input buffer with pull - up 10 30 60 i il low level input current input buffer v in = v ss ? 10 10 ua input buffer with pull - up ? 160 ? 30 ? 10 v oh high level output voltage type 4 (1) i oh = ? 4 ma type 4 (2) i oh = ? 8 ma 2.4 v type 4 (3) i oh = ? 16 ma v ol low level output voltage type 4 (1) i oh = 4 ma type 4 (2) i oh = 8 ma 0.4 v type 4 (3) i oh = 16 ma i oz tri - state output leakage current v out = v ss or v dd ? 10 10 ua i dd maximum operating current v dd = 5.0 v, f mclk = 20 mhz 30 40 ma iidle idle current 20 ma ids stop current 30 ua notes : 1. 4 ma drive output pad. 2. 8 ma drive output pad. 3. 16 ma drive output pad. S3C49F9X solid disk controll er application not e 62 table 5 - 4. d.c. electrical characteristics (t a = 0 to 70 c, v dd = 5 v 5 %) symbol parameter conditions min typ max unit v ih high level input voltage cmos 3.5 v ttl 2.0 v il low level input voltage cmos 1.5 v ttl 0.8 v t switching threshold cmos 2.5 v ttl 1.4 v t+ switching trigger, positive - going threshold cmos 4.0 v ttl 2.0 v t - switching trigger, negative - going threshold cmos 1.0 v ttl 0.8 i ih high level input current input buffer v in = v dd ? 10 10 ua input buffer with pull - up 10 50 100 i il low l evel input current input buffer v in = v ss ? 10 10 ua input buffer with pull - up ? 100 ? 50 ? 10 v oh high level output voltage type 4 (1) i oh = ? 4 ma type 4 (2) i oh = ? 8 ma 2.4 v type 4 (3) i oh = ? 16 ma v ol low level output voltage type 4 (1) i oh = 4 ma type 4 (2) i oh = 8 ma 0.4 v type 4 (3) i oh = 16 ma i oz tri - state output leakage current v out = v ss or v dd ? 10 10 ua i dd maximum operating current v dd = 5.0 v, f mclk = 20 mhz 60 70 ma iidle idle current 35 ma ids st op current 60 ua notes : 1. 4 ma drive output pad. 2. 8 ma drive output pad. 3. 16 ma drive output pad. S3C49F9X solid disk controll er application not e 63 6 mechanical data overview the s3c 49f9x disk controller is available in a 100 - pin tqfp package (samsung part number 100 - tqfp - 1414)/ 100-tqfp-1414 #100 14.00 bsc 16.00 bsc 14.00 bsc 16.00 bsc 0.08 max 0.127 + 0.073 - 0.037 0-7 note : dimensions are in millimeters. #1 0.50 (1.00) 0.45-0.75 0.05-0.15 1.00 0.05 1.20 max 0.20 + 0.07 - 0.03 0.08 max figure 6 - 1. 100 - tqfp - 1414 package dimension S3C49F9X solid disk controll er application not e 64 7 application note flash memory connect ion frdy0 flash 0 flash 1 flash 2 flash 9 fcle0 fale0 fwe0 fre0 fce0 fce1 fce2 fce9 fdb[7:0] . . . figure 7 - 1. case of u sing the S3C49F9X |
Price & Availability of S3C49F9X
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |