4 exploring the build outputs, 3 field upgrade of flash image, 4 field upgrade of flash image -25 – Cirrus Logic CS4970x4 User Manual
Page 136

Creating a Flash Image
CS4953x4/CS4970x4 System Designer’s Guide
DS810UM6
Copyright 2013 Cirrus Logic, Inc
8-26
3. On the right, select CS497004_audio_manager_change as the Composer project.
4. Select audio_mgr_0db as mode 1, audio_mgr_minus10db as mode 2, and audio_mgr_plus10db as
mode 3.
5. Save the project
6. On the DSP Condenser Wizard menu, select Build > Create Flash Image.
Make sure that the flash image builds successfully. Scroll to the left to see the “Success” message.
Close the log window after the flash image builds.
7. On the DSP Condenser Wizard menu, select Build > Program Flash on Board. The Program Flash
log window appears.
Make sure that “Success” is the last word in the log. Scroll to the left to see the “Success” message.
8. Select Build > Run Runtime GUI Menu (current project).
8.7.2.4 Exploring the Build Outputs
After the flash image is created, you can use the DSP Condenser Wizard Build > Explore build outputs
command to see the results of the build. The following files are in the outputs folder:
•
egg.img–The Sstartup DSP code that is programmed into flash at location zero.
•
flash.img–The main flash image that contains all other DSP firmware components and
configuration files.
•
flash_update.wav–The flash.img file in .wav format, if you specified to create a .wav update file.
•
flash.h–A C .h file that contains information about the flash.img file which must be used by the
microcontroller code as it uses the high-level DSP Manager API. Specifically, it contains a mapping
of symbolic names for the various firmware components and modes defined in the condenser
project to integer values used in host-to-DSP communication.
The other files in the outputs folder are intermediate output files that are not necessary for actual
deployment or debugging.
8.7.3 Field Upgrade of Flash Image
Cirrus Logic recommends that an upgrade CD containing the .WAV file, which currently includes the
contents of flash.img only, be used to implement field upgrades of the Flash Image. The creation of the
upgrade CD is described in
. The .WAV file may contain up to five images. This format
allows for mass production of a single update CD that can be used to upgrade more than one product.
Alternatively, the CD may contain different tracks for different products, and then allow the microcontroller
to determine which track to play. Refer to the application note, AN288MPF, Serial Flash Programming
Module for more details about the field upgrade process.
8.7.3.1 Steps for Carrying Out a Field Upgrade of Flash Image
1. Program egg.img if the Serial Flash is empty. See
and
Note: The file, program_condenser_flash.bat, can be edited to program egg.img only.
2. Boot the DSP in Master Boot mode.
3. Read boot messages messages/autodetect messages as described in
If flash.img has not been programmed the boot and status messages read:
# Boot messages
word 0: ef000020
word 1: 80000001