beautypg.com

2 code image (.uld) files, 1 .uld file naming conventions – Cirrus Logic AN298 User Manual

Page 4

background image

4

AN298RC14

2.2 Code Image (.uld) Files

2.2 Code Image (.uld) Files

Each overlay is a separate code image file (.uld) that is loaded individually into the DSP. To change the functionality of the
application, only the overlay of interest needs to be loaded. For example the Post Processing overlay can be exchanged
from SPP to APP by reloading only the Post Processing overlay. This reduces the system response time to user changes
as well as the code image storage requirements.

Note:

There are 4 different memory configurations pertaining to the program RAM size (most code is in ROM). The
different memory configurations are denoted by p2, p4, p6, and p8 (p for program memory, 2, 4, 6, and 8 are the
number of kilo-words, 1 word = 32 bits). Increasing P RAM decreases Y RAM. Each overlay is denoted with the
p2, p4, p6, or p8 in the .uld file name to indicate which memory configuration is used.

WARNING: Memory configuration must be consistent across all overlays (OS, MPM, VPM, and PPM).

2.2.1

.uld File Naming Conventions

A generic template for representing .uld file can be represented by the following file name:

AA_48BBB_pC_DD_EE_rcFF.uld

2.2.1.1 .uld File Name Variables

AA = Technology name (os, mb, app, spp, …)

BBB = minimum chip required to run the firmware loaded by the .uld file (520, 560, dv2, au2)

520 means this will run on a 520, 540, & 560

540 means this will run on a 540 & 560 (Not on a 520)

560 means this will run on a 560 (Not on a 520 or 540)

dv2 means this will run on a CS48DV2x DSP only

au2 mean this will run on a CS48AU2B only

C = memory configuration (2, 4, 6, or 8)

This is the amount of PRAM in Kilowords (1 word = 32-bits). More PRAM means less YRAM.

The memory configurations can be broken down into the following categories:

P2

X Memory - 8kx32 SRAM, 8kx32 DROM

Y Memory - 14kx32 SRAM, 8kx32 DROM

P Memory - 2kx32 SRAM, 32kx32 DROM

P4

X Memory - 8kx32 SRAM, 8kx32 DROM

Y Memory - 12kx32 SRAM, 8kx32 DROM

P Memory - 4kx32 SRAM, 32kx32 DROM

P6

X Memory - 8kx32 SRAM, 8kx32 DROM

Y Memory - 10kx32 SRAM, 8kx32 DROM

P Memory - 6kx32 SRAM, 32kx32 DROM

P8

X Memory - 8kx32 SRAM, 8kx32 DROM

Y Memory - 8kx32 SRAM, 8kx32 DROM

P Memory - 8kx32 SRAM, 32kx32 DROM

DD = Firmware version