Programming a Serial Flash Device for Master or Slave Boot Operations
CDB47xxx User’s Manual
DS886DB9
Copyright 2012 Cirrus Logic, Inc
5-4
The two JP1 checkboxes allow the user to do one of the following:
• JP1 Pin 12--Check this box to three-state JP1 Pin 12 signal (mute) which leaves the audio outputs
unmuted on the CDB47xxx. This actions allows the user to install an external mute control such as a
DSP GPO.
• JP1 Pin 16-- Check this box to three state JP1 Pin 16 signal (flash_hold) which releases the DSP
SPI Flash (U17).
• Check both boxes
• Leave both boxes unchecked (Default)-Allows the microcontroller to control both JP1 Pin 12 and
JP1 Pin 16 as necessary.
4. Finally, Click the
Go
button and DSP Composer will compile the project into a binary image, deploy
the image to the Flash device, and initiate a Master Boot of the CS470xx DSP on the CDB47xxx
Board.
5.1.2 Using Micro-Condenser to Create and Load a Flash Image for Slave
Mode Operations
Cirrus Logic’s Micro-Condenser application allows the user to program the MCU SPI Flash (U14) through
the USB port. Once the Flash device is programmed, the user is able to control the CS470xx DSP in
Slave mode while disconnected from the PC. The user can then load and compile up to 20 DSP
Composer projects with up to 20 snapshots for each project into the microcontroller Flash. The user can
then run any of the loaded projects/snapshots onto the DSP running in Slave mode and control the
operation of the firmware using the CDB47xxx on-board navigation buttons and dials.
5.1.2.1 Micro-Condenser Components
• flasher_micro.exe
This PC tool builds the Flash image containing the DSP Composer deliverables. This tool uses an
XML file as input.
• flash_image.xml
This is the input file to flasher_micro.exe. This file specifies the following:
- The desired output format (for example, .txt, .c)
- Path and folder name of the DSP Composer deliverable
- Input/output Fs and display_name of the project
- The snapshots that are to be built into the Flash image, as well as the display name
(display_name) of the image can be displayed on the CDB47xxx Board LCD
- The start address of the Flash image
- Whether little or big endian format is used
- Optional addition of project or snapshot names to the Flash image
5.1.2.2 Micro-Condenser Restrictions/ Conventions
The Micro-Condenser application has the following restrictions/conventions:
• DSP Composer projects and snapshots currently are not identified by the name of the project or
snapshot on the CDB47xxx LCD. They are identified by a number that is derived from the order in
which the project/snapshot appears in the XML file used by Micro-Condenser when it generates the
Flash image. A useful practice is to compile a list of the projects/snapshots created and the number
associated with them in the XML file.
• Snapshot 0 is the initial configuration that is generated by DSP Composer when the
Go
button is
pressed and is stored in the file, initial.cfg