Contents

Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1￿1

Discusses basic flash memory technology; summarizes the features and benefits of the TMS320F20x/F24x flash module

1.1 Basic Concepts of Flash Memory Technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1￿2 1.2 TMS320F20x/F24x Flash Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1￿3 1.3 Benefits of Embedded Flash Memory in a DSP System . . . . . . . . . . . . . . . . . . . . . . . . . . 1￿5

2 Flash Operations and Control Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2￿1

Describes the operations that modify the content of the flash module; explains the role of the control registers

2.1

Operations that Modify the Contents of the 'F20x/F24x Flash Array

2￿2

2.2

Accessing the Flash Module

2￿5

 

2.2.1 TMS320F206 Flash Access-Control Register

2￿6

 

2.2.2 TMS320F24x Flash Access-Control Register

2￿7

2.3

Flash Module Control Registers

2￿8

 

2.3.1 Segment Control Register (SEG_CTR)

2￿8

 

2.3.2 Flash Test Register (TST)

2￿10

 

2.3.3 Write Address Register (WADRS)

2￿10

 

2.3.4 Write Data Register (WDATA)

2￿11

2.4

Read Modes

2￿12

2.5

Program Operation

2￿13

2.6

Erase Operation

2￿14

2.7

Recovering From Over-Erasure (Flash-Write Operation)

2￿15

2.8

Reading From the Flash Array

2￿16

2.9

Protecting the Array

2￿16

3 Algorithm Implementations and Software Considerations

3￿1

Describes the algorithms used for the programming, erase, and flash-write operations; dis- cusses considerations necessary for developing your software

3.1 How the Algorithms Fit Into the Program-Erase-Reprogram Flow . . . . . . . . . . . . . . . . . 3￿2 3.2 Programming (or Clear) Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3￿4 3.3 Erase Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3￿10 3.4 Flash-Write Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3￿14

A Assembly Source Listings and Program Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A￿1

A.1 Assembly Source for Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A￿2

ix

Page 9
Image 9
Texas Instruments TMS320F20x/F24x DSP manual Contents