
		       1994 Hotline Questions

		  10 Commonly asked DSP Hotline questions
 
Question ...
  What are the signal timing requirements for the JTAG and MPSD emulation
  headers?
Answer......
  These signal timings are covered in each individual device users guide and
  also in the suppliment literature item #SPDU079 (JTAG/MPSD Emulation Technical
  Reference).
  This interface closely resembles a synchronous serial port where a master
  clock is used to synchronize data at each end of the emulation cable.  One
  edge of the master clock is used to generate data and the other to receive
  it.  If the setup and hold times of the device and emulation pod are met,
  data and control signals can be reliably transferred.  Other things to watch
  out for are ringing in the referenc clock.

Question ...
  Where can I find example code showing how to initialize the AIC on the C26
  or C50 DSK?
Answer......
  There are several very good applications written for the DSK's that include
  AIC initialization code.  These applications are made publicly available on
  the BBS as they are written.

Question ...
  How are the AIC control registers used to determine the timings of the AIC?
Answer......
  The AIC (TLC32040) data sheet is reprinted from the 'Linear Circuits, Data
  book, vol 3' (SLYD004A) in appendix B of the the C50 DSK users guide (SPR101).
  This data sheet includes diagrams and descriptions which show how these
  registers interact with the AIC.
  An example spectrum analyzer program which contains a very large selection
  table of AIC register setups is included in the BBS file DSK_PP26.EXE.

Question ...
  Why does the TRY1.ASM ramp generator not work for the C50 DSK?
Answer......
  TRY1.ASM does not include a function call for serial port and AIC
  initializion.  The latest release of DSK5D.EXE (version 1.02  is available on
  the BBS) automaticly performs serial port initialization when the C50 DSK is
  started.  Or, you can load and run the example ANASCOPE.DSK (on the C50 DSK
  diskette) which contains the AIC and serial port initialization code before
  loading TRY1.ASM.

Question ...
  What format are the Designer notebook pages on the BBS in?
Answer......
  Since these files contain diagrams and pictures they are stored in postcript
  and must be printed from a postscript printer.

Question ...
  What does an 'UNDEFINED REFERENCE _$$ERROR()' message from the C2x/C5x
  C Compiler mean?
Answer......
  Usually this means that a library (in this case FLIB50.LIB) is not included
  in the library path.

Question ...
  I can compile and link my program 'call.c', but when I start
the debugger and step through the C code, I get the error:

  "Memory access outside valid range: 6e7e".

Answer......
  In this case the memory mapping in the linker and emulator initialization
command files probably do not match.   Section 2.8.1 of the C5X Optimizing C
Compiler User's Guide, and Section 8.17 of the Fixed Point DSP Assem-
bly Language Tools User's Guide explains how to do this in detail.

Question ...
  I can load sample.out into 5x emulator but am having
trouble loading anything else.
Answer......
  sample.out was compiled from sample.c using sample.cmd
as the linker input.  You must compile and link your
program the same way making sure that the memory map
you have defined is compatible.

Question ...
  Does TI support the Solaris 2.x/Sun 5.x platform for Sparc Workstations?
Answer......
  Yes, we support the Solaris 2.x/Sun 5.x operating enviroment, but you must
  load the Binary Compatiabilty Package suppiled by Sun.
Question ...
  Cannot get the C5x DSK loader to run.
Answer......
  The loader which was placed on the distribution diskette was compiled
for OS/2 only.  A DOS version of the loader is available on the BBS.


		       1993 Common Hotline Questions

*--------------------------- # 1 ----------------------------------------
Problem
High level langugae debugger error message "string table exceeds 64K"
when loading large symbol table.                      
Solutions...
Cannot handle symbol table greater than 64K. Reduce   
length of symbols and use less symbols.
Use -V oprtion. Use Windows debugger version.
Move local structure definitions out of header
files, selectively compile source files with -G option.
--------------------------- # 2 --------------------------------------------
Problems ...
1. The C3x Simulator getting "cannot allocate system memory" error.
Solutions...
If you are not using Windows, there is an inherent 640k byte limit. To
utilize the maximum amount of this memory, disable all resident programs
not needed for simulation.
If you are using Windows, and require large amounts of memory try breaking
the memory map into smaller segments.
--------------------------- # 3 --------------------------------------------
Problems ...
I get C3x Simulator error message "target error: #50.CMD:16 ADDR 0000"
when issuing run command.
Solutions...
Make sure that your memory map is properly defined especially in the area
of memory mapped registers. (Addresses 808020-808420)
The rom area is only 4k in length and should be included seperately.
You may have SET D_OPTIONS set to C30 instead of C31 memory map.
Include this line SET D_OPTIONS=-b -mv31 in autoexec.bat file.
--------------------------- # 4 --------------------------------------------
Problems ...
Version 4.50 of floating point C-compiler gives error message "out of memory"
when using optimization.
Solutions...
Include this line SET C_MODE = PROTECTED in your autoexec.bat file
before involking compiler. In protected mode, the compiler and assembler
can use your system extended memory.
Sometimes there are conflicts with other extended memory managers. In this
case you may have to remove them. If running under Windows, an intermittent
crashing problem may occur. This problem will be fixed in the next version.
Another option is to use OS/2 system which allows more memory allocation
for C-compiler.
*-------------------------- # 5 -----------------------------------------
Problems ...
1) What is the part number of the C2x Designers Starter Kit (DSK)
2) Is the power supply included?
3) Which C2x chip is included?
4) Type of connector on RS-232 port
Solutions...
1) TMDS3200026
2) No, it requires a UL approved class II 9 VAC @250 mA power supply with a
   2.1 mm jack connector. Typically these can be purchased at any electronics
   supply store for the hobbiest.
3) TMS320C26
4) The DSK has a DB9 female connector. The RS-232 port on the back of your
   PC can be identified as either a male DB9 or DB25.
--------------------------- # 6 --------------------------------------------
Problems ...
C31 Hex conversion utility problem.  He is trying     
to create file to program a 16 bit wide EPROM.        
Instead, he gets 2 files ( a .s and a .m1 file) each  
of which is half the length.                          
His command line is:                                  
bfrtest.out -o bfrtest.s -m -cg0 -memwidth 16 -bootorg
 0 -boot                                              
Solutions...
If a single output file is desired, then use -Byte option and set
romwidth and memwidth to 32. Further file translation can then be
handled within the prom programmer unless endianness must be reversed,
in which case, this cannot be accomplished.
--------------------------- # 7 --------------------------------------------
Problems ...
Having difficulties with the start up of the C5x XDS. 
Receiving error messages                              
  INVALID ADDRESS                                     
  PROCESSOR ACCESS TIMEOUT AT 0X005F                  
  PROCESSOR ACCESS TIMEOUT AT 0X0012                  
during execution of the hll command file and before   
they try to load code.                                
Solutions...
Since these error messages are coming as the debugger 
is coming up it indicates a fairly basic problem.     
Suggest that you verify that the device is properly   
seated and that you have good contacts to all pins.   
Make sure the emulation pins are properly connected.
Make sure that RS- and HOLD- pins are in an inactive state
and that RDY is active.
Further suggest that you verify a good clock input to 
the device and that you have all the appropriate      
pull-ups.                                             
------------------------- # 8 ----------------------------------------------
Problems ...
HOW CAN I GET DIFFERENT PIECES OF CODE IN DIFFERENT   
ADDRESS LOCATIONS USING HEX30 AND C3X BOOTLOADER.     
Solutions...
USE THE LINKER SECTIONS OPTIONS TO LOCATE ASSEMBLER SECTIONS WITHIN
THE SYSTEM MEMORY MAP. THIS IS DONE IN THE LINKER COMMAND FILE.
HEX30 DOES NOT RELOCATE SECTIONS. SEE ASSEMBLY LANGUAGE TOOLS USER'S
GUIDE FOR MORE DETAIL INFORMATION.
------------------------- # 9 ----------------------------------------------
Problems ...
The 1991 version of the C3x UG listed C30GBL devices. 
The 1992 version of the C3x UG lists C30GEL devices.  
Is this an error?                                     
Solutions...
No. We changed package types. The product we are      
shipping is the GEL package. It is a ceramic PGA      
with a glass seal.                                    
------------------------- # 10 ---------------------------------------------
Problems ...
Trying to bootload a TMS320C50 in plastic Rev 1.2     
and does not seem to load properly. Trying to load    
internal SPRAM at location 0.                         
Solutions...
This won't work for two reasons: 1) internal RAM is   
at location 800h and bootloader is at location 0.     
------------------------- # 11 ---------------------------------------------
Problems ...
When using the C40 debugger trying to invoke two debugger windows
and you want to leave B running free and quit A then invoke A
debugger again and try to halt B you get error message "CANNOT AQUIRE
EMULATOR PROCESS".
Solutions...
Be sure to execute the QUIT command within the debugger BEFORE closing
the window.
At least 8 mb of memory is recommended in OS/2.
*------------------------- # 12 -----------------------------------------
Problems ...
Cannot use block B0 on EVM tools. Get error message:  
"Invalid address -- memory outside valid range: 100"  
with the command "mem 0x100@data"                     
Solutions...
Has to setup the EVMINIT.CMD file with the B0 block   
by adding a line "ma 0x0100,1,0x1ff,RAM" to           
configure the B0 memory block for the debugger        
*------------------------------------------------------------------------
