Power Lab Universal Programmer User Manual
Power Lab Universal Programmer User Manual
Power Lab Universal Programmer User Manual
Content
Disclaimer Technical Support 1. Introduction 1.1 About this manual 1.2 Product description 1.3 Package content 2. Hardware Overview 2.1 PowerLab programmer 2.2 The Converters 3. Setting Up the Hardware 3.1 Check your computer system 3.2 Setting up the hardware 4. Installing the Software 5. Tutorial for a Quick Start 5.1 Before you start 5.2 Programming Philips P89C51UBP in DIL40 package with PowerLab A. Executing PowerLab user interface software B. Setting up communication with PC C. Configuring PowerLab system to serve your preference D. Selecting the device you want to program E. Download the data into PowerLab programmer F. Configure the process flow and related programming parameters - Process Flow - Address relocation - Special bit editor - Programming parameters - Serial code programming G. Program your device H. Save all your work to a Project 2 3 4
7 8
-1-
Disclaimer
System General has made every effort to ensure the integrity of the software and the hardware systems of our IC programmers. However, System General disclaims any liability for any errors, damages or financial losses that are incurred directly or indirectly from the use of System General IC programmers. System General reserves the right to modify or to upgrade the programming systems at any time without prior notices to the users. The customers are recommended to refer to the ReleaseNote.txt file attached to the software or to contact System General for the details.
-2-
Technical Support
It is often the case that users experience problems when installing or using a product for the first time. PowerLab comes with a user-friendly Windows software interface to make it an easy and comfortable learning task. If you have questions or run into any problems, please consult the following list for help. As with all other System General programmers, software download for new device supports are available on the web.
1. 2.
3.
4.
5.
-3-
1.0 Introduction
Thank you for choosing System General PowerLab universal programmer. If you run into any difficulties using this machine, you can consult the followings for help (1) this manual (2) on-line help (3) your local distributor. We are making every effort possible to make it a comfortable and rewarding experience using PowerLab.
-4-
ON PASS FAIL
Note: Make sure there is NO converter or device gets installed on PowerLab programmer right before you turn on the power of the system. Otherwise it may cause the Self-Test program to fail on the system.
-5-
Note: The USB driver of Windows NT for PowerLab is not available yet.
-6-
Step 6: Click on the Start button at the lower-left corner of your screen again, point your mouse to Programs | PowerLab in that sequence to display respective side menus and finally click on PowerLab to launch the program. You may want to establish a link to this program on your PC desktop for easy access in the future. Caution: The software may perform a firmware update automatically If this is the first time you invoke PowerLab software after installation, the software will check the firmware version in PowerLab to see if it is the latest one. If the currently invoked software contains a newer version of firmware than the one existing in connected PowerLab, the software will automatically update the firmware in PowerLab to make it consistent.
Tips for No USB Device Detected warning message Right after you launch the software as prescribed above, you may go ahead hit the Connect button on the communication dialog box to initiate the default USB connection. If you run into an error message like No USB device detected, you may try to resolve this by activating Hardware Manager of Windows and locating an Unknown USB device item in the list. Remove this item and restart your PowerLab. If this does not work for you and the problem remains, call your local distributor for assistance.
-7-
5.2 Programming Philips P89C51UBP in DIL40 package with PowerLab under USB communication.
A. Executing PowerLab User Interface Software
Click on the Start button at the lower-left corner of your screen again, point your mouse to Start | Programs | PowerLab in that sequence to display respective side menus and finally click on PowerLab to launch the program. You will see the picture as shown below on your PC display:
TIPS: Demo and Chip List Viewer buttons can be activated as stand-alone utilities on your PC without PowerLab physically connected. They are the perfect tools for you to practice the software and get a feeling of how the software works. Chip List Viewer becomes handy when one wants to find out if a particular device is supported on PowerLab and, if supported, what type of converter is needed to program that particular device.
At the bottom of the console window, there is an area which shows you information about the selected device. As no device selection has been made so far, there is no information in this area. However, after you make selection on the device you want to work with, the related information about the selected device will be available in the area, which makes it easy for you to make reference to.
-9-
In this tutorial, we want to program Philips P89C51UBP in DIP 40 package. To select this device, one can first narrow the device list content by clicking on Philips in the list of vendors on the left-hand side of the window. Then, move your mouse to the Search area on the upper-left corner and type 89C51 in it. Note that the searching function is automatically triggered whenever a new character is typed in. - 10 -
PowerLab User Manual There are alternative ways of narrowing your search. You can try specifying the package type of the device or finding out what devices are supported on a particular PowerLab converter. Play around with the Package, Converter and Type drop-down menus across the top of the window to find out how they can help you quickly locate the device(s) you are interested in. The Device Help button on the upper right corner of the window does not become active in this example. However, whenever PowerLab needs to advise or warn the users of some special features of the selected device, this button will become active and you are suggested to click on it to find out what you need to know before programming the selected device. Click on OK button to register your selection with PowerLab. After the device selection is made, you will note that the information columns at the bottom of the console window will display the related information about the selected device.
To specify the data file to be downloaded, provide the path of the file in your PC or use the Browse button to search and specify the data file in your system. The format of the selected data file will be automatically identified after you hit the OK button. If you want to make sure PowerLab RAM buffer gets cleared before filled with the downloaded data, check the box of Pre-fill RAM buffer with the following data and provide the content of it (default is FF in hexadecimal) in the text area right below it. This is normally recommended practice to assure the checksum value wont get messed up by some unwanted left-over data in PowerLab RAM buffer. As a matter of fact, you can also fill PowerLab RAM buffer with the intended data for programming by reading a pre-programmed master device first. This is relatively easier and not demonstrated in this example. (Simply insert the master device in PowerLab and perform a Device | Read function.)
PowerLab User Manual In most of the cases, PowerLab will configure a set of default values or settings for you, which should be applicable to the selected device in standard applications. It is only when you intend to do something no so common with the device then you need to change the default settings to others. PowerLab gives you total flexibilities to configure the followings:
At the top of the window, you are allowed to activate some general checking functions which would apply to all the operations (Program, Read, Erase, Verify and Secure) once they got configured here. Functions Applied To All operations include: Auto Start: Automatically start the operation right after the lever on the DIL socket get pressed down Insertion Check: There are two types of checking you could ask PowerLab to conduct as the first step after operation being started. Device Existence: - 12 Will only check if the device is there in the socket or not
Pin-Continuity Check:
Will check to ensure 100% connection between the device and the socket
Check ID code Always: In most of the programmable memory devices as well as some micro-controllers and logic devices, There is an unique identification code embedded inside the device, which can be read back by programmer to check if the selected device matches what actually get inserted in the socket of the programmer. In this example, we only want PowerLab to check the existence of the chip before going into any further operation on Philips P89C51UBP.
This configuration option would become handy when you want PowerLab to program a specific range of data residing in her RAM buffer, dictated by RAM Buffer Start Address and RAM Buffer End Address, into an address range on the selected device prescribed by Device Start Address and Device End Address. The standard way of setting this configuration is to decide the start and end address on the device which needs to be programmed, followed by providing the start address of PowerLab RAM buffer in which the intended source data resides. The end address of PowerLab RAM buffer is automatically set by the software to match the size of the specified memory range in the device. In this example, we dont want to do any address relocation when programming Philips 89C51 so we leave the default values without making any modification.
- 13 -
(c) Special Bit Editor (Menu item Configure | Special Bit Editor)
Depending on the device selected, Special Bit Editor allows you to configure some characteristics of the device. Different device will have different configurable characteristics which are dictated by the design philosophy of the chip. The typical characteristics Special Bit Editor will be dealing with are Secure and Protect. In this tutorial, we do not want to turn on any Secure function on Philips P89C51UBP so we leave it as it.
- 14 -
The design of the procedure to conduct a serial code programming with Powerlab was made as follows. Users are requested firstly to generate a serial data file or the so-called BSD file (Batch Serial Data) which is actually a Text file in which each line or record represents one piece of serial code information intended for one device. In this window, you are requested to create or advise the system of such a data file. Just for demonstration purpose, lets go through the procedure of creating a new serial code data file. Check the radio box of Create New Batch Serial Data File and click the OK button to bring you to the next window display. - 15 -
With this window display, you have to do the followings: (a) Fill out the information requested in the Serial Code Programming window, and; (b) Press the Create Serial Code Data File button to generate a template file (a BSD file) which you dont really need to understand but the system would know how to deal with it, then; (c) Press the Start Serial Code Programming button to initiate the real operation. For advanced users, if some very special serial code application is intended, one could resort to a more sophisticated approach of creating such a serial code data file by pressing the Advanced button. In the advanced approach, a software utility will be guiding you through a step-by-step detailed procedure of specifying the content of a BSD file and then creating such a file for you based on your specification. Luckily, for most users, it would suffice to fill out the data in the serial code programming window. We dont really want to do any serial code programming in programming Philips P89C51UBP device, so hit Cancel button to bail us out of this utility environment.
PowerLab User Manual Click on the main menu item Device to drop down a series of operations you can do now such as Read, Erase, Program, Verify, Blank Check, Continuous Program Mode and Serial Code Program Mode etc, to just name a few. In this tutorial, we will now demonstrate the programming operation and leave the rest to your own practices. Depending on the number of devices you want to program, you can select from the main menu item either (a) Device | Program, if you only want to program one device, or (b) Device | Continuous Program mode, if you want to program more than one device. Lets do this demonstration with the Continuous Program Mode. Below are what you will go through: First of all, a Special Bit Editor window as shown below will pop up to remind you of setting the applicable and optional features you would like to have with the device.
In this example, we dont want any locking function activated for the selected 89C51 device, so we just hit OK button to get to the next display. (See below) Lets look at the left half of the picture shown below, note that the selected device and target checksum value were displayed at the top left corner of the window. The graphical representation of a DIL 48 pin socket was used to illustrate the pin continuity check function in action in a real-time fashion. And down at the bottom of the window the procedure or the process flow the device will go though were also illustrated in graphical icons, based on how you have configured it in the Configure | Process flow function. On the right half of the window, the detailed failure cause statistics were shown. In addition, one can choose to activate the counter function to help keep track of the number of programmed devices, failed or passed. To enable the counter, you have to first specify the target counts of the passed and/or failed devices by pressing the Set Target button at the lower right corner of the window. Once the target count is set, click on the Start Count button on the upper right corner to trigger the counting function and start to count. A warning message box will pop up if any of the target count limits is reached. Understanding the above, all you have to do now in this example is to press the Start button right under the DIL-48 socket drawing to start programming your device. Replace the programmed device with another blank one when it is done and hit Start button again until you are done.
- 17 -
- 18 -