beautypg.com

Flash api module description, 1 flash api module description – Texas Instruments TMS320C6000 User Manual

Page 42

background image

FLASH API Module Description

6-2

6.1

FLASH API Module Description

The FLASH module allows access to on-board flash and executes data
memory manipulation by using the following three functions:

FLASH_read(), FLASH_write() and FLASH_erase()

For the 6711 DSK, the 128KB FLASH is split into 128 bytes per page.

Table 6–1. FLASH API Summary

Syntax

Type

Description

Page

FLASH_checksum

F

Returns the check sum

6-3

FLASH_erase

F

Erases the specific segment of the flash and/or erases
the full flash

6-4

FLASH_read

F

Reads the Flash data and copies it to a specified
destination buffer

6-5

FLASH_SUPPORT

C

A compile time constant whose value is 1 if the board
supports the FLASH module

6-6

FLASH_write

F

Writes to Flash data from a specified source buffer

6-6

Note:

F = Function; C = Constant; S = Structure; T = Typedef