AN136 [SILICON]
PRODUCTION PROGRAMMING OPTIONS FOR SILICON LABS DEVICES; 制造编程选项用于Silicon Labs的器件型号: | AN136 |
厂家: | SILICON |
描述: | PRODUCTION PROGRAMMING OPTIONS FOR SILICON LABS DEVICES |
文件: | 总4页 (文件大小:133K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
AN136
PRODUCTION PROGRAMMING OPTIONS FOR SILICON
LABS DEVICES
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.
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.
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.
Key Points
•
•
•
When programing a device in-system, 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.
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.
Silicon Labs (EC2) Serial
In-System Programming
Adapter and Interface Utilities
In-system programming involves programming
devices after installation in the end system. In this
scenario, access to the debug pins (JTAG or C2
The Silicon Labs EC2 Serial Adapter used for sys-
tem development can also be used to program
devices during production.
Rev. 1.1 12/03
Copyright © 2003 by Silicon Laboratories
AN136-DS11
AN136
Command Line Download Utility
Custom Hardware and Third
Party Programmers
If an EC2 Serial Adapter is used to program
devices, Silicon Labs provides a Command Line
Download utility ‘FlashUtilCL.exe’ that supports
downloading an Intel-HEX file to the target device.
It also supports devices connected in a JTAG chain.
The Command Line Download utility is available
from the Development Tools Web Page on the Sili-
con Labs Website.
Another option for production programming is to
build custom hardware to program the device prior
to installation in the end system. This type of pro-
grammer would typically have one or more sockets
to hold unprogrammed devices. The FLASH pro-
gramming techniques in application notes AN005
(JTAG devices) and AN027 (C2 devices) can be
used to implement a custom programmer.
Custom Software Using the Silicon
Labs Utilities DLL
Support for Silicon Labs devices is also being inte-
grated into third party production programmers
from suppliers such as BPMicrosystems
<www.bpmicro.com>
and
Data I/O
The Command Line Download program utilizes
the functions provided by the Silicon Labs Utilities
DLL. This DLL may be used to write custom soft-
ware (in Visual Basic or Visual C++, for example)
that uses the EC2 Serial Adapter to program
devices. For more information about the Silicon
Labs Utilities DLL, see application note AN017 on
the Development Tools Web Page.
<www.dataio.com>. Contact these suppliers for
more information about their programming solu-
tions.
Updating Firmware
All Silicon Labs devices have the ability to pro-
gram FLASH from application code. Once unini-
tialized devices have been programmed, firmware
can be updated using techniques described in this
application note or through application code. Firm-
ware updates through application code can receive
the update through any of the communications
Pre-Programming Devices
Pre-programmed devices are useful for end sys-
tems that do not provide access to the debug pins
on the device. Devices are programmed before
being installed in the end system. Pre-programming
options include Silicon Lab’s in-house program-
ming service, creating custom hardware to program
devices, or using a third party programmer.
2
peripherals such as the UART, SMBus/I C, etc. See
application note “AN012 – UART In-Application
Code Loading Examples” for an example UART
firmware updater.
In-House Programming
For production orders, Silicon Labs offers a pro-
gramming service for all C8051F devices. The cus-
tomer can install the pre-programmed devices
directly in the end system without providing access
to the debug pins. Contact your local sales repre-
sentative for more information about this service. A
list of local sales representatives is available from
the “Contact Us” page on the Silicon Labs Website.
2
Rev. 1.1
AN136
Notes:
Rev. 1.1
3
AN136
Contact Information
Silicon Laboratories Inc.
4635 Boston Lane
Austin, TX 78735
Tel: 1+(512) 416-8500
Fax: 1+(512) 416-9669
Toll Free: 1+(877) 444-3032
Email: productinfo@silabs.com
Internet: www.silabs.com
The information in this document is believed to be accurate in all respects at the time of publication but is subject to change without notice.
Silicon Laboratories assumes no responsibility for errors and omissions, and disclaims responsibility for any consequences resulting from
the use of information included herein. Additionally, Silicon Laboratories assumes no responsibility for the functioning of undescribed features
or parameters. Silicon Laboratories reserves the right to make changes without further notice. Silicon Laboratories makes no warranty, rep-
resentation or guarantee regarding the suitability of its products for any particular purpose, nor does Silicon Laboratories assume any liability
arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation conse-
quential or incidental damages. Silicon Laboratories products are not designed, intended, or authorized for use in applications intended to
support or sustain life, or for any other application in which the failure of the Silicon Laboratories product could create a situation where per-
sonal injury or death may occur. Should Buyer purchase or use Silicon Laboratories products for any such unintended or unauthorized ap-
plication, Buyer shall indemnify and hold Silicon Laboratories harmless against all claims and damages.
Silicon Laboratories and Silicon Labs are trademarks of Silicon Laboratories Inc.
Other products or brandnames mentioned herein are trademarks or registered trademarks of their respective holders.
4
Rev. 1.1
相关型号:
©2020 ICPDF网 联系我们和版权申明