Other Parts Discussed in Thread: CCSTUDIO
Hi there,
If you installed the C28x Software Test Bench (STB) Library (SPRC084) from http://focus.ti.com/docs/toolsw/folders/print/sprc084.html on your machine, and would like to re-build it, then the following hints might save you some time:... (Recompilation might be useful in order to solve the case described in http://e2e.ti.com/support/microcontrollers/tms320c2000_32-bit_real-time_mcus/f/171/p/21440/255675.aspx#255675)
1. In the (default installation directory) C:\tidcs\c28\stb_lib\build there is a build.bat in order to rebuild the STB. Starting it will probably result in something like "asm2000' is not recognized as an internal or external command" and more of these messages. (You will only see these messages if you run the batch file from a DOS box) The cause is simple; the assembler and compiler paths are missing. So just perform a "path= %path%;C:\CCStudio_v3.3\C2000\cgtools_5.2.7\bin" command (in the DOS box...) in order to add the tools to your path. In this example line I used the V5.2.7 CGtools under CCS 3.3, but adjust this to your own installed tools.
2. If you have the tools path properly set-up, then running build.bat may still result in errors like "DLOG4CHC.asm", ERROR! at EOF: [E1500] file access error: failed to open "..\obj\DLOG4CHC.obj" for writing". This may be caused by two things. First, there is no directory called "obj" in the C:\tidcs\c28\stb_lib\ folder, so please create it. Second, it might be that some (or all) of your files have the "Read-Only" attribute set, so just select the C:\tidcs root folder and turn off this attribute for the folder, subfolder and files.
After these "minor details" the result is:...
Assembling Source Files .....
Done !
Deleting the old library file (stb.lib) ....
.
.
Building archives .....
==> new archive '..\lib\stb.lib'
==> add 'DLOG4CHC.obj'
==> building archive '..\lib\stb.lib'
==> add 'sgti1c.obj'
==> building archive '..\lib\stb.lib'
==> add 'Sintb360.obj'
==> building archive '..\lib\stb.lib'
*************************** DONE *********************************
You've done it...!!!!
Best regards, Johan.