Texas Instruments TMS320C6000 manual Flash API Reference, FLASHchecksum

Models: TMS320C6000

1 62
Download 62 pages 4.84 Kb
Page 43
Image 43

FLASH_checksum

6.2 FLASH API Reference

FLASH_checksum Returns checksum of specified Flash data

Function

Uint32 FLASH_checksum(

 

Uint32 locator,

 

Uint32 length

 

);

 

Arguments

locator

Addressing and page information for location in Flash

 

 

memory.

 

 

C6711 DSK

 

 

- FLASH_START_ADDR

 

 

- FLASH_PAGE_ADDR(x) :(x)– page number

 

 

- 32-bit FLASH address

 

length

Length in bytes of data to be read. This is limited by the

 

 

size of the Flash memory.

Return Value

Uint32

Returns the value of the specified checksum

Description

Returns the checksum of the specified Flash data. Checksum calculated

 

by byte by byte addition.

 

Note: This function does not affect unspecified segments of Flash. For

 

example, altering the lower half of a page of Flash memory does not

 

change the value of the upper half page.

 

C6711 DSK

 

 

- locator contains 32-bit address of Flash location

 

-FLASH_START_ADDR is 0x9000000

 

- Flash address range: 0x90000000 to 0x90020000

 

- FLASH_PAGE_SIZE = 0x80: 128 bytes

 

- Page number range x: 0 to 1023

 

-FLASH_PAGE_ADDR(x) = FLASH_START_ADDR +

 

x*FLASH_PAGE_SIZE )

 

Note: On 5x boards, 16-bit addressing is used and page information is

 

included in the upper half-word of the address argument.

Example

To get the checksum of page 0 and 1, use:

 

Uint32 startAddr = FLASH_PAGE_ADDR(0);

Uint32 length = FLASH_PAGE_SIZE * 2; Uint32 checksum;

checksum = FLASH_checksum(startAddr,length);

FLASH API Module

6-3

Page 43
Image 43
Texas Instruments TMS320C6000 manual Flash API Reference, FLASHchecksum Returns checksum of specified Flash data

TMS320C6000 specifications

The Texas Instruments TMS320C6000 series is a family of digital signal processors (DSPs) that has gained significant traction in the field of digital signal processing since its introduction. Leveraging advanced processing technologies, the TMS320C6000 DSPs are particularly recognized for their high-performance capabilities, efficiency, and versatility, making them suitable for a wide variety of applications, including telecommunications, audio and video processing, medical instrumentation, and more.

One of the main features of the TMS320C6000 series is its advanced architecture, which incorporates a superscalar pipeline. This allows for the simultaneous execution of multiple instructions, leading to enhanced processing speeds. The architecture is designed to support both fixed-point and floating-point operations, offering flexibility for different computational requirements. The use of VLIW (Very Long Instruction Word) technology allows the execution of multiple operations in a single instruction cycle, further maximizing performance.

The TMS320C6000 family utilizes high-speed memory architectures, including a sophisticated cache system that minimizes memory access delays. Built-in hardware accelerators for specific functions, such as fast Fourier transforms (FFTs) and filter algorithms, streamline processing tasks that are critical in real-time applications. The DSPs also support a range of data formats, enabling them to handle diverse data types efficiently.

An important aspect of the TMS320C6000 series is its scalability. The family includes a wide range of devices, from low-power processors suitable for portable equipment to high-performance models designed for demanding computation tasks. This scalability ensures that developers can select the appropriate DSP for their specific application requirements.

In terms of power efficiency, the TMS320C6000 processors are designed to deliver high performance with optimized power consumption. This makes them ideal for battery-operated devices where power management is a critical concern. Additionally, TI's software tools, such as Code Composer Studio, provide developers with an integrated development environment that simplifies the design process and enhances productivity.

Lastly, the extensive support for various communication interfaces, including PCI, USB, and Ethernet, allows for seamless integration into existing systems. With a rich ecosystem of hardware and software support, the TMS320C6000 series remains a popular choice for engineers seeking powerful and versatile DSP solutions in modern electronic design.