Lab 12: Programming the Flash
12 - 14 C2000 Microcontroller Workshop - System Design
Lab 12: Programming the Flash
Objective
The objective of this lab is to program and execute code from the on-chip flash memory. The
TMS320F28069 device has been designed for standalone operation in an embedded system.
Using the on-chip flash eliminates the need for external non-volatile memory or a host processor
from which to bootload. In this lab, the steps required to properly configure the software for
execution from internal flash memory will be covered.
Lab 12: Programming the Flash
Objective:
Program system into Flash Memory
Learn use of CCS Flash Programmer
DO NOT PROGRAM PASSWORDS
ADC
RESULT0
ePWM2
connector
wire
TB Counter
Compare
Action Qualifier
ePWM1
ADCINA0
ePWM2 triggering
ADC on period match
using SOCA trigger every
20 µs (50 kHz)
CPU copies
result to
buffer during
CLA ISR
...
data
memory
Display
using CCS
CLA
_Cla1Task1
_Cla1Task2
_Cla1Task8
Procedure
Open the Project
1. A project named Lab12 has been created for this lab. Open the project by clicking on
Project Import CCS Projects. The “Import CCS Eclipse Projects”
window will open then click Browse… next to the “Select search-directory” box.
Navigate to: C:\C28x\Labs\Lab12\Project and click OK. Then click Finish to
import the project. All build options have been configured the same as the previous lab.
The files used in this lab are: