// // Power Debugger Flash Memory Device Definition File // Copyright (c) 2001-2002 Debug Solutions, All Rights Reserved // // Author : A-Yasuo // Date : Jun 06, 2005 // Document Tytle : MBM29LV320TE/320BE80/90/10 // Document No. : DS05-20894-2 // // Revision History: Ver1.2 Jun06,2005 support Address Fetch Timing Definition. // separate 8bit_Composition and 8bit_Composition. // Ver1.1 Sep04,2002 Written. // // // Capacity : 32Mbit // Composition : 08bit x 4M // 16bit x 2M // DevVer 1 2 DevMaker Fujitsu DevName MBM29LV320BE // // Device definition DevDef Adr 21 NEG DevDef Data 16 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 H DevDef Reset ON NEG H DevDef WP ON NEG H ProgramStart // program flow definition WriteData 0x555 0xaa WriteData 0x2aa 0x55 WriteData 0x555 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 0x555 0xaa WriteData 0x2aa 0x55 WriteData 0x555 0x80 WriteData 0x555 0xaa WriteData 0x2aa 0x55 WriteData 0x555 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 0x555 0xaa WriteData 0x2aa 0x55 WriteData 0x555 0x80 WriteData 0x555 0xaa WriteData 0x2aa 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 0x00000fff 0x00000000 // 4KWord( 8KByte) Sector 1 0x00001000 0x00001fff 0x00001000 // 4KWord( 8KByte) Sector 2 0x00002000 0x00002fff 0x00002000 // 4KWord( 8KByte) Sector 3 0x00003000 0x00003fff 0x00003000 // 4KWord( 8KByte) Sector 4 0x00004000 0x00004fff 0x00004000 // 4KWord( 8KByte) Sector 5 0x00005000 0x00005fff 0x00005000 // 4KWord( 8KByte) Sector 6 0x00006000 0x00006fff 0x00006000 // 4KWord( 8KByte) Sector 7 0x00007000 0x00007fff 0x00007000 // 4KWord( 8KByte) Sector 8 0x00008000 0x0000ffff 0x00008000 // 32KWord(64KByte) Sector 9 0x00010000 0x00017fff 0x00010000 // 32KWord(64KByte) Sector 10 0x00018000 0x0001ffff 0x00018000 // 32KWord(64KByte) Sector 11 0x00020000 0x00027fff 0x00020000 // 32KWord(64KByte) Sector 12 0x00028000 0x0002ffff 0x00028000 // 32KWord(64KByte) Sector 13 0x00030000 0x00037fff 0x00030000 // 32KWord(64KByte) Sector 14 0x00038000 0x0003ffff 0x00038000 // 32KWord(64KByte) Sector 15 0x00040000 0x00047fff 0x00040000 // 32KWord(64KByte) Sector 16 0x00048000 0x0004ffff 0x00048000 // 32KWord(64KByte) Sector 17 0x00050000 0x00057fff 0x00050000 // 32KWord(64KByte) Sector 18 0x00058000 0x0005ffff 0x00058000 // 32KWord(64KByte) Sector 19 0x00060000 0x00067fff 0x00060000 // 32KWord(64KByte) Sector 20 0x00068000 0x0006ffff 0x00068000 // 32KWord(64KByte) Sector 21 0x00070000 0x00077fff 0x00070000 // 32KWord(64KByte) Sector 22 0x00078000 0x0007ffff 0x00078000 // 32KWord(64KByte) Sector 23 0x00080000 0x00087fff 0x00080000 // 32KWord(64KByte) Sector 24 0x00088000 0x0008ffff 0x00088000 // 32KWord(64KByte) Sector 25 0x00090000 0x00097fff 0x00090000 // 32KWord(64KByte) Sector 26 0x00098000 0x0009ffff 0x00098000 // 32KWord(64KByte) Sector 27 0x000a0000 0x000a7fff 0x000a0000 // 32KWord(64KByte) Sector 28 0x000a8000 0x000affff 0x000a8000 // 32KWord(64KByte) Sector 29 0x000b0000 0x000b7fff 0x000b0000 // 32KWord(64KByte) Sector 30 0x000b8000 0x000bffff 0x000b8000 // 32KWord(64KByte) Sector 31 0x000c0000 0x000c7fff 0x000c0000 // 32KWord(64KByte) Sector 32 0x000c8000 0x000cffff 0x000c8000 // 32KWord(64KByte) Sector 33 0x000d0000 0x000d7fff 0x000d0000 // 32KWord(64KByte) Sector 34 0x000d8000 0x000dffff 0x000d8000 // 32KWord(64KByte) Sector 35 0x000e0000 0x000e7fff 0x000e0000 // 32KWord(64KByte) Sector 36 0x000e8000 0x000effff 0x000e8000 // 32KWord(64KByte) Sector 37 0x000f0000 0x000f7fff 0x000f0000 // 32KWord(64KByte) Sector 38 0x000f8000 0x000fffff 0x000f8000 // 32KWord(64KByte) Sector 39 0x00100000 0x00107fff 0x00100000 // 32KWord(64KByte) Sector 40 0x00108000 0x0010ffff 0x00108000 // 32KWord(64KByte) Sector 41 0x00110000 0x00117fff 0x00110000 // 32KWord(64KByte) Sector 42 0x00118000 0x0011ffff 0x00118000 // 32KWord(64KByte) Sector 43 0x00120000 0x00127fff 0x00120000 // 32KWord(64KByte) Sector 44 0x00128000 0x0012ffff 0x00128000 // 32KWord(64KByte) Sector 45 0x00130000 0x00137fff 0x00130000 // 32KWord(64KByte) Sector 46 0x00138000 0x0013ffff 0x00138000 // 32KWord(64KByte) Sector 47 0x00140000 0x00147fff 0x00140000 // 32KWord(64KByte) Sector 48 0x00148000 0x0014ffff 0x00148000 // 32KWord(64KByte) Sector 49 0x00150000 0x00157fff 0x00150000 // 32KWord(64KByte) Sector 50 0x00158000 0x0015ffff 0x00158000 // 32KWord(64KByte) Sector 51 0x00160000 0x00167fff 0x00160000 // 32KWord(64KByte) Sector 52 0x00168000 0x0016ffff 0x00168000 // 32KWord(64KByte) Sector 53 0x00170000 0x00177fff 0x00170000 // 32KWord(64KByte) Sector 54 0x00178000 0x0017ffff 0x00178000 // 32KWord(64KByte) Sector 55 0x00180000 0x00187fff 0x00180000 // 32KWord(64KByte) Sector 56 0x00188000 0x0018ffff 0x00188000 // 32KWord(64KByte) Sector 57 0x00190000 0x00197fff 0x00190000 // 32KWord(64KByte) Sector 58 0x00198000 0x0019ffff 0x00198000 // 32KWord(64KByte) Sector 59 0x001a0000 0x001a7fff 0x001a0000 // 32KWord(64KByte) Sector 60 0x001a8000 0x001affff 0x001a8000 // 32KWord(64KByte) Sector 61 0x001b0000 0x001b7fff 0x001b0000 // 32KWord(64KByte) Sector 62 0x001b8000 0x001bffff 0x001b8000 // 32KWord(64KByte) Sector 63 0x001c0000 0x001c7fff 0x001c0000 // 32KWord(64KByte) Sector 64 0x001c8000 0x001cffff 0x001c8000 // 32KWord(64KByte) Sector 65 0x001d0000 0x001d7fff 0x001d0000 // 32KWord(64KByte) Sector 66 0x001d8000 0x001dffff 0x001d8000 // 32KWord(64KByte) Sector 67 0x001e0000 0x001e7fff 0x001e0000 // 32KWord(64KByte) Sector 68 0x001e8000 0x001effff 0x001e8000 // 32KWord(64KByte) Sector 69 0x001f0000 0x001f7fff 0x001f0000 // 32KWord(64KByte) Sector 70 0x001f8000 0x001fffff 0x001f8000 // 32KWord(64KByte)