Working with UNIVERSAL PROGRAMMER ANALYSER - UPA 2.0

IF YOU WANT TO USE PROGRAMMER OR ANALYSER YOU MUST CALIBRATE UPA2.0 FIRST!

**********************************************************
   CALIBRATION
It's very important to calibrate UPA2.0 properly. 
To do that go to Tools/Options and select LPT and Com port.
Try first auto calibration and check these values:
Delay Value: must be 100000 and more
Sampling Rate: from 1000 up to 4000  ( 1-4 us )
For my CPU AMD K6 II 300 and MB Accorp these values are:
Delay Value:  452997
Sampling Rate: 1462 ( 1.462 us ) The computer scan LPT port every 1.462 us!
If your values are different, you can enter them manual. Try different values. After that push the test button to check calibration.
The programmer uses delay value and the logic analyser- sampling rate value. 

**********************************************************
   Hardware
Hardware part is compatible with Logic Tester and EEPROM Utilities and for the devices that they support. 
If you want, you may continue to use this old hardware for 
I2C; SPI; SDE2506; 93Cxx X 8; 7002

CXK10XX, TC89XXX, X2444/30, 77005/7 devices need an up-grade of the microwire adapter:  You have to connect pin 7 to +5V through a 4.7k resistor and disconnect pin 6 and connect it to Output 4. For 77005/7 connect pin 7 to ground.
You may use the powerful hardware test option to build and check the hardware parts.

**********************************************************
   Analyser
To start analyser click over the green icon on the tool bar.
Now computer reads Input1 - Input4. Sampling rate depends on CPU and ISA bus.
It's usually 1.5us. Note that all interrupts are forbidden and the computer seems dead. Press the hardware Stop Button to exit.
Hotkeys are available:
   Up - zoom in
   Down - zoom out
   End - zoom all
   Home - move respect to mouse position
   PgUp, PgDn, Left, Right, Home - move 
   Dragging with left mouse button to zoom in window.
   Dragging with right mouse button to measure the time.

**********************************************************
   Protocol Monitor
First open an analyser file ( *.ltf ) or a new one ( see above ). Select a device and click the green icon on the right. Data transfer will be shown on the list box.
For I2C protocol you must use Input1 for CLOCK, Input2 for DATA
For Microwire protocol use Input1 - CLOCK, Input2 - DataIn, Input3 - DataOut, Input4 - CS

**********************************************************
   Emulator
In this mode you may use your computer like an EEPROM. Open appropriate dump in hex editor. Remove the original EEPROM chip. Select en EEPROM device and click the green icon on the right then switch on the power. Press the stop button to exit.

Warning!
   As LPT port is not fast enough, Emulation and Protocol Monitor may not work properly. 

All Outputs are open drain so you may need to connect a pull-up resistor

**********************************************************
   Hex Editor
There are six buttons and two edit boxes from below.
Offset - Show offset as dec or hex
Offset Edit Box - Current Offset/Goto offset (Enter a value and press Enter)
Data - Show numbers as hex, dec, or bin
Data Edit Box - Current data/Edit current data
Size - Show the size of the file
Over/Insert - Set over or insert edit mode
Find/Replace - Show/Hide Find/Replace panel
Monitor - Show/Hide Data monitor panel

Find/Replace Panel
Hex/Text - Set data type to search ( hex or text )
Hex/Text Edit Box - Edit text or hex search data
Note: Text searching is not case sensitive if you want to search case sensitive data first enter a text then press Hex/Text button to convert it in hex.
Next - Search next
Prev - Search previous
Replace Edit Box - Replace data  
Replace - Replace from current position
All - Replace all

Data Monitor Panel
8/16/32/64 Bits - Show numbers as 8/16/32/64 bits unsigned, signed or float
Motorola/Intel - Set Motorola or Intel byte order

Clipboard
Is possible to copy selected numbers in clipboard and then  paste them 
to another UPA2.0 Window or Notepad. If you want to copy text to clip board first select then click with the right mouse button over the text area and select copy. If you want to copy hex then click over hex area. To copy a dump select Copy as text form menu bar.
Here some examples

Copy and paste hex
0C 00 00 00 69 6E 74 65 6C 68 65 78 2E 74 78 74 8D 57 DB 6E DB 38 

Copy and paste text
....intelhex.txtWn8

Copy and paste a dump
000018:  00 00 0C 00 00 00 69 6E  ......in
000020:  74 65 6C 68 65 78 2E 74  telhex.t
000028:  78 74 8D 57 DB 6E DB 38  xtWn8

000018:  000 000 012 000 000 000 105 110  ......in
000020:  116 101 108 104 101 120 046 116  telhex.t
000028:  120 116 141 087 219 110 219 056  xtWn8

00000024:  000 000 012 000 000 000 105 110  ......in
00000032:  116 101 108 104 101 120 046 116  telhex.t
00000040:  120 116 141 087 219 110 219 056  xtWn8

000018:  00000000 00000000 00001100 00000000 00000000 00000000 01101001 01101110  ......in
000020:  01110100 01100101 01101100 01101000 01100101 01111000 00101110 01110100  telhex.t
000028:  01111000 01110100 10001101 01010111 11011011 01101110 11011011 00111000  xtWn8

You can paste text to UPA2.0 Hex Editor too.
For example
020680:  59 6F 75 20 63 61 6E 20  You can 
020688:  70 61 73 74 65 20 74 65  paste te
020690:  78 74 20 74 6F 20 55 50  xt to UP
020698:  41 32 2E 30 20 48 65 78  A2.0 Hex
0206A0:  20 45 64 69 74 6F 72 20   Editor 
0206A8:  74 6F 6F 2E 0D 0A 46 6F  too...Fo
0206B0:  72 20 65 78 61 6D 70 6C  r exampl
0206B8:  65 0D 0A                 e..     


**********************************************************
   Adapters
I2C Adapter - i2cadp.gif
24c01, 24c02, 24c04, 24c08, 24c16, 24c32, 24c64, 24c65, 24c128, 24c256, 24c512 
X2400, 
sda2516, sda2526, sda2546 

Microwire ( 3-wire ) Adapter - microadp.gif
93c46, 93c56, 93c57, 93c66, 93c76, 93c86
7002
TC89101, TC89102
X2430, X2444,
77007, 77005 - pin 7 to GND
CXK1011, CXK1012, CXK1013  
GRN-001   

SPI Adapter - spiadp.gif
25c080, 25c160, 25c320, 25c640
25c010, 25c020, 25c040

SDE2506 Adapter - sde06adp.gif
sde2506

Motorola Adapter - mc05adp.gif
MC68HC05B4, MC68HC05B6, MC68HC05B8, MC68HC05B16, MC68HC05B32, 

PIC Adapter - picadp.gif
PIC12C508, PIC12C509, PIC12CE518, PIC12CE519, PIC16C554, PIC16C556, PIC16C558, PIC16F83, PIC1684, PIC16F877

If you find out any bugs or have any questions please feel free to email me.
I hope you will enjoy UPA2.0 !


Copyright (c) 2001 ELRA-Kovatchev ET

http://www.elrasoft.com
Email: support@elrasoft.com
  

