📄 readme.txt
字号:
ReadMe.txt for the FlashBlink54 example program
---------------------------------------------
02/16/00 R. Heeschen, Texas Instruments, Inc.
11/13/01 Update by R. Heeschen, Texas Instruments, Inc.
To build and burn the FlashBlink54 example program into the Flash Memory of
the 5402 DSK (assumes CCS v2.0 or later is installed):
1) The project file assumes that CCS resides in directory
C:\ti\
2) Create a folder (call it "FlashBlink54") in the c:\ti\myprojects folder.
If you installed elsewhere, create a folder within the myprojects folder
in the location where you installed.
3) Copy the folder C:\ti\bin\utilities\FlashBurn\c5400\FlashBlink54
from the FlashBurn distribution medium to this new folder.
The files are:
FlashBlink.pjt (CCS project file if using CCS v2.0)
FlashBlink.c (FlashBlink C code)
type.h (C header file))
FlashBlink.cmd (CCS Linker command file)
FlashBlink_hex.cmd (Motorola Hex conversion command file)
FlashBlink_ahex.cmd (ASCII Hex conversion file)
4) Run CCS and open the project file "FlashBlink.pjt."
CCS may tell you it cannot find library files.
If you installed Code Composer Studio other than in
C:\ti\, then you will have to provide paths to the three
libraries:
CCS v2.0
--------
rts.lib ( usually in C:\ti\c5400\cgtools\lib\ )
drv5402.lib ( usually in C:\ti\c5400\dsk5402\lib\ )
dsk5402.lib ( usually in C:\ti\c5400\dsk5402\lib\ )
5) In the Project/Options menu, verify in the Compiler
Code Gen (II) section that the Processor Version selected
is 548 or 549 (either one should work).
6) Build the project. This should create the FLashBlink.out file.
7) In a DOS window, change to the project directory and run the hex
conversion utility:
>cd c:\ti\myprojects\flash
>hex500 FlashBlink_hex.cmd
This runs the hex conversion utility (hex500.exe) with the options
stated in the command file, FlashBlink_hex.cmd.
Note that the file FlashBlink_ahex.cmd is provided in case you
prefer ASCII Hex format instead of Motorola. You can use it in place
of FlashBlink_hex.cmd.
The hex conversion utility outputs a map file, FlashBlink.map,
and a hex file, FlashBlink54.hex. The .hex file is the downloadable code.
NOTE: See the FlashBurn Application docs and Help for how you can
have FlashBurn create the .hex file by entering "FlashBlink_hex.cmd"
into the Conversion Command field of a FlashBurn .cdd document.
8) Now use the FlashBurn application to program the on-board flash memory.
See the help files and readme for the FlashBurn application for details.
9)After using the FlashBurn application to burn-in the FlashBlink
program, you can run the FlashBlink program as follows:
- Close the FlashBurn and CCS applications,
- Make sure that the jumper is removed from JP2 pins 1-2,
- Press the reset button on the board, or remove and
reapply pawer to the board.
You will see the LEDs blinking in sequence.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -