> # Data Sheet for the DSP server image

> Server DSP image name | bin/cs.x64P

> Server Algorithms

> Codec name (alias) | aachedec
> Codec type | XDM audio decoder (ti.sdo.ce.audio1.IAUDDEC1)
> Package | ti.sdo.codecs.aachedec.ce
> Module | AACHEDEC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 1

> Thread attributes

> Priority | 4
> Stack Size | default for the alg (10240 bytes) + 8192 bytes padding

> Group ID number | 1

> Codec name (alias) | g711dec
> Codec type | XDM speech decoder (ti.sdo.ce.speech1.ISPHDEC1)
> Package | ti.sdo.codecs.g711dec.ce
> Module | G711DEC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 4
> Stack Size | default for the alg (2048 bytes) + 8192 bytes padding

> Group ID number | 1

> Codec name (alias) | g711enc
> Codec type | XDM speech encoder (ti.sdo.ce.speech1.ISPHENC1)
> Package | ti.sdo.codecs.g711enc.ce
> Module | G711ENC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 4
> Stack Size | default for the alg (2048 bytes) + 8192 bytes padding

> Group ID number | 1

> Codec name (alias) | h264dec
> Codec type | XDM video decoder (ti.sdo.ce.video2.IVIDDEC2)
> Package | ti.sdo.codecs.h264dec.ce
> Module | H264DEC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 2
> Stack Size | default for the alg (14336 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Codec name (alias) | h264enc
> Codec type | XDM video encoder (ti.sdo.ce.video1.IVIDENC1)
> Package | ti.sdo.codecs.h264enc.ce
> Module | H264ENC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 2
> Stack Size | default for the alg (12288 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Codec name (alias) | jpegdec
> Codec type | XDM image decoder (ti.sdo.ce.image1.IIMGDEC1)
> Package | ti.sdo.codecs.jpegdec.ce
> Module | JPEGDEC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 1

> Thread attributes

> Priority | 3
> Stack Size | default for the alg (8192 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Codec name (alias) | jpegenc
> Codec type | XDM image encoder (ti.sdo.ce.image1.IIMGENC1)
> Package | ti.sdo.codecs.jpegenc.ce
> Module | JPEGENC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 1

> Thread attributes

> Priority | 3
> Stack Size | default for the alg (8192 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Codec name (alias) | mpeg2dec
> Codec type | XDM video decoder (ti.sdo.ce.video2.IVIDDEC2)
> Package | ti.sdo.codecs.mpeg2dec.ce
> Module | MPEG2DEC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 2
> Stack Size | default for the alg (8192 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Codec name (alias) | mpeg4dec
> Codec type | XDM video decoder (ti.sdo.ce.video2.IVIDDEC2)
> Package | ti.sdo.codecs.mpeg4dec.ce
> Module | MPEG4DEC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 2
> Stack Size | default for the alg (8192 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Codec name (alias) | mpeg4enc
> Codec type | XDM video encoder (ti.sdo.ce.video1.IVIDENC1)
> Package | ti.sdo.codecs.mpeg4enc.ce
> Module | MPEG4ENC
> Codec package location at server build time | /OE/angstrom-dev/work/omapzoom2-angstrom-linux-gnueabi/ti-codecs-omap3530-1_1_00_01-r9/dvsdk_3_00_02_44/cs1omap3530_1_00_01/packages/
> Package version | [ 1, 0, 0 ]
> RPC protocol version | 0

> Thread attributes

> Priority | 2
> Stack Size | default for the alg (8192 bytes) + 8192 bytes padding

> Group ID number | 0

> Cache Optimizations

> manageInBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]
> manageOutBufsCache[16] | [true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, ]

> Server DMA (DMAN3)
> config

> MAXGROUPS | 0x00000014
> heapInternal | L1DHEAP
> heapExternal | DDRALGHEAP
> scratchAllocFxn | DSKT2_allocScratch
> scratchFreeFxn | DSKT2_freeScratch
> idma3Internal | false
> cpu | false
> useExternalRM | false
> numQdmaChannels | 0x00000008
> qdmaPaRamBase | 0x01C04000
> maxPaRamEntries | 0x00000080
> maxQdmaChannels | 0x00000008
> maxTCs | 0x00000008
> paRamBaseIndex | 0x00000050
> numPaRamEntries | 0x00000030
> nullPaRamIndex | 0x00000000
> qdmaChannels | [ 0, 1, 2, 3, 4, 5, 6, 7 ]
> tccAllocationMaskH | 0xFFFFFFFF
> tccAllocationMaskL | 0x00000000
> qdmaQueueMap | [ 1, 1, 1, 1, 1, 1, 1, 1 ]
> queueTCMap | [ 0, 1, 2, 3, 4, 5, 6, 7 ]
> queuePri | [ 3, 7, 0, 0, 0, 0, 0, 0 ]
> numTccGroup | [ 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
> numPaRamGroup | [ 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
> debug | false
> trace | false
> ipcKeyBase | 0x4E414D44
> allowUnshared | true

> Algorithm memory
> allocation (DSKT2)
> config

> DEFAULTSEG | IRAM
> DARAM0 | L1DHEAP
> DARAM1 | L1DHEAP
> DARAM2 | L1DHEAP
> SARAM0 | L1DHEAP
> SARAM1 | L1DHEAP
> SARAM2 | L1DHEAP
> ESDATA | DDRALGHEAP
> IPROG | L1DHEAP
> EPROG | DDRALGHEAP
> DSKT2_HEAP | DDR2
> ALLOW_EXTERNAL_SCRATCH | false
> DARAM_SCRATCH_SIZES | [ 65536, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
> SARAM_SCRATCH_SIZES | [ 65536, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
> debug | false
> cacheWritebackInvalidateFxn | BCACHE_wbInv
> trace | false

> DSP memory map

> Name | MEM_NULL
> Base | 0x00000000
> Len | 0x00000000
> Description | Place holder segment which allows user to disable heaps

> Name | CACHE_L1D
> Base | 0x10F14000
> Len | 0x00004000
> Description | Do not delete, in use by cache

> Name | L4PER
> Base | 0x49000000
> Len | 0x00100000
> Description | L4PER: L4-Peripheral Interconnect Address Space

> Name | DDR2
> Base | 0x87D00000
> Len | 0x00300000
> Description | DDR2: off-chip memory for application code and data

> Name | IRAM
> Base | 0x107F8000
> Len | 0x00008000
> Description | Internal 96K L2 RAM/CACHE in UMAP0

> Name | CACHE_L2
> Base | 0x10800000
> Len | 0x00010000
> Description | Do not delete, in use by cache

> Name | L1DSRAM
> Base | 0x10F04000
> Len | 0x00010000
> Description | Internal 80K RAM/CACHE L1 Data Memory in Region 0

> Name | CACHE_L1P
> Base | 0x10E00000
> Len | 0x00008000
> Description | Do not delete, in use by cache

> Name | RESET_VECTOR
> Base | 0x87300000
> Len | 0x00001000
> Description | RESET_VECTOR: off-chip memory for the reset vector table

> Name | DDRALGHEAP
> Base | 0x87400000
> Len | 0x00900000
> Description | DDRALGHEAP: off-chip memory for dynamic algmem allocation

> Name | L4CORE
> Base | 0x48000000
> Len | 0x01000000
> Description | L4CORE: L4-Core Interconnect Address Space

> Name | DSPLINKMEM
> Base | 0x87301000
> Len | 0x000FF000
> Description | DSPLINK: off-chip memory reserved for DSPLINK code and data

> Name | CMEM
> Base | <to be set to CMEM block address at server load time>
> Len | <to be set to CMEM block size at server load time></td></tr>
> Description | placeholder for the CMEM segment that the Arm side creates for I/O buffer exchange with the DSP; on OMAP devices the CMEM segment is automatically mapped on the DSP at DSP server load time so the DSP can access the Arm I/O buffers

> Misc settings

> Server thread priority | 1
> Server thread stack size | 16384 bytes
> autoGenScratchSizeArrays | false

> Configured DSP clock speed 430 MHz (set in the GBL.CLKOUT TCF field; may or may not match the actual DSP clock speed)
> Configuration example Add the following code to your Arm-side application configuration file (.cfg) to create an Engine from this server:

>     var Engine = xdc.useModule('ti.sdo.ce.Engine');
>     var myEngine = Engine.createFromServer(
>         "bin/cs",  // Engine name (as referred to in the C app)
>         "bin/cs.x64P", // path to server exe, relative to its package dir
>         "ti.sdo.server.cs" // full server package name
>     );

> (note: if the server was built with "Configuro", replace the shown package name with the actual server package name)