Flash Programming F28x

From Texas Instruments Wiki
Jump to: navigation, search

Overview

In Code Composer Studio v4 we have integrated on-chip flash programming directly into the debugger.  When you load a program it automatically determines which sections reside in flash and proceeds to program the flash for those sections.  From the Tools menu you can open a window to control the flash programming options as well as perform specific actions such as erasing flash.

Demonstration

Programming F28xxx flash This demo shows the programming of flash on an F28335 device. The programming is integrated with the program download function and happens automatically.

User Interface

When loading a program the progress dialog will show the flashing operations (erase, program) in addition to the program and symbol loading.

CCSv4 Flash Load.jpg

From the Tools menu you can click on "On-chip Flash" and this will open the Control Panel view with the options for On-Chip flash programming displayed as well as specific actions such as "Erase Flash" as shown in the capture below..

CCSv4 Flash Options.jpg

Automation

You can also program flash using Debug Server Scripting.  Debug Server Scripting is a scripting interface that allows you to automate debug related operations.  By supporting flashing from this interface it enables you to automate your testing, including flashing. DSS Example.