XE8000 ProStart II User Guide

User Guide
XE8000 ProStart II
_______________________
________________________
XE8000 ProStart II
User Guide
Rev 1 February 2006
www.semtech.com
1
User Guide
XE8000 ProStart II
Table of Contents
1
2
3
4
5
6
7
8
General Introduction ..............................................................................................................................................4
1.1
Introduction.....................................................................................................................................................4
1.2
Highlights........................................................................................................................................................4
1.3
About this Guide.............................................................................................................................................4
1.4
Recommended Reading.................................................................................................................................4
1.5
Troubleshooting..............................................................................................................................................4
1.6
The SEMTECH Internet Web Site..................................................................................................................4
1.7
Customer Support ..........................................................................................................................................5
Overview and installation.......................................................................................................................................6
2.1
Introduction.....................................................................................................................................................6
2.2
Highlights........................................................................................................................................................6
2.3
What is the ProStart II ....................................................................................................................................6
2.4
ProStart II components...................................................................................................................................6
2.5
How ProStart II helps you...............................................................................................................................8
2.6
Installing ProStart II hardware........................................................................................................................8
Installing and using RIDE development Environment ...........................................................................................9
3.1
Introduction.....................................................................................................................................................9
3.2
Highlights........................................................................................................................................................9
3.3
Ride installation ..............................................................................................................................................9
3.4
Reference documentation ..............................................................................................................................9
3.5
Getting started with RIDE.............................................................................................................................10
3.6
Using the ProStart II with RIDE..................................................................................................................10
Using the ProStart II Without Launching RIDE..................................................................................................11
4.1
Introduction...................................................................................................................................................11
4.2
Highlights......................................................................................................................................................11
4.3
The XELOADER (XELoader.exe) ................................................................................................................11
4.4
XELOADER features....................................................................................................................................11
4.5
XELOADER Stand alone usage...................................................................................................................11
4.6
XELOADER GUI ..........................................................................................................................................12
4.7
Debug mode.................................................................................................................................................13
4.8
XELOADER Command line .........................................................................................................................14
4.9
Programming................................................................................................................................................15
4.10
Changing target power supply..................................................................................................................18
4.11
Getting the XE8000 checksum .................................................................................................................18
4.12
Enabling / disabling the RS232 line driver (Port B 6/7) ............................................................................18
Electrical specifications and hardware description..............................................................................................19
5.1
Introduction...................................................................................................................................................19
5.2
Highlights......................................................................................................................................................19
5.3
Hardware layout ...........................................................................................................................................19
5.4
Electrical parameters....................................................................................................................................20
5.5
Programmer parameters ..............................................................................................................................20
Programming connector description....................................................................................................................21
6.1
Introduction...................................................................................................................................................21
6.2
Highlights......................................................................................................................................................21
6.3
DB25 connector............................................................................................................................................21
6.4
Programming on-board / ISD feature ...........................................................................................................22
XE8000MP Revisions..........................................................................................................................................26
7.1
Introduction...................................................................................................................................................26
7.2
Highlights......................................................................................................................................................26
7.3
Boards Revision numbers ............................................................................................................................26
7.4
Boards Versions ...........................................................................................................................................26
7.5
Differences Between revisions.....................................................................................................................27
Socket Boards .....................................................................................................................................................28
© Semtech 2006
www.semtech.com
2
User Guide
XE8000 ProStart II
8.1
Introduction...................................................................................................................................................28
8.2
Highlights......................................................................................................................................................28
8.3
Socket board types.......................................................................................................................................28
8.4
Jumper default settings ................................................................................................................................29
8.5
External power supply ..................................................................................................................................29
8.6
External clock on OSCin ..............................................................................................................................29
8.7
Reset button .................................................................................................................................................29
9 Troubleshooting...................................................................................................................................................30
9.1
Introduction...................................................................................................................................................30
9.2
Highlights......................................................................................................................................................30
9.3
ProStart II functions......................................................................................................................................30
9.4
Programming phase .....................................................................................................................................30
9.5
Whole programming troubleshooting procedure..........................................................................................32
9.6
General ProStart II test points......................................................................................................................32
10
Schematics.......................................................................................................................................................33
Table of Figures
Figure 1 : Overview of the system (real boxes, boxes content and boards may differ from illustrations) ....................7
Figure 2 : Installation ....................................................................................................................................................8
Figure 3 : Programming Board ...................................................................................................................................19
Figure 4 : Simplified Flash programming flowchart ....................................................................................................21
Figure 5 : Frontal view of the programming connector ...............................................................................................21
Figure 6 : Reduced programming connector ..............................................................................................................22
Figure 7 : Programming in-circuit examples ...............................................................................................................25
Figure 8 : Socket board example................................................................................................................................28
Figure 9 : ProStart II basic testpoints .........................................................................................................................32
Figure 10 : XE8000MP board schematic....................................................................................................................33
Figure 11 : XE8000MP CPLD detailed schematic......................................................................................................34
Table of Tables
Table 1 : Flash programming timings .........................................................................................................................20
Table 2 : Programming connector signals ..................................................................................................................22
Table 3 : Type I I/O pin used during programming .....................................................................................................24
Table 4 : Type II I/O pin used during programming ....................................................................................................24
Table 5 : ISD pins assignment...................................................................................................................................24
Table 6 : Boards revision numbers .............................................................................................................................26
Table 7 : Difference between boards revisions ..........................................................................................................27
Table 8 : Default jumpers settings ..............................................................................................................................29
Table 9 : ProStart II basic analog values....................................................................................................................32
© Semtech 2006
www.semtech.com
3
User Guide
XE8000 ProStart II
1
GENERAL INTRODUCTION
1.1 INTRODUCTION
This first chapter contains general information that will be useful to know before using the ProStart II.
1.2
HIGHLIGHTS
The information you will gain from this chapter:
•
•
•
•
•
About this Guide
Recommended Reading
Troubleshooting
The Semtech Web Site
Customer Support
1.3 ABOUT THIS GUIDE
This document describes how to use The ProStart II as a development tool to develop and debug programs on our
XE8000 series of products.
The manual Layout is as follows:
•
•
•
•
•
•
•
•
Chapter 2 : Overview and Installation
Chapter 3 : Installing and using the GUI
Chapter 4 : Using the ProStart Without RIDE.
Chapter 5 : Electrical specifications and hardware description
Chapter 6 : Programming connectors description
Chapter 7 : Socket Boards
Chapter 8 : Troubleshooting
Chapter 9 : Schematics
1.3.1 Documentation Updates
All documentation evolves and this User's Guide is no exception. Since ProStart II and other Semtech tools are
constantly evolving to meet customer needs, some tool descriptions may differ from those in this document. Please
refer to our web site at http://www.semtech.com to obtain the latest documentation available.
1.4 RECOMMENDED READING
This user's guide describes how to use the ProStart II. Other useful documents are listed below:
Datasheets (XE88LCxx).
Semtech Application notes (AN8000.xx).
Raisonance Getting Started document.
These can be found on our web site http://www.semtech.com
1.5 TROUBLESHOOTING
See Chapter 8 for information on common problems.
1.6 THE SEMTECH INTERNET WEB SITE
Semtech provides on line support on the Semtech World Wide Web site. The web site is used by Semtech as a means
to make files and information easily available to customers. It is at http://www.semtech.com
© Semtech 2006
www.semtech.com
4
User Guide
XE8000 ProStart II
1.7 CUSTOMER SUPPORT
Customers should call their distributor, representative or field application engineer for support. Users of Semtech
products can receive assistance through several channels:
•
•
•
Distributors or Representative, Local Sales Office
Field Application Engineer (FAE)
Third party for source code
© Semtech 2006
www.semtech.com
5
User Guide
XE8000 ProStart II
2
OVERVIEW AND INSTALLATION
2.1 INTRODUCTION
This chapter gives you an overview of the XE8000 ProStart II system and then explains how to install the system
hardware.
2.2
HIGHLIGHTS
The items discussed in this chapter include:
• What is the ProStart II
• ProStart II components
• How ProStart II helps you
• Installing ProStart II hardware
2.3 WHAT IS THE PROSTART II
The ProStart II is the new development tool for the XE8000 series. The ProStart II replaces the ProStart that was used
until now. The ProStart II is a combination of a Programmer for the MTP devices and a Starter kit for the development
of user applications.
The ProStart II is the evolution of the ProStart, the first XE8000 development tool. The new features will be described
in the chapter named “how ProStart II helps you”.
2.4
PROSTART II COMPONENTS
•
•
•
XE8000EVxxx (Evaluation board for the specific XE8000 product)
XE8000MP (Multipurpose programmation and debug board will cables and power supply)
XE8000SW RIDE-Lite / Entreprise Development environment both versions available through Raisonance
website www.raisonance.com. For more information see chapter 3
© Semtech 2006
www.semtech.com
6
User Guide
XE8000 ProStart II
XE8000EVxxx
Socket Board for
chip evaluation
RIDE Lite / Entreprise
XE8000MP
Programming/Debug Board with
cables and supply
serial cable
RIDE- Lite /
Entreprise
Development
environment
9V supply
3.5 mm barrel plug
Figure 1 : Overview of the system (real boxes, boxes content and boards may differ from illustrations)
© Semtech 2006
www.semtech.com
7
User Guide
XE8000 ProStart II
2.5 HOW PROSTART II HELPS YOU
ProStart II allows you to:
•
•
•
•
•
•
2.6
Program XE88LCxxMTP devices.
Guarantee the retention specified in the datasheets
Do basic debugging using the In Socket Debugger feature of the RIDE graphical environment
Read the checksum of a chip at any time.
Change the operating voltage between 2.4 to 5 Volts.
Use the RS232 interface by simply connecting a RS232 cable to the DB9 connector labeled RS232
INSTALLING PROSTART II HARDWARE
PC with RIDE installed
Socket Board
Programming Board
1
serial cable
8
6
3.5 mm barrel plug
5
3
AC/DC converter
regulated (9VDC)
2/4/7
Figure 2 : Installation
Follow the steps in this section to install ProStart II hardware (see next chapter for software installation).
Warning
Neither the PC nor the ProStart should have power turned on at this time
1 Connect your AC/DC converter to supply / mains.
2 Verify that the on/off switch is in the “off” position
3 Connect the DC connector to the board.
4 Put the on/off switch into the “on” position.
5 The LED labeled power must be lit. (The power consumption must be around 340 mAmps)
6 Connect the RS232 cable to the connector labeled “prog” and to a free COM port of the PC.
7 Put the on/off switch in the “off” position.
8 Connect your EVxxx board.
Now the hardware is ready to work at the next power on.
Please follow the chapters 3 or 4 for the software installation.
© Semtech 2006
www.semtech.com
8
User Guide
XE8000 ProStart II
3
INSTALLING AND USING RIDE DEVELOPMENT ENVIRONMENT
3.1 INTRODUCTION
This chapter gives you the guidelines to install and use the Graphical User Interface RIDE.
3.2
HIGHLIGHTS
•
•
•
•
3.3
RIDE installation
Reference documentation
Getting started with RIDE
Using the ProStart II with RIDE
RIDE INSTALLATION
3.3.1 RIDE Software
There are two version of the RIDE environment:
RIDE Lite features (free):
•
Editor
•
Compiler, Linker, Assembler
•
ROM Monitoring
•
Simulator limited to 4k Instructions
RIDE Entreprise features (license needed):
•
All RIDE lite features plus
•
Simulator for 8kInstructions
•
Multi-project management
•
Scripting support
•
Code Compressor
3.3.2 Minimum System Requirements
Windows 98/NT/2000/Me/XP (Windows 95 is NOT supported)
3.3.3 Installing the Software
Both versions are available on Raisonance web site www.raisonance.com , simply download the latest version from the
download section and follow the instructions.
3.4 REFERENCE DOCUMENTATION
This chapter is enclosed in the manual named Getting Started with the Raisonance Development kit for the XE8000
family that comes with RIDE.
Because of one limitation of the GNU tools, it is strongly recommended that you install the software in its default
location. (GNU is the base of several elements of RIDE-Pro, including its compiler. This implementation of GNU tools
requires a specific syntax for file naming and paths.)
After installation, you may find it on the environment menu bar Help > PDF > XE-TOOLS > Getting Started XE or on
your hard drive on C:\RIDE\DOC\Getting_Started_XE.PDF or in the directory where you choose to install RIDE.
© Semtech 2006
www.semtech.com
9
User Guide
XE8000 ProStart II
3.5 GETTING STARTED WITH RIDE
This section refers to chapter 4 of the Getting Started with the Raisonance Development kit for the XE8000 family
manual
In that chapter you will see:
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Overview of RIDE
Simulator/Debugger
Starting RIDE
Creating a Project
Creating and Adding a Source File
Building the Project
Adding More Code
Starting the RIDE Debugger
Breakpoints and Measuring Execution Time
Setting Watch points
Simulation Animation
Stepping Through Code
Final Code Additions
Tracing and Displaying Waveforms
Generating Waveforms on Pins
3.6 USING THE PROSTART II WITH RIDE
This section refers to chapter 5 of the Getting Started with the Raisonance Development kit for the XE8000 family
manual
In that chapter you will see:
•
•
•
•
•
•
•
•
•
•
•
The ROM-monitor
Example’s Starting point
Loading a program
Calibrating the chip
Inserting the monitor code
Starting the monitor
Basic features
Step by step
Debugging the same program again
Invalidating the breakpoints
Tips about the monitor
© Semtech 2006
www.semtech.com
10
User Guide
XE8000 ProStart II
4
USING THE PROSTART II WITHOUT LAUNCHING RIDE
4.1 INTRODUCTION
This Chapter contains information about uploading a “.rom” “.bin” or “.axe” file to an XE8000 using the ProStart II
without launching RIDE environment.
4.2 HIGHLIGHTS
The information you will gain from this chapter:
•
•
•
•
•
•
•
•
•
The XELOADER (xeloader.exe)
XELOADER features
XELOADER stand alone usage
XELOADER GUI
XELOADER command line
Programming
Changing the target power supply
Getting the XE8000 checksum
Enabling / disabling the RS232 line driver (Port B 6/7)
4.3 THE XELOADER (XELOADER.EXE)
The RIDE XELOADER tool is an executable file produced by SEMTECH that can be run either in command line or
through a GUI version.
The file is included in the RIDE installation; you can find it under C:\RIDE\COOLRCTS\WIN32\BIN\XeLoader.EXE, or
you can download it using the following link http://www.semtech.com
4.4 XELOADER FEATURES
The XELOADER offers the following features
•
•
•
•
•
•
•
User friendly GUI interface or online command interface.
Downwards compatibility with the ProStart (first version)
Upload a “.rom” “.bin” or “.axe” file to a XE8000
Reading of the XE8000 Checksum
Computing the checksum of the source file.
Switching the PortB 6/7 on or off for the old ProStart version
Changing the Target board voltage
4.5 XELOADER STAND ALONE USAGE
In order to use XELoader in a stand alone way, i.e. on another machine, you will need to copy the following files from
C:\RIDE\COOLRCTS\WIN32\BIN\ directory
•
XELoader.EXE
•
c816-srec2rom.EXE
•
c816-objcopy.EXE
•
cygwin.DLL
On the other machine, place all these files in the same directory i.e. C:\semtech\ and then launch XELoader.exe file.
© Semtech 2006
www.semtech.com
11
User Guide
XE8000 ProStart II
4.6 XELOADER GUI
From version 2.0 the XELoader is available in a graphical version that gives a better overview of the download process.
See image below:
Display panel
Commands Panel
COM Port selection
Source code selection
Target Chip
Source code max size
Source file checksum
ProStart Kit selection
XE8000MP voltage settings
Status messages
RS232 on port B6/7
(ProStartKit I only)
Action buttons
This window comes up when the user types xeloader on the command line window.
© Semtech 2006
www.semtech.com
12
User Guide
XE8000 ProStart II
4.7 DEBUG MODE
The version 3.1 integrates a new feature called debug mode, this allows the users who are debugging their code to
program faster.
Note that you do not have to choose the mode for every usage of the XELoader, your choice will be memorized.
THE DEBUG MODE SHOULD NOT BE USED IN PRODUCTION, THE DATA RETENSION OF THE FLASH IS NOT
GUARANTEED
This feature is accessible by pressing the keys [Ctrl + r] when the XELoader window is selected
NOTE : The keys [Ctrl + o] show the command panel again.
Display panel
Mode Panel
Mode selection
Status messages
The debug mode is clearly indicated in order to avoid confusion between debug and production mode.
Display panel
Mode Panel
Mode selection
Status messages
© Semtech 2006
www.semtech.com
13
User Guide
XE8000 ProStart II
4.8 XELOADER COMMAND LINE
If the command line version fits your application better, you can still use it this way. Simply add the following option at
the end of the command line : “-c”, the GUI will still display but there is no need to interact with it.
C:\>XELoader -c
Usage: XELoader prostart_type comport [-h] | [-i] | [-t target_name] | [-u input_file] | [-s
voltage] | [-g] | [-r state]
Interfaces the XE8000 familly ProStart kits
-h
: Display this information.
prostart_type
: Specifies the ProStart type
1 for ProStartI
2 for ProStartII
com_port
: Specifies the com port (COM1, COM2, ...)
-t target_name
-i
: Specifies the target chip to upload
: Display information about XELoader and connected
ProStartKit.
: Uploads input_file to the XE8000 microcontroller
Input file formats : *.axe, *.bin, *.rom
-u input_file
-s voltage
: Sets the given voltage on the ProStart
Voltage : 2.4, 3.0, 5.0
-g
: Reads the XE8000 microcontroller Checksum
(only for ProStartII)
: Enables or disables the PortB pins 6 and 7
connection to the RS232 line driver.
state : ON, OFF (only for ProStartI)
-r state
***
XELoader Version V 3.2 Release date Apr 11 2005
***
Copyright (c) 1997-2004, SEMTECH SA, Monruz 2, CH-2000 Neuchatel, Switzerland
The “-c” option makes the command line program act the same way as previous versions.
© Semtech 2006
www.semtech.com
14
User Guide
XE8000 ProStart II
4.9
PROGRAMMING
You can see an upload example of a first generation XE8000 (XE88LC01/01A-03-05/05A) below
D:\Projet\XELoader\Release> XELoader 2 COM2 -u prostartdemo1.bin -c
ProStart Info:
-> Loader
: V 3.2
-> Mother Board : V 3.2
-> Device type : 1
File Info:
-> File Name
-> Program Size
-> File CheckSum
= C:\_Last_.axe
= 2907 instructions.
= 0x06AF8
Programming Status:
|< Erasing FLASH memory...
|||||||||
Uploading FLASH memory...
0%|<----------------->|100%
|||||||||||||||||||||
FLASH memory Upload finished...
Programing Status:
Erasing
Write Blocking Bits
Write Data
Calculated CheckSum
XE8000 CheckSum
=
=
=
=
=
1
1
1
0x06AF8
0x06AF8
Programming OK...
or
Programming Failed
© Semtech 2006
www.semtech.com
15
User Guide
XE8000 ProStart II
You can see an example upload of a second generation XE8000 (XE88LC02-06A-07A & XE1283) below
D:\Projet\XELoader\Release> XELoader 2 COM2 -u prostartdemo1.bin -c
ProStart Info:
-> Loader
: V 3.2
-> Mother Board : V 3.2
-> Device type : 2
Sending ProStartKit parameters...
File Info:
-> File Name
-> Program Size
-> File CheckSum
= C:\_Last_.axe
= 2907 instructions.
= 0x122556
Programming Status:
|< Erasing FLASH memory...
|
Uploading FLASH memory...
0%|<----------------->|100%
|||||||||||||||||||||
Checking FLASH memory programing...
FLASH memory Upload finished...
Programing Status:
Erasing
Write Blocking Bits
Write Data
Calculated CheckSum
XE8000 CheckSum
=
=
=
=
=
1
1
1
0x122556
0x122556
Programming OK...
or
Programming status : Failed
Try to download again or change the chip!
Detailed Status:
Low margin : Failed
or
Programming status : Failed
This device may be used for debugging purpose
Detailed Status:
Low margin : Ok
High margin : Failed
Nom. margin : Ok
or
Programming status : Failed
Try to download again or change the chip!
Detailed Status:
Low margin : Ok
High margin : Failed
Nom. margin : Failed
D:\Projet\XELoader\Release>
The difference between the two uploads are
•
•
Time of erasing shorter for second generation
Margin checks at the end of the upload for the second generation
© Semtech 2006
www.semtech.com
16
User Guide
XE8000 ProStart II
You can see an example upload of a second generation (XE88LC02-4kI - 07A – XE1283-4kI) below
D:\Projet\XELoader\Release> XELoader 2 COM2 -u prostartdemo1.bin –f -c
ProStart Info:
-> Loader
: V 3.2
-> Mother Board : V 3.2
-> Device type : 2
Sending ProStartKit parameters...
File Info:
-> File Name
-> Program Size
-> File CheckSum
= C:\_Last_.axe
= 2907 instructions.
= 0x122556
Programming Status:
|< Erasing FLASH memory...
|
Uploading FLASH memory...
0%|<----------------->|100%
|||||||||||||||||||||
Checking FLASH memory programing...
FLASH memory Upload finished...
Programing Status:
Erasing
Write Blocking Bits
Write Data
Calculated CheckSum
XE8000 CheckSum
=
=
=
=
=
1
1
1
0x122556
0x122556
Programming OK...
or
Programming status : Failed
Try to download again or change the chip!
Detailed Status:
Low margin : Failed
or
Programming status : Failed
This device may be used for debugging purpose
Detailed Status:
Low margin : Ok
High margin : Failed
Nom. margin : Ok
or
Programming status : Failed
Try to download again or change the chip!
Detailed Status:
Low margin : Ok
High margin : Failed
Nom. margin : Failed
D:\Projet\XELoader\Release>
© Semtech 2006
www.semtech.com
17
User Guide
XE8000 ProStart II
4.10 CHANGING TARGET POWER SUPPLY
D:\Projet\XELoader\Release> XELoader 2 COM2 -s 5.0 -c
Sending ProStartKit supply voltage...
ProStartKit power supply set to 5.0
D:\Projet\XELoader\Release>
Note: This option is available for both generations of ProStart
4.11 GETTING THE XE8000 CHECKSUM
D:\Projet\XELoader\Release> XELoader 2 COM2 –g -c
Reading target chip checksum...
XE8000 CheckSum
:
0x122556
Checksum Read OK!
D:\Projet\XELoader\Release>
Note: This option is only available for the second generation of ProStart (ProStart II)
4.12 ENABLING / DISABLING THE RS232 LINE DRIVER (PORT B 6/7)
Note: This option is only available for the first generation of ProStart
Note: For the ProStart II the enable / disable of the RS232 line driver is managed by hardware, simply connecting
a RS232 DB9 cable to the connectors enables the line driver
D:\Projet\XELoader\Release> XELoader 2 COM2 -r ON -c
Sending port B behavior...
D:\Projet\XELoader\Release> XELoader 2 COM2 -r OFF -c
Sending port B behavior...
D:\Projet\XELoader\Release>
© Semtech 2006
www.semtech.com
18
User Guide
XE8000 ProStart II
5
ELECTRICAL SPECIFICATIONS AND HARDWARE DESCRIPTION
5.1 INTRODUCTION
This chapter gives you a view of the main characteristics of the ProStart II hardware.
5.2 HIGHLIGHTS
The items discussed in this chapter include:
•
•
•
5.3
Hardware layout
Electrical parameters
Programmer parameters
HARDWARE LAYOUT
In-Circuit programming
connectors
Frontal view of the 3.5mm
barrel connector
Power +
Power -
RS232 (XE8000 UART)
interface
Programming
connector
Programm & control
connector
Power supply DC 9V
regulated
Not used
Power LED
ISD LED Prog LED
Figure 3 : Programming Board
© Semtech 2006
www.semtech.com
19
User Guide
XE8000 ProStart II
5.4 ELECTRICAL PARAMETERS
Power supply: 9VDC
Current consumption
• Without Evaluation board connected : 340mA
• With Evaluation board connected, no LED lit about 360mA
• During the programming phase peaks up to 550mA
• Consumption with all the LEDS on 680mA
Please be careful when handling the board, the regulators and the CPLD may be hot !
Values generated by the board
• High voltage for programming purposes 12VDC
• VDD for MP and EV boards : 5VDC
• VDDA for EV boards : 2.4 to 5VDC
Default EV board supply value : 3VDC
Programming supply value : 5VDC
5.5 PROGRAMMER PARAMETERS
The programming of a XE8000 MTP chip is done in 3 phases.
Erasing the flash array
Writing the blocking bits
Writing the data
Timings:
Upload 8k instruction
Best case 1erase 1write
Worst case 5erase 5 write
Type I flash
1 min 5 sec
5 min
Type II flash
47 sec
3.35 min
Table 1 : Flash programming timings
© Semtech 2006
www.semtech.com
20
User Guide
XE8000 ProStart II
Simplified programming flow
START
Programming
typeII
Erase flash
MAX 5X
Write Blocking bits
Erasing
OK?
Write Data
MAX 5X
Write OK
?
Verify high
margins
Verify low
margins
END
Figure 4 : Simplified Flash programming flowchart
6
PROGRAMMING CONNECTOR DESCRIPTION
6.1 INTRODUCTION
This chapter gives useful information about the programming signals for those XE8000 developers who want to
program their application in circuit.
6.2
HIGHLIGHTS
The items discussed in this section are:
• DB25 connector
• Programming on board
• Example of application connection for the two types
6.3 DB25 CONNECTOR
The connector below is a SUB-D 25 pin (male) connector. The pins are implemented in the following way:
Figure 5 : Frontal view of the programming connector
© Semtech 2006
www.semtech.com
21
User Guide
XE8000 ProStart II
Pin
N°
XE88LC01/01A-03-05/05A (Flash Type I)
XE88LC02-06A-07A-XE1283 (Flash Type II)
Pin Descriptions
Pin Descriptions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
VDDA
VDDA
RESET
VDD
TESTIN / RX ISD / PA0
RESERVED
TESTCK / PA1
TYPE
CK_CR / OSCIN
RESERVED
PTCK / OSCOUT
GND
VDD (COM_REL)
RESERVED
RESERVED
GND
RX (XE8000 UART) PB7
TX (XE8000 UART) PB6
TEST / VPP
TESTOUT / TX ISD / PB0
RESERVED
XE8000 USRT CLK / PB4
NC
XE8000 USRT DATA / PB5
NC
VDDA
VDDA
NRESET
VDD
TESTIN / PB2
SCAN / PB0
TEST_E / PB1
TYPE
CKMSTR / XIN
RESERVED
CKSLV / XOUT
GND
VDD (COM_REL)
RESERVED
RX ISD / PA0
GND
RX (XE8000 UART) PB7
TX (XE8000 UART) PB6
VPP
TESTOUT / TX ISD / PB3
TEST
XE8000 USRT CLK / PB4
NC
XE8000 USRT DATA / PB5
NC
Table 2 : Programming connector signals
Note about the naming conventions: All the test signal are described for the target device TESTOUT means the
output of the target device, and TESTIN the input of the target device
6.4
PROGRAMMING ON-BOARD / ISD FEATURE
It is possible to program your chip on a board. In order to complete this you must set up a connector on your
application board to the one on the programming board named K11 or K7 (smaller pitch)
IMPORTANT NOTE: These connectors are only available with the V03a revision number (see chapter
XE8000MP Revisions), for the V02a, the workaround is to make an adaptator
between the DB25 connector and a 12 pin connector.
Figure 6 : Reduced programming connector
Since there are two types of flash in the XE8000 series of products, there are two different signal sets.
© Semtech 2006
www.semtech.com
22
User Guide
XE8000 ProStart II
6.4.1
Type I Flash (XE88LC01/01A-03-05/05A)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
6.4.2
Type II Flash (XE88LC02-06A-07A-XE1283…)
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
1
2
3
4
5
6.4.3
Pin “RESET” must be connected to the pin Reset of the microcontroller. 1
Pin “ TEST/VPP” must be connected to the pin TEST of the microcontroller. 2
Pin “VDDA_1” must be connected to the pin Vbat of the microcontroller. 3
Pin “ TESTOUT” must be connected to the pin PB0 of the microcontroller.
Pin “PTCK “must be connected to the pin OSCOUT of the microcontroller.
Pin “ TESTCK” must be connected to the pin PA1 of the microcontroller.
Pin “GND” must be connected to the ground of the target board.
Pin “ TESTIN” must be connected to the pin PA0 of the microcontroller.
Pin “ CK_CR “must be connected to the pin OSCIN of the microcontroller.
Not used for Type I flash
Not used for Type I flash
Pin “TYPE” must be connected through a pull down to the ground.
Not used – Cut to avoid inverting
Not used for Type I flash
Pin “NRESET” must be connected to the pin nReset of the microcontroller. 1
Pin “ VPP” must be connected to the pin VPP of the microcontroller. 3
Pin “VDDA_1” must be connected to the pin Vbat of the microcontroller. 4
Pin “ TESTOUT” must be connected to the pin PB3 of the microcontroller.
Pin “CKSLV “must be connected to the pin XOUT of the microcontroller.
Pin “ TEST_E” must be connected to the pin PB1 of the microcontroller.
Pin “GND” must be connected to the ground of the target board.
Pin “ TESTIN” must be connected to the pin PB2 of the microcontroller.
Pin “ CKMSTR “must be connected to the pin XIN of the microcontroller.
Pin “TEST” must be connected to the pin TEST of the microcontroller.
Pin “SCAN” must be connected to the pin PB0 of the microcontroller
Pin “TYPE” must be connected through a pull up to VBAT.
Not used – Cut to avoid inverting
Pin ISD RX must be connected to PA0 of the microcontroller. 5
This pin is used to make a power-on-reset when the chip is in programming mode.
The pin provides three different voltages (5., 7, 11.6 V). Each of them is controlled by the Prostart.
The pin provides two different voltages (5 and 11.6 V). Each of them is controlled by the Prostart.
Note the fact that during the chip code uploading, VDDA_1 will be equal at 5 V.
In socket debugger pin, only used for this feature, not necessary for programming.
Programming on-board requirements
On the user application board, one capacitor must be mounted between Vreg and VSS of the microcontroller
with a value of 1uF.
To identify your type of your product, the ProStart must have a resistor on the pin type.
Tip : In order to reduce your on board programming connector you can put the resistor on your cable.
WARNING! Since the programming is done using I/O pins you must pay ensure they are connected to non
sensitive parts in your design.
The table below helps you to know which I/O pins are used during programming.
© Semtech 2006
www.semtech.com
23
User Guide
XE8000 ProStart II
I/O pin
PA0
PA1
PB0
Signal name Function during programming
TESTIN
Input
TESTCK
Input
TESTOUT
Output
Signal type
Dynamic
Dynamic
Dynamic
Table 3 : Type I I/O pin used during programming
I/O pin
PB0
PB1
PB2
PB3
Signal name
SCAN
TEST_E
TESTIN
TESTOUT
Function during programming
Input
Input
Input
Output
Signal type
Static
Dynamic
Dynamic
Dynamic
Table 4 : Type II I/O pin used during programming
For further information on the table list of XE8000 pins, please refer to the product datasheet.
6.4.4
In Socket Debugging Principle & Hardware requirements
The In Socket Debugger is an alternative to the emulator solution; it allows the user to add breakpoints to their
code, to go step by step, to upload and download the memory. This solution requires about 1k instruction more.
Since the ISD adds code to your code you need to be able to download the code with the monitor add in and
breakpoints. Practically it means that the programming pins are used for the ISD.
To use this feature the target circuit communicates with the XE8000MP with a software UART over two I/O pins
or the hardware UART peripheral. (you can choose one ore the other in RIDE).
The I/O pins used for this feature vary between type I and type II flash.
See the table below for the pin usage (RX - TX is seen from the XE8000 chip).
Flash Type
I
II
Software UART
ISD RX
PA0
PA0
ISD TX
PB0
PB3
Hardware UART
ISD RX ISD TX
PB7
PB6
PB7
PB6
Table 5 : ISD pins assignment
Important note: Since The pin PA0 doesn’t appear in the programming pins for the type II flash, you must add
PA0 to your programming connector if you plan to do on-board In Socket Debugging
© Semtech 2006
www.semtech.com
24
User Guide
XE8000 ProStart II
Example of application connection for the two types
PCB_E013v03a See Chapter
PCB_E013v02a XE8000MP Revisions
Programming
cable max 5cm
Figure 7 : Programming in-circuit examples
© Semtech 2006
www.semtech.com
25
User Guide
XE8000 ProStart II
7
XE8000MP REVISIONS
7.1 INTRODUCTION
This chapter presents the different revisions of XE8000MP, and describes the difference between them.
7.2
HIGHLIGHTS
•
•
•
Boards revision number
Boards available
Improvements / Differences
7.3 BOARDS REVISION NUMBERS
On each Semtech PCB there is a board name and a revision number you can find it under the Semtech logo see
picture below:
Board name:
PCB-E013
Revision number: V02a
Board name:
PCB-E013
Revision number: V03a
7.4 BOARDS VERSIONS
There are currently two revision numbers:
Revision number
Release date
Comments
V02a
June 2002
Replaced by the V03a in March 2003
V03a
March 2003
Actual board delivered
Table 6 : Boards revision numbers
© Semtech 2006
www.semtech.com
26
User Guide
XE8000 ProStart II
7.5 DIFFERENCES BETWEEN REVISIONS
Revision number
Differences / Improvements
•
Not recommended for programming (no data retention
warranty)
V01a
•
No ISD feature
V02a
•
First version
•
PCB Cleanup, wires suppressed
•
Functionality of programming connectors included
•
HV modification included
ProStart I & earlier
V03a
Table 7 : Difference between boards revisions
© Semtech 2006
www.semtech.com
27
User Guide
XE8000 ProStart II
8
SOCKET BOARDS
8.1 INTRODUCTION
This chapter presents the main characteristics of the Evxxx boards
8.2
HIGHLIGHTS
•
•
•
•
•
Socket board types
Jumper default settings
External power supply
External clock on xin
Reset button
8.3 SOCKET BOARD TYPES
Each product in the XE8000 series corresponds to a different socket board named EVxxx. Detailed descriptions can be
found in the relevant datasheet. The following is a description of the common parts you will always find on the different
versions.
Each pin of the XE8000 microcontroller is accessible on the edge of the board. The user application board can be
connected to this board with the external headers.
Leds on I/O ports
+ -
External power supply pins
Test area
Battery socket (CR1620 size)
On / Off switch for the battery
or external power supply
Jumpers that allows
the user to disconnect
the ports from LED’s
Jumper that allows to
measure the
Microcontroller
consumption
Jumper for an external
clock source
EEPROM supply
jumper
EEPROM
Jumpers that allows
the user to disconnect
the port from buttons
Connector to the
motherboard
Jumpers to disconnect
the EEPROM
Ground bridge for probes
Reset button
Buttons on input
port
Figure 8 : Socket board example
© Semtech 2006
www.semtech.com
28
User Guide
XE8000 ProStart II
8.4
JUMPER DEFAULT SETTINGS
On all the future versions of daughter boards there will be different jumper configurations. However there are
some common jumpers that will be described in the table below.
Jumper name
version
dependent
version
dependent
br_consumption
near the xtal
near the
EEPROM
EEPROM
supply
Function
LEDs on I/O ports
Open
LEDs disabled
Closed
LEDs enabled
Default
Closed
Buttons on input port
Buttons disabled
Buttons enabled
Closed
Used to put an ampere meter in
serial with uC VBAT
Allows the user to put another xtal
source on xin and xout
connects PB4 & PB5 to the
EEPROM
Disconnects VBAT for the
EEPROM
No uC VBAT
(measurement)
User Xtal
VBAT connected to uC
Closed
Board Xtal
Closed
Disconnected
Connected
Closed *
Disconnected
Connected
Closed
Table 8 : Default jumpers settings
*Note that when you’re using the EEPROM, you must disable the PB4 and PB5 LED’s.
When you’re using a battery supply, it’s suggested to disable the LEDs.
8.5 EXTERNAL POWER SUPPLY
The evaluation board can be powered with a 2.4 to 5 V lithium battery.
The battery needs to be inserted in the correct way.
When connected to the motherboard the evaluation board is automatically powered by the motherboard, the battery or
external power supplies are bypassed.
The on-off button allows the user to the switch between the battery supply and the external source supply.
When the on-off button is set to external source supply, the battery is not subject to discharge.
8.6 EXTERNAL CLOCK ON OSCIN
To operate the microcontroller with an external oscillator connected to the OSCin pin, first remove the “external clock
source” jumper on the socket board. Once completed, connect the external oscillator to the header on pin “OSCIN”.
8.7 RESET BUTTON
This enables users to restart the program.
When the power supply is turned off and on, the power on reset feature can be disturbed by the time of the Vreg
capacitor discharge (Vreg capacitor = 1uF).
To ensure a better start-up of the chip, it is advised to use the reset button in order to ensure the reset functionality.
© Semtech 2006
www.semtech.com
29
User Guide
XE8000 ProStart II
9
TROUBLESHOOTING
9.1 INTRODUCTION
This section is intended to help the ProStart II users to perform basic hardware debugging
9.2 HIGHLIGHTS
This chapter contains the following points:
•
•
•
•
ProStart II functions
Programming phase
Whole programming troubleshooting procedure
General ProStart II test procedure
9.3 PROSTART II FUNCTIONS
The power LED is not on.
Possible causes :1 The “on/off” switch is in “off” position
2 The power supply is not at 9VDC
3 The power supply is inverted (short circuit on the supply, diode protected)
4 The fuse has blown
All the XE8000MP LEDS are lit at startup
Possible causes :1 When using an XE8000EV108 eval board, remove the EEPROMS jumpers br6 & br5 and
push the RESET button of the XE8000MP
The ProStart II doesn’t answer to the PC
Possible causes :1 If the power LED is off, see Problem 1
2 The serial cable is disconnected at one end
3 The selected COM port is wrong
4 The serial cable is not connected to PROG labeled DB9 connector (near power supply sw)
5 Press the reset button on the XE8000MP, the LEDs labeled ISD & PROG must blink shortly
then they must be off. If this is not the case the board must be shipped back to your
SEMTECH representative.
The ProStart II CPLD and regulators seems to be too hot
Causes :
1 The power consumption of the CPLD is relatively high, thus it is hot but it’s normal
temperature for this element.
2 The regulators are at their maximum output current thus their temperatures are also normal.
9.4 PROGRAMMING PHASE
The ProStart II answers no chip detected
Possible causes :1 If you are using a EV board verify that the chip is present and correctly inserted.
2 If the chip is correctly inserted, try to move the chip a little bit and close the zif socket again.
3 For on-board programming, verify that the programming signals are correctly connected
specially TESTIN and TESTOUT
4 Short circuit the resistor labelled R13 on the XE8000MP.
5 Are your XELoader & Firmwares up to date? see on http://www.semtech.com
The ProStart II answers that it is unable to erase flash.
Possible causes :1 Does the Prog LED light up? If not check if the power supply is not limited in current.
2 The chip is faulty
3 The High voltage is not correctly generated. Please measure the 12 Volts on the B2
testpoint
4 Are your XELoader & Firmwares up to date? see on http://www.semtech.com
The ProStart II answers “unable to write the data”.
Possible causes :1 The chip has been written to more than the maximum numbers of cycles, you can try to
restart the upload
2 Are your XELoader & Firmwares up to date? see on http://www.semtech.com
The ProStart II answers “unable to read checksum”.
© Semtech 2006
www.semtech.com
30
User Guide
XE8000 ProStart II
Possible causes :1 Is an Evxxx board connected to the programming connector?
2 If the answer on point 1 is yes does the Prog LED blink shortly during the read? If not verify
if your power supply can deliver at least 1Amp. If it’s still not working, the board must be
shipped back to your SEMTECH representative.
3 Are your XELoader & Firmwares up to date? see on http://www.semtech.com
© Semtech 2006
www.semtech.com
31
User Guide
XE8000 ProStart II
9.5
WHOLE PROGRAMMING TROUBLESHOOTING PROCEDURE
The following procedure determines whether or not the Prostart is properly functioning.
During the erasing mode (the first 2 seconds), you can check the voltage (multimeter) on the pin 19 TEST/VPP
of the programming connector. Your voltage should be equal to ~11.6 V.
You can check the voltage on VReg too (dependent on the socket). This voltage must be between 1.7 volt and
2.4 volt. If it's not, this is either related to a faulty chip, a badly connected Vreg capacitor or at the start, the chip
was badly inserted.
During the program mode, the consumption has to be about 550mA. If it’s not then again it may be due to a
faulty component.
9.6
GENERAL PROSTART II TEST POINTS
9.6.1
Behavior
At the power on the power LED must be on and the LEDS prog and ISD must blink shortly. If that is not the
case please check your power supply (regulated 9VDC an the polarity (GND outside)), then check if the current
is not limited by the power supply.
9.6.2
Voltages
There are 4 different voltages on the ProStart II
Pt.
Name
Value
Tolerance
0
GND
1
VDDD
5.00
+/- 0.010
2
VDDA
3
+/- 0.075
3
VTEST
VDDA
4
HV
12
+/- 0.010
Unit
VDC
VDC
VDC
VDC
Table 9 : ProStart II basic analog values
3
4
1
2
0
Figure 9 : ProStart II basic testpoints
© Semtech 2006
www.semtech.com
32
User Guide
XE8000 ProStart II
10
Schematics
Figure 10 : XE8000MP board schematic
© Semtech 2006
www.semtech.com
33
User Guide
XE8000 ProStart II
XEMICS
Figure 11 : XE8000MP CPLD detailed schematic
© Semtech 2006
www.semtech.com
34
User Guide
XE8000 ProStart II
© Semtech 2006
All rights reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The
information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and
may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof
does not convey nor imply any license under patent or other industrial or intellectual property rights. Semtech. assumes no
responsibility or liability whatsoever for any failure or unexpected operation resulting from misuse, neglect improper installation,
repair or improper handling or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond
the specified maximum ratings or operation outside the specified range.
SEMTECH PRODUCTS ARE NOT DESIGNED, INTENDED, AUTHORIZED OR WARRANTED TO BE SUITABLE FOR USE IN
LIFE-SUPPORT APPLICATIONS, DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF SEMTECH
PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE UNDERTAKEN SOLELY AT THE CUSTOMER’S OWN RISK.
Should a customer purchase or use Semtech products for any such unauthorized application, the customer shall indemnify and
hold Semtech and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs damages and
attorney fees which could arise.
Contact Information
Semtech Corporation
Wireless and Sensing Products Division
200 Flynn Road, Camarillo, CA 93012
Phone (805) 498-2111 Fax : (805) 498-3804
© Semtech 2006
www.semtech.com
35