Lab 10: Programming the Flash
10 - 16 TMS320F2837xD Microcontroller Workshop - System Design
Lab 10: Programming the Flash
Objective
The objective of this lab exercise is to program and execute code from the on-chip flash memory.
The TMS320F28379D 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 exercise, the steps required to properly configure
the software for execution from internal flash memory will be covered.
Lab 10: Programming the Flash
Objective:
Program system into Flash Memory
Learn use of CCS Flash Programmer
DO NOT PROGRAM PASSWORDS
ADC
RESULT0
ePWM2
jumper
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 Lab10 has been created for this lab exercise. 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\Lab10\cpu01 and click OK. Then click Finish to import the
project. All build options have been configured the same as the previous lab exercise.
The files used in this lab exercise are: