Home | ADSP-21xx Development Tools

Chapter: Discrete Time Systems and Signal Processing : Digital Signal Processor

ADSP-21xx Development Tools

Various development tools such as assembler , linker, debugger, simulator are available for ADSP-21xx family.

ADSP-21xx DEVELOPMENT TOOLS

 

Various development tools such as assembler , linker, debugger, simulator are available for ADSP-21xx family.

 

SYSTEM BUILDER

 

The system builder is the software development tool for describing the configuration of the target system's memory and I/O. The ranges for program memory(PM) and data memory(DM) are described.

 

The program memory space is allotted with 16 K of memory for instructions and 16K for data. The data memory space is also divide into two blocks. The lowest 2K is the dual -port memory that is shared by both processors. Each processor has an additional 14K of private data memory.

 

.SYSTEM

 

.ADSP2108

 

{PROGRAM MEMORY SECTION}

 

.SEG/ROM/ABS=0/PM/CODE                                     CODE_AREA

 

.SEG/RAM/ABS=0X4000/PM/DATA                          DATA_AREA

 

{DATA MEMORY SECTION

 

.SEG/RAM/ABS=0/DM/DATA                                    COMMON

 

MEMORY

.SEG/RAM/ABS=0X800/DM/DATA                             PRIVATE

 

MEMORY

 

.PORT/RAM/ABS=0x100                                    DATA MEMORY        IO

 

PORT

 

.PORT/RAM/ABS=0x200                                    AD PORT

 

.PORT/RAM/ABS=0x300                                    DA PORT

 

.ENDSYS

 

The sample system configuration file (.SYS) is shown. .SEG directive is used to declare the system's physical memory segments and its characteristics. .PORT directive declares the memory mapped IO port. .ENDSYS indicates the end of .SYS file.

 

ASSEMBLER

 

The assembler translated source code into object code modules. The source code is written in assembly language file (.DSP) Assembler reads .DSP file and generates four output filed with the same root name. Object file(.OBJ), Code File(.CDE), Initialization File (.INT), List File(.LST) etc. The file can be assembled by the following command.

 

ASM21FILTER

File ExtensionApplication

 

1 .OBJ : Binary codes for instruction, Memory allocation and symbol declaration, Addresses of the instructions

2 .CDE : Instruction opcodes

3 .INT : Initialization information

4 .LST  : Documentation

 

LINKER

 

The linker is a program used to join together object files into one large object file. The linker produces a link file which contains the binary codes for all the combined modules. The linker uses .INT, .CDE, .OBJ and .ACH file and generates three files. Map listing file (.MAP), Memory Image File (.EXE) and Symbol table (.SYM).

 

LD21 FILTER -a SAMPLE -e FILTER

 

Here Filter is the input file name, sample.ACH file is system architecture file name and FILTER.EXE is output file name.

 

DEBUGGER

 

A debugger is a program which allows user to load object code program into system memory, execute the program and debug it. The debugger allows the user to look at the contents of registers and memory locations etc. We can change the contents of registers and memory locations at run time, generates breakpoints etc.

 

SIMULATOR

 

The multiprogramming environment can be tested using the simulator. When simulated, the filter program produces output data and stores in common data memory. Simulator command is used to dump form data memory to store the dual port data memory image on disk which can be reloaded and tested.


Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Discrete Time Systems and Signal Processing : Digital Signal Processor : ADSP-21xx Development Tools |

Related Topics



Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.