AN136 Silicon_Laboratories, AN136 Datasheet

no-image

AN136

Manufacturer Part Number
AN136
Description
Production Programming Options FOR Silicon LABS Devices
Manufacturer
Silicon_Laboratories
Datasheet
P
L
Relevant Devices
This application note applies to all C8051Fxxx devices.
Introduction
This application note gives an overview of produc-
tion programming options available for Silicon
Labs devices. The two main categories for pro-
gramming uninitialized devices are in-system pro-
gramming and pre-programming. The most
appropriate type of programming depends on the
number of devices being programmed and whether
access is available to the debug pins (JTAG or C2
interface) of the device. Once devices have been
programmed once, they may be updated from
application code using the UART or another inter-
face.
Key Points
In-System Programming
In-system programming involves programming
devices after installation in the end system. In this
scenario, access to the debug pins (JTAG or C2
Rev. 1.1 12/03
A B S
R O D U C T I O N
When programing a device in-system, it is
necessary that both the programming “Master”
and the device being programmed share a
common ground.
Devices only need to be programmed once.
Firmware updates can be received over any
communications protocol supported by the
system.
The Silicon Labs (EC2) Serial Adapter used for
development can also be used to program
devices during production. Silicon Labs
provides the tools necessary to streamline the
debugging platform for production.
D
E V I C E S
P
R O G R A M M I N G
Copyright © 2003 by Silicon Laboratories
interface) is provided in the end system to enable
connection to a programming “Master”. This pro-
gramming “Master” can be a Silicon Labs Serial
Adapter (EC2), custom hardware, or for JTAG
devices, a JTAG Boundary Scan test system that
supports the programming of Silicon Labs devices.
Designing a System that
Supports In-System
Programming
Whether using the Silicon Labs Serial Adapter
(EC2) or building a custom programming “Mas-
ter”, an in-system programmable system needs to
provide access to the debug pins (JTAG or C2
interface) of the target device.
The pins required to program JTAG devices are
TCK, TMS, TDI, TDO and GND. It is necessary
that both the programming “Master” and the device
being programmed share a common ground.
For C2 devices, access to C2CK, C2D, and GND
are required. See Application Note AN024 on the
Applications Web Page for more information on
pin sharing with the C2 Interface. Also, target
board schematics for C2 devices (e.g. C8051F30x-
TB, C8051F31x-TB, etc.) can be used as examples.
The schematic for each target board is available in
its User’s Guide. The User’s Guide for each Silicon
Labs Target Board can be downloaded from the
Development Tools Web Page on the Silicon Labs
Website.
Silicon Labs (EC2) Serial
Adapter and Interface Utilities
The Silicon Labs EC2 Serial Adapter used for sys-
tem development can also be used to program
devices during production.
O
P T I O N S F O R
S
I L I C O N
AN136
AN136-DS11

Related parts for AN136

Related keywords