Global Sources
EE Times-India
Stay in touch with EE Times India
 
EE Times-India > Amplifiers/Converters
 
 
Amplifiers/Converters  

Production programming options for Cygnal devices

Posted: 24 Jun 2003     Print Version  Bookmark and Share

Keywords:Embedded 

/ARTICLES/2003JUN/A/2003JUN24_AMD_PD_CT_ID_AN.PDF

CYGNAL Integrated Products, Inc. AN036 - 1.0 DEC02

4301 Westbank Drive Copyright ) 2002 Cygnal Integrated Products, Inc.

Suite B-100 (All rights reserved)

Austin, TX 78746

www.cygnal.com

Production Programming Options for Cygnal Devices

CYGNALApplicationNote

Introduction

This application note gives an overview of

production programming options available for

Cygnal devices. The two main categories for

programming uninitialized devices are in-sys-

tem programming and pre-programming. The

most appropriate type of programming

depends on the number of devices being pro-

grammed 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 interface.

Key Points

7 When programing a device in-system, it is

necessary that both the programming

"Master" and the device being

programmed share a common ground.

7 Devices only need to be programmed once.

Firmware updates can be received over any

communications protocol supported by the

system.

7 The Cygnal (EC2) Serial Adapter used for

development can also be used to program

devices during production. Cygnal

provides the tools necessary to streamline

the debugging platform for production.

In-System Programming

In-system programming involves program-

ming devices after installation in the end sys-

tem. In this scenario, access to the debug pins

(JTAG or C2 interface) is provided in the end

system to enable connection to a programming

"Master". This programming "Master" can be

a Cygnal Serial Adapter (EC2), custom hard-

ware, or for JTAG devices, a JTAG Boundary

Scan test system that supports the program-

ming of Cygnal devices.

Designing a System that

Supports In-System

Programming

Whether using the Cygnal Serial Adapter

(EC2) or building a custom programming

"Master", 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 nec-

essary 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

Relevant Devices

This application note applies to all C8051Fxxx devices.

AN036 - Production Programming Options for Cygnal Devices

2 AN036 - 1.0 DEC02 ) 2002 Cygnal Integrated Products, Inc.

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 Cygnal Tar-

get Board can be downloaded from the Devel-

opment Tools Web Page on the Cygnal

Website.

Cygnal (EC2) Serial Adapter

and Interface Utilities

The Cygnal EC2 Serial Adapter used for sys-

tem development can also be used to program

devices during production.

Command Line Download Utility

If an EC2 Serial Adapter is used to program

devices, Cygnal provides a Command Line

Download utility `FlashUtilCL.exe' that sup-

ports downloading an Intel-HEX file to the tar-

get device. It also supports devices connected

in a JTAG chain. The Command Line Down-

load utility is available from the Development

Tools Web Page on the Cygnal Website.

Custom Software Using the Cyg-

nal Utilities DLL

The Command Line Download program uti-

lizes the functions provided by the Cygnal

Utilities DLL. This DLL may be used to write

custom software (in Visual Basic or Visual

C++, for example) that uses the EC2 Serial

Adapter to program devices. For more infor-

mation about the Cygnal Utilities DLL, see

application note AN017 on the Development

Tools Web Page.

Pre-Programming Devices

Pre-programmed devices are useful for end

systems that do not provide access to the

debug pins on the device. Devices are pro-

grammed before being installed in the end sys-

tem. Pre-programming options include

Cygnal's in-house programming service, creat-

ing custom hardware to program devices, or

using a third party programmer.

In-House Programming

For production orders, Cygnal offers a pro-

gramming service for all C8051F devices. The

customer can install the pre-programmed

devices directly in the end system without pro-

viding access to the debug pins. Contact your

local sales representative for more information

about this service. A list of local sales repre-

sentatives is available from the "Contact Us"

page on the Cygnal Website.

Custom Hardware and Third

Party Programmers

Another option for production programming is

to build custom hardware to program the

device prior to installation in the end system.

This type of programmer would typically have

one or more sockets to hold unprogrammed

devices. The FLASH programming techniques

in application notes AN005 (JTAG devices)

and AN027 (C2 devices) can be used to imple-

ment a custom programmer.

Support for Cygnal devices is also being inte-

grated into third party production program-

mers from suppliers such as BPMicrosystems

and Data I/O

. Contact these suppliers

for more information about their programming

solutions.

AN036 - Production Programming Options for Cygnal Devices

) 2002 Cygnal Integrated Products, Inc. AN036 - 1.0 DEC02 3

Updating Firmware

All Cygnal devices have the ability to program

FLASH from application code. Once uninitial-

ized devices have been programmed, firmware

can be updated using techniques described in

this application note or through application

code. Firmware updates through application

code can receive the update through any of the

communications peripherals such as the

UART, SMBus/I2C, etc. See application note

"AN012 - UART In-Application Code Load-

ing Examples" for an example UART firm-

ware updater.





Comment on "Production programming options for C..."
Comments:  
*  You can enter [0] more charecters.
*Verify code:
 
 
Webinars

Seminars

Visit Asia Webinars to learn about the latest in technology and get practical design tips.

 

Go to top             Connect on Facebook      Follow us on Twitter      Follow us on Orkut

 
Back to Top