📄 readme.txt
字号:
Readme.txt for the BlinkDSK5402 example program
-----------------------------------------------
To build and burn the BlinkDSK5402 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) Copy the contents of this directory to create a working copy of the sources
that you can modify.
3) Run CCS and open the project file "BlinkDSK5402.pjt."
If you installed Code Composer Studio in a directory other than C:\ti\, then
you will have to provide paths to the runtime 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\ )
4) 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).
5) Build the project. This should create the BlinkDSK5402.out file.
6) In a DOS window, change to the project directory and run the hex
conversion utility:
>hex500 BlinkDSK5402_hex.cmd
This runs the hex conversion utility (hex500.exe) with the options
stated in the command file, BlinkDSK5402_hex.cmd.
Note that the file BlinkDSK5402_ahex.cmd is provided in case you
prefer ASCII Hex format instead of Motorola. You can use it in place
of BlinkDSK5402_hex.cmd.
The hex conversion utility outputs the hex file BlinkDSK5402hex, which is
the downloadable code.
NOTE: See the FlashBurn Application docs and Help for how you can
have FlashBurn create the .hex file by entering "BlinkDSK5402_hex.cmd"
into the Conversion Command field of a FlashBurn .cdd document.
7) Now use the FlashBurn application to program the on-board flash memory.
See the help files and readme for the FlashBurn application for details.
8) After using the FlashBurn application to burn-in the BlinkDSK5402
program, you can run the BlinkDSK5402 program as follows:
- Close the FlashBurn and CCS applications,
- Make sure that the jumper is removed from JP2 pins 2-3,
- 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 + -