// // 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 : MBM29PL3200TE/3200BE70/90 // Document No. : DS05-20890-3 // // Revision History: Ver1.2 Jun06,2005 support Address Fetch Timing Definition. // separate 8bit_Composition and 8bit_Composition. // Ver1.1 Sep05,2002 Written. // // // Capacity : 32Mbit // Composition : 16bit x 2M // 32bit x 1M // DevVer 1 2 DevMaker Fujitsu DevName MBM29PL3200TE // Device definition DevDef Adr 20 NEG // Adr00-19 DevDef Data 32 DevDef Sector 19 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 OFF DevDef WP OFF 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 0x0000ffff 0x00000000 // 64KDWord(128KWord) Sector 1 0x00010000 0x0001ffff 0x00010000 // 64KDWord(128KWord) Sector 2 0x00020000 0x0002ffff 0x00020000 // 64KDWord(128KWord) Sector 3 0x00030000 0x0003ffff 0x00030000 // 64KDWord(128KWord) Sector 4 0x00040000 0x0004ffff 0x00040000 // 64KDWord(128KWord) Sector 5 0x00050000 0x0005ffff 0x00050000 // 64KDWord(128KWord) Sector 6 0x00060000 0x0006ffff 0x00060000 // 64KDWord(128KWord) Sector 7 0x00070000 0x0007ffff 0x00070000 // 64KDWord(128KWord) Sector 8 0x00080000 0x0008ffff 0x00080000 // 64KDWord(128KWord) Sector 9 0x00090000 0x0009ffff 0x00090000 // 64KDWord(128KWord) Sector 10 0x000a0000 0x000affff 0x000a0000 // 64KDWord(128KWord) Sector 11 0x000b0000 0x000bffff 0x000b0000 // 64KDWord(128KWord) Sector 12 0x000c0000 0x000cffff 0x000c0000 // 64KDWord(128KWord) Sector 13 0x000d0000 0x000dffff 0x000d0000 // 64KDWord(128KWord) Sector 14 0x000e0000 0x000effff 0x000e0000 // 64KDWord(128KWord) Sector 15 0x000f0000 0x000fbfff 0x000f0000 // 48KDWord( 96KWord) Sector 16 0x000fc000 0x000fefff 0x000fc000 // 4KDWord( 8KWord) Sector 17 0x000fd000 0x000fdfff 0x000fd000 // 4KDWord( 8KWord) Sector 18 0x000fe000 0x000fffff 0x000fe000 // 8KDWord( 16KWord)