23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Block Address<br />

(User boot mode)<br />

Under development<br />

Table 17-20 Block Erase Address Table<br />

Address<br />

(Single boot mode)<br />

<strong>TMPM330</strong> (rev 0.4)17-53<br />

Size<br />

Block4 0x0000_0000-0x0000_7FFF 0x3F80_0000-0x3F80_7FFF 32K byte<br />

Block5 0x0000_8000-0x0000_FFFF 0x3F80_0000-0x3F80_FFFF 32K byte<br />

Block3 0x0001_0000-0x0001_FFFF 0x3F81_0000-0x3F81_FFFF 64K byte<br />

Block2 0x0002_0000-0x0003_FFFF 0x3F82_0000-0x3F83_FFFF 128K byte<br />

Block1 0x0004_0000-0x0005_FFFF 0x3F84_0000-0x3F85_FFFF 128K byte<br />

Block0 0x0006_0000-0x0007_FFFF 0x3F86_8000-0x3F87_FFFF 128K byte<br />

<strong>TMPM330</strong><br />

Example: When BA0 is to be erased, any single address in the range 0x0000_0000 to<br />

0x0000_7FFF or 0x3F80_0000 to 0x3F80_7FFF may be entered.<br />

(Note) As for the addresses from the first to the fifth bus cycles, specify the upper 4<br />

bit with the corresponding flash memory addresses of the blocks to be<br />

erased.<br />

Table 17-21 Protection Bit Programming Address Table<br />

Block Protection<br />

The seventh bus write cycle address [18:17] [10:9]<br />

bit Address [18] Address [17] Address [10] Address [9]<br />

Block0 BLPRO0 0 0 0 0<br />

Block1 BLPRO1 0 0 0 1<br />

Block2 BLPRO2 0 0 1 0<br />

Block3 BLPRO3 0 0 1 1<br />

Block4 BLPRO4 0 1 0 0<br />

Block5 BLPRO5 0 1 0 1<br />

Table 17-22 Protection Bit Erase Address Table<br />

Block Protection<br />

The seventh bus write cycle address [18:17]<br />

bit Address [18] Address [17]<br />

Block0~3 BLPRO0~3 0 0<br />

Block4~5 BLPRO4~5 0 1<br />

The protection bit erase command cannot erase by individual block.<br />

Table 17-23 The ID-Read command's fourth bus write cycle ID address (IA) and<br />

the data to be read by the following 32-bit data transfer command (ID)<br />

IA [15:14] ID [7: 0 ] Code<br />

00b 0x98<br />

Manufacturer<br />

code<br />

01b 0x5A Device code<br />

10b Reserved ---<br />

11b 0x12 Macro code<br />

Flash Memory Operation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!