BMSKTOPASA900(DCE) Toshiba, BMSKTOPASA900(DCE) Datasheet - Page 331

KIT STARTER TMPA900 USB JTAG

BMSKTOPASA900(DCE)

Manufacturer Part Number
BMSKTOPASA900(DCE)
Description
KIT STARTER TMPA900 USB JTAG
Manufacturer
Toshiba
Series
TOPASr
Type
MCUr
Datasheets

Specifications of BMSKTOPASA900(DCE)

Contents
Evaluation Board, Cable(s), Software and Documentation
For Use With/related Products
TMPA900CMXBG
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
3.11.6
(1) Page write (2LC type)
――― Main Program ―――
――― INTTC Interrupt Processing Program ―――
――― Main Program ―――
;
; ***** Initialize NDFC *****
;
;
NDFMCR0
NDFMCR1
NDFMCR2
NDFINTC
; ***** Setting Command, Address to NAND-Flash *****
;
NDFMCR0
NDFDTR
NDFMCR0
NDFDTR
NDFMCR0
; ***** Writing 512Byte Valid data *****
;
Have the DMAC and INTC support the Autoload function of 512-byte write data. (Details are omitted.)
NDFMCR1
;
NDFMCR1
NDFMCR0
Return to the main program
; ***** Reading ECC from NDFC *****
NDECCRD0
NDECCRD1
; ***** Writing Dummy data & ECC code*****
;
NDFDTR
NDFDTR
;
;
;
;
NDFDTR
NDFDTR
;
;
;
Examples of Accessing the NAND-Flash
The following example shows the example of NAND Flash memory accessing. This
example is showing the set-up procedure. Please note that we do not warrant the
operation shown below. Please use it as a guide in programming.
Condition: 8bit-bus, CE0, SLC, 512 Byte/Page, Hamming
Read
Read
0x0000_0010
0x0000_0000
0x0000_3343
0x0000_0000
0x??
ECC
0x??
ECC
Read and check
0x0000_0090
0x0000_00b0
0x80
0x0000_00d0
0x??
0x0000_0095
0x0000_0300
TENTATIVE
TMPA900CM- 330
; NDREn L = 4clks,H = 3clks
; NDCE0n pin = 0, ECC-disable
; ECC = Hamming
; NDWEn L = 3clks,H =3clks,
; ALL Interrupt Disable
; ECC Enable and Reset
; Check that <ALS> = 0 (end). If not, perform polling.
; ECC for the first 256 bytes
; ECC for the second 256 bytes
; Write ECC (1 byte x 3 times)
Write to D520: LPR7:0
Write to D521: LPR15:8
;NDCE0n pin = 0, NDCLE = 1, NDALE = 0
; Write Command (1
;NDCE0n pin = 0, NDCLE = 0, NDALE = 1
; Write Address (n-times)
;NDCE0n pin = 0, NDCLE = 0, NDALE = 0
; <SELALS> = 1, Start Auto-Load
; ECC-Disable
; Write dummy data (1 byte x 8 times)
Write to D522: CPR5:0+11b
; Write dummy data (1 byte x 2 times)
; Write ECC (1byte x 3 times)
Write to D525:LPR7:0
Write to D526:LPR15:8
Write to D527:CPR5:0+11b
(Including INTTC interrupt enable)
st-
cycle of Page-Program)
For second 256 bytes
For second 256 bytes
For second 256 bytes
For first 256 bytes
For first 256 bytes
For first 256 bytes
TMPA900CM
2009-10-14

Related parts for BMSKTOPASA900(DCE)