
Prepaing the Application Code to Run
5.
Select the
Download
tab. Due to the design of the firmware to protect against unintentional deletion of
factory parameters like the calibration for the clock speed, the calibration values are stored in the main
memory in flash page 0x8000 to 0x83FF. Thus the calibration value is NOT preserved when
Erase
main memory
or
Erase main and information memory
is selected (see
). The user
should select
Erase main memory
as the option for download to preserve the factory parameters.
Figure A-4. Download Options
6. Click OK after all of the changes are made.
7. Rebuild the project by right clicking on the project and select [Rebuild All] from the pop-up menu (see
). Three warnings will be reported during rebuilding (see
), it is safe to ignore the
three warnings. To open the project workspace, modify the code, compile, and download the code, the
user must have IAR Embedded Workbench 5.5 installed with a valid license. If a valid license is not
available, the user can still down load the object code. See
for downloading procedures.
52
Example Application Code
SLAU587 – August 2014
Copyright © 2014, Texas Instruments Incorporated