// // Power Debugger Flash Memory Device Definition File // Copyright (c) 2001-2002 Debug Solutions, All Rights Reserved // // Author : A-Yasuo // Date : Jly 25, 2005 // Document Tytle : MBM29DL800TA/800BA-70/90 // Document No. : DS05-20860-5 // // Revision History: Ver1.2 Jly25,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 Aug11,2002 Written. // // // Capacity : 8Mbit // Composition : 08bit x 1M // 16bit x 512K // DevVer 1 2 DevMaker Fujitsu DevName MBM29DL800TA // Device definition DevDef Adr 20 NEG // Adr-1 , Adr00-18 DevDef Data 8 DevDef Sector 22 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 OFF 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 { 0x80 & 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 { 0x80 & 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 // Chip erase address allow anywhere in chip CompData 0x80 0x80 then :OK // Compare { internal_variable & bit_mask(0x80) } to { 0x80 & 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 0x0000ffff 0x00000000 // 64KByte Sector 1 0x00010000 0x0001ffff 0x00010000 // 64KByte Sector 2 0x00020000 0x0002ffff 0x00020000 // 64KByte Sector 3 0x00030000 0x0003ffff 0x00030000 // 64KByte Sector 4 0x00040000 0x0004ffff 0x00040000 // 64KByte Sector 5 0x00050000 0x0005ffff 0x00050000 // 64KByte Sector 6 0x00060000 0x0006ffff 0x00060000 // 64KByte Sector 7 0x00070000 0x0007ffff 0x00070000 // 64KByte Sector 8 0x00080000 0x0008ffff 0x00080000 // 64KByte Sector 9 0x00090000 0x0009ffff 0x00090000 // 64KByte Sector 10 0x000a0000 0x000affff 0x000a0000 // 64KByte Sector 11 0x000b0000 0x000bffff 0x000b0000 // 64KByte Sector 12 0x000c0000 0x000cffff 0x000c0000 // 64KByte Sector 13 0x000d0000 0x000dffff 0x000d0000 // 64KByte Sector 14 0x000e0000 0x000e3fff 0x000e0000 // 16Kbyte Sector 15 0x000e4000 0x000ebfff 0x000e4000 // 32Kbyte Sector 16 0x000ec000 0x000edfff 0x000ec000 // 8KByte Sector 17 0x000ee000 0x000effff 0x000ee000 // 8KByte Sector 18 0x000f0000 0x000f1fff 0x000f0000 // 8KByte Sector 19 0x000f2000 0x000f3fff 0x000f2000 // 8KByte Sector 20 0x000f4000 0x000fbfff 0x000f4000 // 32KByte Sector 21 0x000fc000 0x000fffff 0x000fc000 // 16KByte