// // Power Debugger Flash Memory Device Definition File // Copyright (c) 2001-2002 Debug Solutions, All Rights Reserved // // Author : A-Yasuo // Date : Jly 24, 2005 // Document Tytle : MBM29DL32XTD/32XBD-80/90/12 // MBM29DL32XTE/32XBE80/90 // MBM29DL320TF/320BF70/80/10 // Document No. : DS05-20873-2(MBM29DL32XTD/32XBD-80/90/12) // DS05-20881-5(MBM29DL32XTE/32XBE80/90) // DS05-20896-3(MBM29DL320TF/320BF70/80/10) // // Revision History: Ver1.2 Jly24,2005 Change Program/ChipErase/SectorErase Address. // Change Sector Area Address // Ver1.2 Jun06,2005 support Address Fetch Timing Definition. // separate 8bit_Composition and 8bit_Composition. // Ver1.1 Aug09,2002 Written. // // // Capacity : 32Mbit // Composition : 08bit x 4M // Composition : 16bit x 2M // DevVer 1 2 DevMaker Fujitsu DevName MBM29DL32xBD/E/F // | // +------ MBM29DL321BD // +------ MBM29DL322BD // +------ MBM29DL323BD // +------ MBM29DL324BD // +------ MBM29DL321BE // +------ MBM29DL322BE // +------ MBM29DL323BE // +------ MBM29DL324BE // +------ MBM29DL320BF // // Device definition DevDef Adr 22 NEG DevDef Data 8 DevDef Sector 71 DevDef CS1 ON NEG H DevDef CS2 OFF DevDef OE1 ON NEG H DevDef OE2 OFF DevDef WE1 ON NEG H DevDef WE2 OFF DevDef Byte ON NEG L DevDef Reset ON NEG H DevDef WP ON NEG H ProgramStart // program flow definition WriteData 0xaaa 0xaa WriteData 0x555 0x55 WriteData 0xaaa 0xa0 WriteData #Address #Data :Data_Polling ReadData #Address // Set read data to intenal variable CompData 0x80 #Data then :OK // Compare { internal_variable & bit_mask(0x80) } to { #Data & bit_mask(0x80) } CompData 0x20 0x20 else :Data_Polling // Compare { internal_variable & bit_mask(0x20) } to 0x20 ReadData #Address CompData 0x80 #Data then :OK else :Error_Det :OK End :Error_Det Error ProgramEnd // program flow definition end ChipEraseStart // chip erase flow definition WriteData 0xaaa 0xaa WriteData 0x555 0x55 WriteData 0xaaa 0x80 WriteData 0xaaa 0xaa WriteData 0x555 0x55 WriteData 0xaaa 0x10 :Data_Polling ReadData 0x0 // Chip erase address allow anywhere in chip CompData 0x80 0x80 then :OK // Compare { internal_variable & bit_mask(0x80) } to { #Data & bit_mask(0x80) } CompData 0x20 0x20 else :Data_Polling // Compare { internal_variable & bit_mask(0x20) } to 0x20 ReadData 0x0 CompData 0x80 0x80 then :OK else :Error_Det :OK End :Error_Det Error ChipEraseEnd // chip erase flow definition end SectorEraseStart // sector erase flow definition WriteData 0xaaa 0xaa WriteData 0x555 0x55 WriteData 0xaaa 0x80 WriteData 0xaaa 0xaa WriteData 0x555 0x55 WriteData #Address 0x30 :Data_Polling ReadData #Address // Sector erase address allow anywhere in sector CompData 0x80 0x80 then :OK // Compare { internal_variable & bit_mask(0x80) } to { #Data & bit_mask(0x80) } CompData 0x20 0x20 else :Data_Polling // Compare { internal_variable & bit_mask(0x20) } to 0x20 ReadData #Address CompData 0x80 0x80 then :OK else :Error_Det :OK End :Error_Det Error SectorEraseEnd // sector erase flow definition end // // Sector Area Range // // Num Start_Adr End_Adr Erase_Adr //------------------------------------------------------------ Sector 0 0x00000000 0x00001fff 0x00000000 // 8KByte Sector 1 0x00002000 0x00003fff 0x00002000 // 8KByte Sector 2 0x00004000 0x00005fff 0x00004000 // 8KByte Sector 3 0x00006000 0x00007fff 0x00006000 // 8KByte Sector 4 0x00008000 0x00009fff 0x00008000 // 8KByte Sector 5 0x0000a000 0x0000bfff 0x0000a000 // 8KByte Sector 6 0x0000c000 0x0000dfff 0x0000c000 // 8KByte Sector 7 0x0000e000 0x0000ffff 0x0000e000 // 8KByte Sector 8 0x00010000 0x0001ffff 0x00010000 // 64KByte Sector 9 0x00020000 0x0002ffff 0x00020000 // 64KByte Sector 10 0x00030000 0x0003ffff 0x00030000 // 64KByte Sector 11 0x00040000 0x0004ffff 0x00040000 // 64KByte Sector 12 0x00050000 0x0005ffff 0x00050000 // 64KByte Sector 13 0x00060000 0x0006ffff 0x00060000 // 64KByte Sector 14 0x00070000 0x0007ffff 0x00070000 // 64KByte Sector 15 0x00080000 0x0008ffff 0x00080000 // 64KByte Sector 16 0x00090000 0x0009ffff 0x00090000 // 64KByte Sector 17 0x000a0000 0x000affff 0x000a0000 // 64KByte Sector 18 0x000b0000 0x000bffff 0x000b0000 // 64KByte Sector 19 0x000c0000 0x000cffff 0x000c0000 // 64KByte Sector 20 0x000d0000 0x000dffff 0x000d0000 // 64KByte Sector 21 0x000e0000 0x000effff 0x000e0000 // 64KByte Sector 22 0x000f0000 0x000fffff 0x000f0000 // 64KByte Sector 23 0x00100000 0x0010ffff 0x00100000 // 64KByte Sector 24 0x00110000 0x0011ffff 0x00110000 // 64KByte Sector 25 0x00120000 0x0012ffff 0x00120000 // 64KByte Sector 26 0x00130000 0x0013ffff 0x00130000 // 64KByte Sector 27 0x00140000 0x0014ffff 0x00140000 // 64KByte Sector 28 0x00150000 0x0015ffff 0x00150000 // 64KByte Sector 29 0x00160000 0x0016ffff 0x00160000 // 64KByte Sector 30 0x00170000 0x0017ffff 0x00170000 // 64KByte Sector 31 0x00180000 0x0018ffff 0x00180000 // 64KByte Sector 32 0x00190000 0x0019ffff 0x00190000 // 64KByte Sector 33 0x001a0000 0x001affff 0x001a0000 // 64KByte Sector 34 0x001b0000 0x001bffff 0x001b0000 // 64KByte Sector 35 0x001c0000 0x001cffff 0x001c0000 // 64KByte Sector 36 0x001d0000 0x001dffff 0x001d0000 // 64KByte Sector 37 0x001e0000 0x001effff 0x001e0000 // 64KByte Sector 38 0x001f0000 0x001fffff 0x001f0000 // 64KByte Sector 39 0x00200000 0x0020ffff 0x00200000 // 64KByte Sector 40 0x00210000 0x0021ffff 0x00210000 // 64KByte Sector 41 0x00220000 0x0022ffff 0x00220000 // 64KByte Sector 42 0x00230000 0x0023ffff 0x00230000 // 64KByte Sector 43 0x00240000 0x0024ffff 0x00240000 // 64KByte Sector 44 0x00250000 0x0025ffff 0x00250000 // 64KByte Sector 45 0x00260000 0x0026ffff 0x00260000 // 64KByte Sector 46 0x00270000 0x0027ffff 0x00270000 // 64KByte Sector 47 0x00280000 0x0028ffff 0x00280000 // 64KByte Sector 48 0x00290000 0x0029ffff 0x00290000 // 64KByte Sector 49 0x002a0000 0x002affff 0x002a0000 // 64KByte Sector 50 0x002b0000 0x002bffff 0x002b0000 // 64KByte Sector 51 0x002c0000 0x002cffff 0x002c0000 // 64KByte Sector 52 0x002d0000 0x002dffff 0x002d0000 // 64KByte Sector 53 0x002e0000 0x002effff 0x002e0000 // 64KByte Sector 54 0x002f0000 0x002fffff 0x002f0000 // 64KByte Sector 55 0x00300000 0x0030ffff 0x00300000 // 64KByte Sector 56 0x00310000 0x0031ffff 0x00310000 // 64KByte Sector 57 0x00320000 0x0032ffff 0x00320000 // 64KByte Sector 58 0x00330000 0x0033ffff 0x00330000 // 64KByte Sector 59 0x00340000 0x0034ffff 0x00340000 // 64KByte Sector 60 0x00350000 0x0035ffff 0x00350000 // 64KByte Sector 61 0x00360000 0x0036ffff 0x00360000 // 64KByte Sector 62 0x00370000 0x0037ffff 0x00370000 // 64KByte Sector 63 0x00380000 0x0038ffff 0x00380000 // 64KByte Sector 64 0x00390000 0x0039ffff 0x00390000 // 64KByte Sector 65 0x003a0000 0x003affff 0x003a0000 // 64KByte Sector 66 0x003b0000 0x003bffff 0x003b0000 // 64KByte Sector 67 0x003c0000 0x003cffff 0x003c0000 // 64KByte Sector 68 0x003d0000 0x003dffff 0x003d0000 // 64KByte Sector 69 0x003e0000 0x003effff 0x003e0000 // 64KByte Sector 70 0x003f0000 0x003fffff 0x003f0000 // 64KByte