
Cirrus Logic CobraNet® Developer Tips for
1. INTRODUCTION
AN335
CS1810xx / CS4961xx Devices
This document contains a compendium of information useful in the development of products based on the Cirrus
Logic CS1810xx and CS4961xx CobraNet
engineers, which are new to the development of designs using CobraNet devices.
The information required for product development is also contained in various application notes, data sheets and
manuals available on the Cirrus Logic and CobraM C we bsit es .
The CobraMC website is a password protected site which provides support for CobraNet OEMs. Access to this site
is provided to qualified customers upon execution of a standard non -disclosure agreement (NDA) with Cirrus Logic.
Please contact your local Cirrus Logic distributor or sales representative in order to execute an NDA and gain access
to this site and any other protected materials described in this document.
®
devices. It is intended as an initial guideline for hardware and software
1.1 Required References
It is compulsory to obtain and study the following references:
1. CobraNet Programmer's Reference Manual - Contains information on the control and setup of CobraNet devices. Most of the manual is a reference describing each of the configuration variables used
to control and monitor a CobraNet interface.
2. CobraNet Hardware User's Guide - This is the data sheet for the CS181xx/CS4961xx chips. It contains a schematic for the CM-2 CobraNet modul e which ca n be use d as a re fe re nc e de sig n.
3. CobraNet Discovery User's Manual - This manual is installed with CobraNet Discovery. CobraNet
Discovery is an application used to monitor and control CobraNet devices and to update the firmware
of CobraNet devices.
4. Application Notes:
a. CobraNet Audio Routing Primer — Basic information about setting bundle n umbers and channel
assignments
b. Bundle Assignments in CobraNet Systems — Considerations and guidelines when setting up
audio bundles in a CobraNet installation. Ramifications of different settings and how they impact
network performance and utilization.
c. Integrating CobraNet into Audio Products — Basic hardware design guidelines for CobraNet
products. Much is focused on integrating CobraNet modules into audi o equipment but a wealth of
applicable information of a general nature and pertaining to chips is contained here.
d. AN312, CobraNet Clocking Modes — This application note is required for any manufacturer that
intends to use any clocking mode other than the defa ult. Proper use and support of CobraNet audio
clocks is essential to correct operation of the individual devices and the audio network.
e. AN279, Controlling and Monitoring DSP Conductor™ Configurations — This application n ote
describes how to access the R/W variables used to control the DSP parameters created with DSP
Conductor.
f. AN334, CS1810xx / CS4961xx Bing-up Instructions — This application note describes how to
get a newly manufactured CobraNet design up and running using either a pre-programmed flash or
2C®
I
debugging tools.
http://www.cirrus.com
Copyright © Cirrus Logic, Inc. 2008
(All Rights Reserved)
NOVEMBER '08
AN335REV1

2. CobraNet DISCOVERY
The CobraNet Discovery Software (also referred to as 'Disco') should be downloaded and installed. Disco
provides the following indispensable functions:
• Discovers and displays all CobraNet devices on the network.
• Provides a user configurable watch window to monitor device health.
• Provides a firmware update function.
• Assigns IP addresses to CobraNet devices. CobraNet device IP addresses are dynamic by default.
A CobraNet interface will not have an IP address when powered up. Disco is used to automatically
or explicitly assign IP addresses when needed.
• Provides a GUI interface for changing commonly used configuration variables.
• Provides an advanced interface for changing or monitoring any CobraNet variable via SNMP.
• Provides a report generation function useful for documenting configuration and troubleshooting.
Read the CobraNet Discovery manual that is installed with the program.
3. FIRMWARE
It is important to select the correct Firmware when updating the CobraNet Flash memory as the Firmware
needs to match the actual hardware.
AN335
CobraNet Firmware Matrix
Platform Firmware that will run on platform
181002 cm18100_2_11_x.bin
181012 cm18100_2_11_x.bin cm18101_2_11_x.bin
181022 cm18100_2_11_x.bin cm18101_2_11_x.bin cm18102_2_11_x.bin
CM-2
and
chip-
based
platforms
496102
496112
496122
Note:
The CO2-boards from Atterotech, Inc. use the I²S digital audio format mode on the serial audio in-
terface or SSI channels. Standard code will not
Please contact Atterotech, LLC at http://www.atterotech.com
images for Atterotech boards.
cm49610_2_11_x.bin
cm18100_2_11_x.bin
cm49610_2_11_x.bin
cm18100_2_11_x.bin
cm49610_2_11_x.bin
cm18100_2_11_x.bin
cm49611_2_11_x.bin
cm18101_2_11_x.bin
cm49611_2_11_x.bin
cm18101_2_11_x.bin
Table 1: CobraNet Firmware Matrix
work properly.
cm49612_2_11_x.bin
cm18102_2_11_x.bin
for support on binary code firmware
2 AN335REV1

AN335
1. The latest version of CobraNet firmware is available on the Cirrus Logic website or on the CobraMC
website.
http://www.cirrus.com
http://www.peakaudio.com/cobramc/
2. Specific firmware files (.bin files) are required fo r specific CobraNet devices. These are available for
web download. Figure 1 above illustrates which firmware is compatible with which CobraNet devices.
3. CobraNet firmware is stored in external FLASH memory. Firmware must be loaded to FLASH before
the device will function.
a. FLASH memory can be pre-programmed before soldering to the circuit board.
b. FLASH memory can be programmed in a development environment using an adapter card and
software provided by Cirrus logic. The software is called CID and, along with CobraNet Discovery,
can be used to load firmware to FLASH. The CID adapter connects to the CobraNet chip via the
debug header JP1- CON4 as shown in the schematic in the appendix of the CobraNet Hardware
User's Guide.
c. Refer to Cirrus Logic AN334, CS1810xx / CS4961xx Bing-up Instructions provided with the CID for
complete instructions.
4. CobraNet Discovery is primarily an end user tool and contains a feature that prevents the user from
loading incorrect firmware to a device. It may be necessary to override this feature when updating a
device's firmware in a development environment so that unrecognized firmware can be selected and
loaded. The update protection mechanism can be overridden by doing the following:
a. Make sure CobraNet Discovery is NOT running.
b. Open the cndisco.ini file found in the Program Files\Cirrus Logic\CobraNet Discovery folder
c. Add the line: Advanced Feature=1 to the [Configuration]
— Public
— Requires NDA
Note: The line is case and space sensitive.
[Configuration]
Advanced Feature=1
d. Save and close cndisco.ini.
e. Launch CobraNet Discovery.
f. Now, when the firmware selection screen is displayed, there will be a new checkbox labeled: Show
all Firmware Versions.
g. Check this option and all firmware in the firmware directory will be available for selection.
Warning: Use this option carefully as it will be possible to update incompatible firmware with
this option enabled.
h. Once this has been done, CobraNet Discovery will then enter the code vers ion into its database and
it will be recognized thereafter without need to check Show all Firmware Versions.
AN335REV1 3