background image

 

 

PICmicro

®

 microcontrollers 

This interface corresponds with Microchip application notes TB013, TB017, TB016: How to 
Implement ICSP

TM

 Using PIC16CXXX OTP (PIC12C5XX OTP)(PIC16F8X Flash) MCUs. 

These application notes describes requirement for target system with In-system programming 
device and ISP programmer. 
Following signals are use for In-system programming of PICmicro

®

 microcontrollers. 

  MCLR\ / VPP reset / switch to programming mode 

 RB6 (GP1)  clock 

  RB7 (GP0) 

data input / output 

 VDD  power supply 

 GND ground 

When PICmicro

®

 device is programmed, pin MCLR\ / VPP is driven to approximately 12 V. 

Therefore, the target system must be isolated from this voltage provided by programmer. 
RB6 and RB7 signals are used by the PICmicro

®

 for In-system programming, therefore target 

system mustn’t affect these signals during In-system programming to avoid programming 
errors. 
Marginal verify is used after programming. Programmer must verify the program memory 
contents at both minimal and maximal power supply, therefore VDD pin of PICmicro

®

 must be 

isolated from rest of target system during programming.  
 
B+K PRECISION’s recommended circuit for PICmicro:  
 

R1
R2

VSS

C1
22n

VSS

R7
47R

D1

VSS

VDD

VSS

R6 1k

D2

1N4148

VSS

R11
22k

C2

1u/25V

VDD

RB6

RB7

MCLR/VPP

VSS

I1
PICxxxxx

DATA

CLK

VDD

MCLR/VPP

ISP connector

target device

target system

reset circuit

VSS

*1

 

 

Note: External reset circuit is necessary only if VDD power-up slope is too slow. 

Other 

Attention to multitasking OS's (Windows 95/98/Me/NT/2000/XP). There is needful for regular 
running of control program for these B+K PRECISION programmer that printer port, on which 
is programmer connected, must be reserved for this programmer only. Otherwise, any other 
program must not simultaneously to use (or any way to modify) this printer port. 
  

 

132

Summary of Contents for 844USB

Page 1: ...ive concurrent multiprogramming system with ISP capability 866B Universal 48 pindrive Programmer with USB LPT interface and ISP capability 844USB Universal 40 pindrive Programmer with USB interface and ISP capability 848A Universal memory Programmer ...

Page 2: ...m on any medium for any purpose Information provided in this manual is intended to be accurate at the moment of release but we continuously improve all our products Please consult manual on www bkprecision com B K Precision assumes no responsibility for misuse of this manual B K Precision reserves the right to make changes or improvements to the product described in this manual at any time without...

Page 3: ...e recommend you consult the context sensitive HELP within the control program rather than the printed User s Manual Revisions are implemented in the context sensitive help before the printed User s Manual Dear customer thank you for purchasing one of the B K PRECISION programmer _____________________________________ Please download actual version of manual from B K PRECISION WEB site www bkprecisi...

Page 4: ...rogrammed device 33 In system serial programming by 866B 33 Multiprogramming by 866B 34 Selftest and calibration check 34 Technical specification 36 844USB 41 Introduction 42 844USB elements 43 Connecting 844USB to PC 44 Manipulation with the programmed device 44 In system serial programming by 844USB 44 Selftest 46 Technical specification 46 848A 50 Introduction 51 848A elements 52 Connecting 848...

Page 5: ...C 117 Common notes 127 Software 128 Hardware 129 ISP In System Programming 129 Other 132 Troubleshooting and warranty 134 Troubleshooting 135 If you have an unsupported target device 136 Warranty terms 136 5 ...

Page 6: ...of target device Buffer part of memory or disk used for temporary data storage Printer port type of PC port parallel which is primarily dedicated for printer connection USB port type of PC port serial which is dedicated for connecting portable and peripheral devices HEX data format format of data file which may be read with standard text viewers e g byte 5AH is stored as characters 5 and A which m...

Page 7: ...Introduction 7 ...

Page 8: ...mmable devices Using build in in circuit serial programming ISP connector the programmer is able to program ISP capable chips in circuit It has design which allows easily add new devices to the device list Nice value for money in this class 848A is a little and powerful programmer for EPROM EEPROM Flash EPROM NVRAM serial EEPROM and static RAM tester All these programmers work with almost any IBM ...

Page 9: ...tely programmer USB cable LPT cable internal power supply external power supply diagnostic POD ISP diagnostic POD ISP cable ZIF anti dust cover software CD User s manual on CD registration card shipping case Package included 859 1x 1x 4x 4x 866B 844USB 848A optional accessories PC requirements Minimal PC requirements 859 866B 844USB 848A OS Windows 2000 98 98 95 CPU P4 PIII PIII PII RAM MB 256 128...

Page 10: ...n of control program for programmers For other version see Help About control program Note For convenience we suggest that you use a supplementary multi I O card to provide an additional printer port LPT2 for example in order to avoid sharing the same LPT port between printer and programmer Free disk space requirements depends also on used IC device size For large devices the required free space o...

Page 11: ...e to not use the most current algorithm can decrease your programming yields more improper programmed target devices and may often increase programming times or even affect the long term reliability of the programmed device We are making mistakes too Our commitment is to implement support for these new or modified parts before or as soon as possible after their release so that you can be sure that...

Page 12: ...Quick Start 12 ...

Page 13: ... for source files manipulation settings and viewing directory changes drives changes start and finish address of buffer for loading and saving files and loading and saving projects Menu Buffer is used for buffer manipulation block operation filling a part of buffer with string erasing checksum and of course editing and viewing with other items find and replace string printing Menu Device is used f...

Page 14: ...4 check if the device is blank click on 5 program device click on 6 additional verify of device click on 14 ...

Page 15: ...Detailed description 15 ...

Page 16: ...859 16 ...

Page 17: ...odule You can be sure the next devices support require the software update and if necessary simple package converter programming adapter therefore the ownership cost are minimized Using built in in circuit serial programming ISP connector the programmer is able to program ISP capable chips in circuit 859 provides very competitive price coupled with excellent hardware design for reliable programmin...

Page 18: ...nsertion test signature byte check and some special functions autoincrement production mode start immediately after insertion of chip into socket All known data formats are supported Automatic file format detection and conversion during load of file The rich featured autoincrement function enables to assign individual serial numbers to each programmed device or simply increments a serial number or...

Page 19: ... JTAG chain ISP VME It is important to remember that in most cases new devices require only a software update due to the 859 is truly universal programmer With our prompt service you can have new devices can be added to the current list within hours Advanced design including protection circuits original brand components and careful manufacturing and burning allows us to provide a one year warranty...

Page 20: ...by removing the physical connection to the programmer but the content of actually programmed cell may remains undefined Don t unplug the target device from the ZIF socket during work with devices LED BUSY shine In system serial programming by 859 Optimized advanced pindriver deliver programming performance without overshoot or ground bounce for all device technologies Pin drivers operate down to 1...

Page 21: ...section Support Application Notes Note Pin no 1 is signed by triangle scratch on ISP cable connectors 859 ISP cable Warnings Use only attached ISP cable When you use other ISP cable other material length programming may occur unreliable 859 can supply programmed device pin 1 of ISP connector and target system pin 19 20 of ISP connector with limitation see Technical specification ISP connector 859 ...

Page 22: ...r ISP connectors 2 must be inserted as 48 pins device Interconnect 20 pins connector of Diagnostic POD for ISP connectors 2 with an ISP connector of the programmer with an ISP cable included in delivery programmer package Be sure that pins are interconnected properly i e 1 1 2 2 20 20 Run selftest of ISP connector in PG4UW Programmer Selftest ISP connector Calibration test For optimal results with...

Page 23: ... state machine three D A converters for VCCP VPP1 and VPP2 controllable rise and fall time VCCP range 0 8V 1A VPP1 VPP2 range 0 26V 1A selftest capability ZIF sockets pindriver 48 pin DIL ZIF Zero Insertion Force socket accepts both 300 600 mil devices up to 48 pin pindrivers 48 universal VCCP VPP1 VPP2 can be connected to each pin perfect ground for each pin FPGA based TTL driver provides H L CLK...

Page 24: ... EE PROM XCFxxx XC17xxxx XC18Vxxx EPCxxx AT17xxx 37LVxx 1 Wire E E PROM DS1xxx DS2xxx PROM AMD Harris National Philips Signetics Tesla TI NV RAM Dallas DSxxx SGS Inmos MKxxx SIMTEK STKxxx XICOR 2xxx ZMD U63x series PLD Altera MAX 3000A MAX 7000A MAX 7000B MAX 7000S MAX7000AE MAX II PLD Lattice ispGAL22V10x ispLSI1xxx ispLSI1xxxEA ispLSI2xxx ispLSI2xxxA ispLSI2xxxE ispLSI2xxxV ispLSI2xxxVE ispLSI2x...

Page 25: ...o PIC10xxx PIC12xxx PIC16xxx PIC17xxx PIC18xxx PIC24xxx dsPIC series Microcontrollers Motorola Freescale HC11 series HC908 series both 5 wire All wire HCS08 HCS12 Microcontrollers NEC uPD7xxx series Microcontrollers Philips LPC2xxx series LPC series 89xxx series Microcontrollers Scenix Ubicom SXxxx series Microcontrollers TI MSP430 both JTAG and BSL series MSC12xxx series PLD Lattice ispGAL22xV10x...

Page 26: ...or highly needed chips support and or bugs fixes Available nearly daily Main features revision history session logging on line help device and algorithm information Device operations standard intelligent device selection by device type manufacturer or typed fragment of part name automatic ID based selection of EPROM Flash EPROM blank check read verify program erase configuration and security bit p...

Page 27: ...I HEX Altera POF JEDEC ver 3 0 A e g from ABEL CUPL PALASM TANGO PLD OrCAD PLD PLD Designer ISDATA etc JAM JEDEC STAPL Format JBC Jam STAPL Byte Code STAPL STAPL File JEDEC standard JESD 71 VME ispVME file VME2 0 VME3 0 GENERAL supply voltage AC 100 240V max 1 2A 50 60Hz power consumption max 60W active dimensions 361x234x56 mm 14 2x9 2x2 2 inch weight programmer 3 5kg 7 7 lb temperature 5 C 40 C ...

Page 28: ...866B 28 ...

Page 29: ... 0 1 1 port or any standard parallel printer port Programmer can utilize power of both USB high speed port and IEEE1284 ECP EPP high speed parallel port Support of both USB LPT port connections gives you the choice to connect the 866B programmer to any PC from latest notebook to older desktop without USB port 866B provides a banana jack for ESD wrist straps connection to easy to implement the ESD ...

Page 30: ...of prefixes and suffixes at the chips for each supported chip are provided The software provide a full information for ISP implementation Description of ISP connector pins for currently selected chip recommended target design around in circuit programmed chip and other necessary information The remote control feature allows being Pg4uw software flow controlled by other application either using BAT...

Page 31: ...rompt service you can have new devices can be added to the current list within hours Advanced design including protection circuits original brand components and careful manufacturing and burning allows us to provide a one year warranty on parts and labor for the 866B limited 25 000 cycle warranty on ZIF socket 866B elements 1 48 pin ZIF socket 2 work result LEDs 3 power sleep LED 4 YES Button 5 IS...

Page 32: ...e But you can install a second multi I O in your computer thus obtaining a supplementary printer port says LPT2 So your printer may remain on LPT1 while the programmer on LPT2 Switch on the PC Connect the mains connector of the power supply to a mains plug and then connect the mini DIN connector to the programmer s connector labeled 15VDC At this time all work result LEDs and POWER LED light up su...

Page 33: ... destroyed by forced interruption of the control program reset or switch off PC by removing the physical connection to the programmer but the content of actually programmed cell may remains undefined Don t unplug the target device from the ZIF socket during work with device LED BUSY shine In system serial programming by 866B For general definition recommendation and direction about ISP see section...

Page 34: ...get device will be executed Note H L read 866B driver R1 H L driver in programmer pin of ISP connector read driver in programmer R2 PU PD driver in programmer R3 R1 180R R2 1k3 R3 22k Multiprogramming by 866B During installation of Pg4uw at Select Additional Tasks window you check if is allowed install 866B multiprogramming control support For start of 866B multiprogramming is necessary run specia...

Page 35: ...n ISP connector of the programmer with an ISP cable included in delivery programmer package Be sure that pins are interconnected properly i e 1 1 2 2 20 20 Run selftest of ISP connector in PG4UW Programmer Selftest ISP connector Calibration test For optimal results with programmer we recommend you also undertake every 6 months an extended test to check the calibration using 48 Pins Calibration tes...

Page 36: ...A based TTL driver provides H L CLK pull up pull down on all pindriver pins analog pindriver output level selectable from 1 8 V up to 26V current limitation overcurrent shutdown power failure shutdown ESD protection on each pin of socket IEC1000 4 2 15kV air 8kV contact continuity test each pin is tested before every programming operation ISP connector 20 pin male type with missinsertion lock 6 TT...

Page 37: ...87x42 87x48 87x49 87x50 series Microcontrollers 51 series 87xx 87Cxxx 87LVxx 89Cxxx 89Sxxx 89LVxxx all manufacturers Philips LPC series Microcontrollers Intel 196 series 87C196 KB KC KD KT KR Microcontrollers Atmel AVR AT90Sxxxx ATtiny ATmega series Microcontrollers Cypress CY7Cxxxxx CY8Cxxxxx Microcontrollers ELAN EM78Pxxx Microcontrollers MDT 1xxx and 2xxx series Microcontrollers Microchip PICmi...

Page 38: ...eneration Package support support all devices in DIP with default socket package support includes DIP SDIP PLCC JLCC SOIC SOP PSOP SSOP TSOP TSOPII TSSOP QFP PQFP TQFP VQFP QFN MLF SON BGA EBGA FBGA VFBGA UBGA FTBGA LAP CSP SCSP etc support devices in non DIP packages up to 48 pins with universal adapters programmer is compatible with third party adapters for non DIP support Programming speed Devi...

Page 39: ...heck ID byte check special production mode automatic start immediately after device insertion lot of serialization modes more type of incremental modes from file mode custom generator mode statistic count down mode Buffer operations view edit find replace fill copy move byte swap word dword split checksum byte word print File load save no download time because programmer is PC controlled automatic...

Page 40: ...AL operating voltage 110 250V AC power consumption max 20W active about 2W sleep dimensions 197x140x56 mm 7 7x5 5x2 2 inch weight 1 1kg 2 5 lb temperature 5 C 40 C 41 F 104 F humidity 20 80 non condensing 40 ...

Page 41: ...844USB 41 ...

Page 42: ... for all supported devices Pin drivers operate down to 1 8V so you ll be ready to program the full range of today s advanced low voltage devices The programmer performs device insertion test wrong device position in socket and contact check poor contact pin to socket before it programs each device These capabilities supported by signature byte check help prevent chip damage due to operator error 8...

Page 43: ...ign around in circuit programmed chip and other necessary information Various socket converters are available to handle device in PLCC SOIC SSOP TSOP TSSOP TQFP QFN MLF and other packages Advanced design of the 844USB programmer and careful manufacturing and burning allows us to provide a one year warranty on parts and labor for the programmer limited 25 000 cycle warranty on ZIF socket 844USB ele...

Page 44: ... of the programmed device in ZIF socket is shown on the picture near ZIF socket on the programmer s cover The programmed device is necessary to insert into the socket also to remove from the socket when LED BUSY light off Warning 844USB programmer hasn t protection devices which protect the content of programmed device against critical situations for example power failures and PC failure interrupt...

Page 45: ...te Pin no 1 is signed by triangle scratch on ISP cable connectors 844USB ISP cable Warnings When you use 844USB as ISP programmer don t insert device to ZIF socket When you program devices in ZIF socket don t insert ISP cable to ISP connector Use only attached ISP cable When you use other ISP cable other material length programming may occur unreliable 844USB can supply programmed device only but ...

Page 46: ... 0 1 1 compatible interface selftest capability ZIF socket pindriver 40 pin DIL ZIF Zero Insertion Force socket accepts both 300 600 mil devices up to 40 pins pindriver 40 TTL pindrivers universal GND VCC VPP pindriver FPGA based TTL driver provides H L CLK pull up pull down on all pindriver pins level H selectable from 1 8 V up to 5V continuity test each pin is tested before every programming ope...

Page 47: ...ATtiny AT90Sxxx ATmega series 1 2 Microcontrollers Cypress CY8Cxxxxx Microcontrollers ELAN EM78Pxxx Microcontrollers EM Microelectronic 4 and 8 bit series microcontrollers Microchip PICmicro PIC10xxx PIC12xxx PIC16xxx PIC17Cxxx PIC18xxx dsPIC series 8 40 pins 1 2 microcontrollers Scenix Ubicom SXxxx series Programmer through ISP connector Serial E E PROM IIC series Microcontrollers Atmel AT89Sxxx ...

Page 48: ...lgorithms are available at additional cost Algorithm updates software updates are available approx every 4 weeks free of charge Main features revision history session logging on line help device and algorithm information Device operations standard intelligent device selection by device type manufacturer or typed fragment of part name blank check read verify program erase configuration and security...

Page 49: ...CE HEX JEDEC ver 3 0 A for example from ABEL CUPL PALASM TANGO PLD OrCAD PLD PLD Designer ISDATA etc GENERAL operating voltage 15 20V DC max 500mA power consumption max 6W active 1 4W inactive dimensions 160x97x35 mm 6 3x3 8x1 4 inch weight without external power adapter ca 500g 17 65 oz temperature 5 C 40 C 41 F 104 F humidity 20 80 non condensing 49 ...

Page 50: ...848A 50 ...

Page 51: ...s programming verification at the marginal level of supply voltage which obviously improves programming yield and guarantees long data retention 848A is driven by an easy to use control program with pull down menus hot keys and on line help Selecting of device is performed by its class by manufacturer or simply by typing a fragment of vendor name and or part number Standard device related commands...

Page 52: ... on both connectors to counter connectors This is very important mainly for the connector to programmer Though replacing the printer cable by the programmer cable is uncomfortable it is not recommended to operate the 848A programmer through a mechanical printer switch Use of an electronic printer switch isn t possible Connect the mains connector of the power supply or wall plug power supply self t...

Page 53: ...ammer hasn t protection devices which protect the content of programmed device against critical situations for example power failures and PC failure interrupted cable Moreover a device is usually destroyed in the programming mode due to forced interruption of the control program run Reset or switching the computer off due to removing the connecting cable or unplugging the programmed device from th...

Page 54: ...ice list on www bkprecision com I C Tester Static RAM 6116 624000 Programming speed Device Operation Time 27C010 programming and verify 37 sec AT29C040A programming and verify 45 sec AM29F040 programming and verify 160 sec M25P020 programming and verify 130 sec Conditions P4 2 4GHz ECP Windows XP SOFTWARE Algorithms only manufacturer approved or certified algorithms are used Algorithm updates soft...

Page 55: ...c file type identification Supported file formats unformatted raw binary HEX Intel Intel EXT Motorola S record MOS Exormax Tektronix ASCII SPACE HEX GENERAL operating voltage 12 15V DC max 500mA power consumption max 6W active dimensions 137x65x40 mm 5 4x2 6x1 6 inch weight without external power adapter ca 200g 7 06 oz temperature 5 C 40 C 41 F 104 F humidity 20 80 non condensing 55 ...

Page 56: ...Setup 56 ...

Page 57: ... program requires correctly installed USB driver We recommended install software before connecting programmer to PC to avoid unwanted complication during installation Software setup Insert delivered CD to your CD drive and install program starts automatically if not run setup exe Install program will guide you through the installation process and will do all the necessary steps before you can firs...

Page 58: ...Step 2 Click on Next button Step 3 For change default folder click on Browse button select the destination folder Then click on Next button 58 ...

Page 59: ...ault folder click on Browse button select the destination folder Then click on Next button Step 5 Check if Install Multiprogramming control support is selected Change default setting if you want Then click on Next button 59 ...

Page 60: ...Step 6 Check your setting and then click on Install button Step 7 Installation process will start 60 ...

Page 61: ...Step 8 For first time installation of current version of driver only Click on Continue Anyway button For Windows Vista Click Install this driver software anyway 61 ...

Page 62: ...Step9 Click Finish button to finish setup Step 10 For Windows Vista only Click This program installed correctly 62 ...

Page 63: ...ew hardware and ask user to select driver installation method automatically or manually To detect programmer correctly control program installation CD must be inserted to computer s CD ROM drive and following steps have to be done Step 1 Directly connect USB LPT cable to type B USB LPT port on programmer Step 2 Directly connect USB LPT cable to type A USB2 0 LPT port on PC high speed recommended S...

Page 64: ...ill start with Found new hardware wizard For Windows XP Service Pack 2 users only Select No not this time and then click on Next button For all Select Install the software automatically and then click on Next button 64 ...

Page 65: ...Step 6 Click on Continue Anyway button For Windows Vista Click Install this driver software anyway 65 ...

Page 66: ... wizard will launch for each programmer one time for 859 4 times Hardware setup will be continued with Step 5 Note If a different USB port on the PC is used for the next connection of programmer Found new hardware wizard will launch again and install new USB drivers 66 ...

Page 67: ...Pg4uw 67 ...

Page 68: ...cted any B K PRECISION s programmer Program Pg4uw is common for all the B K PRECISION s programmers hence program try to find all supported programmers Notes When Pg4uw is started program is checked for its integrity Than the program display a standard user menu and waits for your instructions If the control program cannot communicate with the programmer an error message appears on the screen incl...

Page 69: ...f device device operations device read blank check programming remote control application connection and disconnection and other Content of Log window can be saved to file concurrently while information is written to Log window This option can be set by menu Options General options and tab Log file in dialog General options Panel Addresses Panel Addresses contains information about actual address ...

Page 70: ...t manually by button YES placed directly on programmer automatically programmer automatically detects device removing and insertion of new device For more details please look at Programmer Automatic YES Panel Device Contains information about currently selected device The information includes device name type and manufacturer device adapter needed to use with currently selected programmer referenc...

Page 71: ...le to the buffer You can choose the format desired binary MOTOROLA MOS Technology Tektronix Intel extended HEX ASCII space JEDEC and POF The control program stores a last valid mask for file listing You can save the mask into the config file by command Options Save options Checking the check box Automatic file format recognition tells program to detect file format automatically When program can t ...

Page 72: ...t significant value in the sequence is stored first For example in a big endian computer the two bytes required for the hexadecimal number 4F52 would be stored as 4F52H in storage address 1000H as 4FH is stored at storage address 1000H and 52H will be at address 1001H In a little endian system it would be stored as 524FH 52H at address 1000H and 4FH at address 1001H Number 4F52H is stored in memor...

Page 73: ... of dialog This window is for displaying information about currently selected project file in dialog Load project Project information consists of manufacturer and name of the first device selected in the project date and time of project creation user written description of project it can be arbitrary text usually author of project and some notes Note for projects with serialization turned on Seria...

Page 74: ...otected mode projects For more detailed information about project passwords see Options Protected mode Project information consists of manufacturer and name of the first device selected in the project date and time of project creation user written description of project it can be arbitrary text usually author of project and some notes The first upper window contains information about currently sel...

Page 75: ... edit user defined project description only Device name manufacturer project date and program version are generated automatically by program File Load encryption table This command loads the data from binary file from disk and it saves them into the part of memory reserved for an encryption security table File Save encryption table This command writes the content of the memory s part reserved for ...

Page 76: ... lower even address and or end address is moved on higher odd address F6 print buffer F7 find string max length 16 ASCII characters F8 find and replace string max 16 ASCII chars F9 change current address F10 change mode view edit F11 switch the mode of buffer data view between 8 bit and 16 bit view It can be also do by mouse clicking on the button to the right of View Edit mode buffer indicator Th...

Page 77: ... Backward searches toward the beginning In view mode searches all buffer Origin specifies where the search should start Find Replace dialog box Enter the search string in the Text to find string input box and enter the replacement string in the Replace with input box In Options box you can select prompt on replace if program finds instance you will be asked before program change it Origin specifie...

Page 78: ...Buffer Move block This command is used to move specified block of data in current buffer on new address Target address needn t be out from source block addresses Source address block or part will be filled by topical blank character Buffer Swap block This command swaps a high and low order of byte pairs foursomes or nibbles inside bytes depending on swap mode selected by user Swap operation is per...

Page 79: ...ll be filled with random data The reserved key Shift Ctrl F2 will bring out this menu from any menu and any time Buffer Duplicate buffer This command performs duplicate buffer content in range of source EPROM to range of destination EPROM This procedure is suitable if there is used for example 27C512 EPROM to 27C256 EPROM position Note The procedure always uses buffer start address 00000h Buffer C...

Page 80: ... Note If word size was selected a low byte of checksum value will be written on address specified in box Insert address and a high byte will be written on address incremented by one Calculate Click on the button Calculate starts calculating checksums for selected block in buffer No writes into the buffer are executed Calculate insert Click on the button Calculate insert starts calculating checksum...

Page 81: ... delimiter of filter items fragments has OR function If you want to enter exact filter string including spaces use quotation mark character Example We need to see the devices that need no adapter and we know that such devices have following note string in Adapter column of device list Note in ZIF socket of programmer The suitable filter to show only wished devices is in ZIF including quotation mar...

Page 82: ...s command If you wish display additional information about the current device use button Device info or an Ctrl F1 key This command provides a size of device organization programming algorithm and a list of programmers including auxiliary modules that supported this device You can find here package information and other general information about current device too Select device Only selected manuf...

Page 83: ...D Do not insert into the socket a device that is not an EPROM or Flash It may be damaged when the programmer applies the high voltage We don t recommend apply this command to 2764 and 27128 EPROM types because most of them ID not supports Device Device options All settings of this menu are used for programming process serialization and associated file control Device Device options Operation option...

Page 84: ...ffer address ADDR is written as Buffer ADDR ADDR value can be from zero to device size in bytes All addresses are byte oriented addresses group Insertion test insertion test default ENABLE If enabled the programmer checks all pins of the programmed chip if have proper connection to the ZIF socket continuity test The programmer is able to identify the wrong contact misinserted chip and also partial...

Page 85: ...power supply within target system keeps residual supply voltage e g from charged capacitor After this time elapsed target system has to be without supply voltage and can be safely disconnected from programmer group Target System Parameters Oscillator frequency in Hz oscillator s frequency of device in target system Control program sets programming speed by its therefore is necessary set correct va...

Page 86: ...which indicates the line with actual serial number in input file When program is in multiprogramming mode multiple socket programmer is actually selected the special section Action on not programmed serial values due to error is displayed in dialog Serialization In this section two choices are available Ignore not programmed serial values Add not programmed serial values to file Ignore not program...

Page 87: ...start and device end address range Start value Start value option specifies the initial value from which serialization will start Generally the max value for serialization is 1FFFFFFF in 32 bit long word When the actual serial value exceeds maximum value three most significant bits of serial number are set to zero After this action the number is always inside 0 1FFFFFFF interval this is basic styl...

Page 88: ...ple of using serial number split is listed in section Examples bellow as example number 2 Example Example 1 Write serial numbers to AT29C040 devices at address 7FFFAH size of serial number is 4 bytes start value is 16000000H incremental step is 1 the serial number form is binary and least significant byte is placed at the lower address of serial number in device To make above described serializati...

Page 89: ...xx xx xx xx xx xx xx xx xx Note address 80H is because buffer has byte organization and PIC has word organization so it has equivalent program memory address 40H When buffer has word organization x16 the address will be 40H and number 1234ABCDH will be placed to buffer as following Address Data 0000040 ABCD 1234 xxxx xxxx xxxx xxxx xxxx xxxx We want to use RETLW instruction so buffer has to be Add...

Page 90: ... xxxx When Split serial number at every 4 byte s is set the buffer content will look as Byte buffer organization Address Data 0000080 CD xx xx xx AB xx xx xx 34 xx xx xx 12 Word16 buffer organization Address Data 0000040 xxCD xxxx xxAB xxxx xx34 xxxx xx12 xxxx Advice When you are not sure about effects of serialization options there is possible to test the real serial number which will be written ...

Page 91: ...lization data Serialization data are then read from these external data files each file means one serialization step one device programmed Playlist From file mode is indicated in main window and info window of Pg4uw control program on panel Serialization as From file pl serialization Description of playlist serialization file is listed in Playlist From file serialization file format chapter There ...

Page 92: ...bytes are written to buffer from address addr to addr n The process of writing particular bytes to buffer is byte0 to addr byte1 to addr 1 byte2 to addr 2 byten to addr n Optional part is delimited from the first data part by character comma and its structure is the same as in the first data part i e address and following array of data bytes Characters with special use labels must be defined insid...

Page 93: ...written to address FFFFF Note Address for Serialization is always assigned to actual device organization and buffer organization that control program is using for current device If the buffer organization is byte org x8 the Serialization Address will be byte address If the buffer organization is wider than byte e g 16 bit words x16 the Serialization Address will be word address PLAYLIST FROM FILE ...

Page 94: ...shed device the best are devices with erasable memory not OTP memory 4 select dialog from menu Device Device Options Serialization 5 Set the From file mode and in the panel From file mode options select our example serialization file fromfile_playlist ser 6 click the OK button to accept the new serialization settings 8 run Program device operation You can see at the serialization indicating labels...

Page 95: ... This option is required to specify the initial serial number that will be passed to custom generator serialization program The number is entered and displayed in hexadecimal format Last serial number This option specifies the maximum value of serial number allowed If the value is non zero it will be passed to serialization generator program The generator is responsible for testing the value of la...

Page 96: ... command line parameter E serial number T03 data format code Specifies the serialization data format Following formats are supported now T03 50 or T03 55 ASCII Space data format T03 99 Intel Hex data format T04 indicates the serialization data will follow from next line to the end of file Serialization data are stored in one of standard ASCII data file formats for example Intel Hex ASCII Space and...

Page 97: ... do When count down value reach zero it means specified number of devices is complete and user message about complete count down will be displayed Statistics dialog contains following options Check boxes Program Verify Blank Erase and Read define operations after which statistics values increment Check box Count down sets Count down activity enable or disable Edit box following the Count down chec...

Page 98: ... chip Please read the documentation to the chip you want to program for explanation of all used terms If the name of this menu item is starting by View Edit then the Read device command will read the content of the chip configuration and it can be viewed and edited by this menu command Device Blank check This command allows to blank check of all devices or its part if possible The control program ...

Page 99: ...reports the end without error or end with the error by writes the warning report on the display The Blank check procedure is applied after Chip erase command for such chips where doesn t exist other way how to check the chip is really erased Device Test This command executes a test with device selected from list of supported devices e g static RAM on programmers which support this test Device IC t...

Page 100: ...gn into a device The Jam Player is a program that reads the Jam file and applies vectors for programming and testing of devices in a JTAG chain The devices can be programmed in ZIF socket of the programmer or in target system through ISP connector It is indicated by PLCC44 Jam or ISP Jam suffix after name of selected device in control program Multiple devices are possible to program and test via J...

Page 101: ...rsion 2 consists of actions Action consists of calling of procedures which are executed Jam file of version 1 does not know statements action and procedure therefore choice Action is not accessible Program flow starts to run instructions according to boolean variables with prefix DO_something If you need some new boolean variables with prefix DO_something then contact us Procedures 101 ...

Page 102: ...file in dialog Device according to Jam file file is made for a specific device Device name is found in Jam file in part NOTE identifier DEVICE Device name must be identical with name of the device selected in dialog Select device When devices are different software will indicate this situation by warning message during start of the Jam Player JAM file information dialog Notes statements are used t...

Page 103: ...Devices and Jam file is probably different Continue choose Yes Xilinx sw does not include line NOTE DEVICE XC2x32A in Jam file In dialog Jam player select action and procedures finish dialogs press button Play Jam from toolbar and read Log window The ispVM Virtual Machine The ispVM Virtual Machine is a Virtual Machine that has been optimized specifically for programming devices which are compatibl...

Page 104: ...work with programmers Programmer Find programmer This item selects a new type of programmer and communication parameters This command contains following items Programmer sets a new type of programmer for find If a Search all is selected the control program finds all supported programmers Establish communication allows manual or automatic establishing communication for a new programmer Speed sets s...

Page 105: ...er Handler In dialog Handler a Handler type and Handler communication parameters can be set Handler is an external device for special control of device operations in control program When None Handler is selected this means default state of control program i e device operations are controlled directly by user otherwise control program is in special mode when device operations are controlled automat...

Page 106: ...cept BUSY and will start an operation with new device This mode may be enabled or disabled by item Automatic YES mode If a new programmer is selected Options Find programmer this mode will be disabled In Response time is interval between insertion of the chip into the ZIF socket and the start of selected device operation If longer positioning of the chip in the ZIF socket is necessary select elong...

Page 107: ...n standard delivery of programmer For optimal results with programmer we recommend you undertake every 6 months We recommend run this test as often as possible e g once per month Programmer Self test ISP connector Command executes a selftest of ISP connector of current programmer using diagnostic POD for ISP connectors Diagnostic POD for ISP connectors is necessary to use for testing 6 and 10 pin ...

Page 108: ...in hurry Sequence for testing 20 pins ISP connector 1 Insert Diagnostic POD for ISP connectors 2 into ZIF socket of the programmer Diagnostic POD for ISP connectors 2 must be inserted as 48 pins device 2 Interconnect 20 pins connector of Diagnostic POD for ISP connectors 2 with an ISP connector of the programmer with an ISP cable included in delivery programmer package Be sure that pins are interc...

Page 109: ... program analyses format of loading file and test file for each of supported formats that are available in program If file format matches one of supported formats the file is read to buffer in detected format Manual file format allows user to select explicitly wished file format from list of supported file formats File may be loaded no completely or incorrectly if file format does not match to use...

Page 110: ...ssible to set sound options for some programmers with built in internal speaker Sound beeps are then generated from internal programmer speaker after each device operation for indicating device operation result good or bad result Log file This options associates with using of Log window All reports for Log window can be written into the Log file too The Log file name is Report rep as default The c...

Page 111: ...he disk or it will not be displayed In case the displaying errors are turned off the control program reports a warning message in INFO window only The default error file name is Verify err The file name and directory can be user specified in edit box Error file name Following Display errors settings are available None does not display error values on screen nor to the file Screen default displays ...

Page 112: ...options saving when exiting program Three options are available here Don t save don t save options during quitting program and don t ask for saving options Auto save save options during quitting program without asking for saving options Prompt for save program asks user for saving options before quitting program User can select to save or not to save options Other Page Other allows user to manage ...

Page 113: ...ars User has to enter the same password as the password entered during switch to Protected mode Other way to cancel Protected mode of program is closing of program because program Protected mode is active until program is closed The next program start will be to Normal standard mode the only exception is case of project loaded by command line parameter name of project and the project was saved in ...

Page 114: ...Options menu ten last selected devices file history main program window position and size Help Menu Help contains commands that let you view supported devices and programmers and information about program version too Pressing the F1 key accesses the Help When you are selecting menu item and press F1 you access context sensitive help If Pg4uw is executing an operation with the programmer F1 generat...

Page 115: ...select wished device again by any of select methods in menu DEVICE Help Device list cross reference This command makes cross reference list of all devices supported by all programmers available on market and supported by this control program The resulting list is in HTML format and consists of following files one main HTML file TOP_DEV htm with supported device manufacturers listed partial HTML fi...

Page 116: ...About When you choose the Info command from the menu a window appears showing copyright and version information 116 ...

Page 117: ...Pg4uwMC 117 ...

Page 118: ...user data chip programming setup information chip configuration data auto programming command sequence etc Therefore the operator error is minimized because the project file is normally created and proofed by engineering and then given to the operator The optional protected mode can be set for project file to avoid unwanted changes of the project file Each chip may be programmed with different dat...

Page 119: ... state and so on Log window on the right side of Status window Log window contains information about connecting disconnecting programmers device operation results and other information Button Connect programmers Button is used to connect all selected Programmer Sites This button is usually used as the first step after starting Pg4uwMC Button Disconnect programmers Button is used to disconnect all ...

Page 120: ...tic project load will not be performed Checkbox Use Site 1 project for all Sites Checkbox Use Site 1 project for all Sites placed under the Sites numbers and Projects table When there is requirement to program the same device types with the same data the checkbox should be checked If the checkbox is checked the project file for Site 1 will be used also for all other Programmer Sites In this mode a...

Page 121: ...eration types and device operation results Multiprogramming system generates few of Log files One main Log file of program Pg4uwMC and Log files for each of running Programmer Sites Each Site has its own one Log file The name of Site s Log file has the same prefix as the name of Log file specified in edit box Log file The file name prefix is followed by the number of Site in the form of _ Snum Exa...

Page 122: ...that when Log file size reaches specified value the part of text included in Log file will be truncated When the option is unchecked the size of Log file is unlimited respectively is limited by free disk space only option Maximum Log file size specifies the maximum size of Log file in kBytes option Amount of truncated text specifies the percentage of Log file text which will be truncated after Max...

Page 123: ...connecting programmer sites is selected closing the Pg4uwMC device Count down counter reaches 0 finished status manually by user when menu File Job Report is used The Job Report is generated for recently loaded project file only when statistics value of Total is greater than 0 It means at least one device operation program verify must be performed Job Report dialog settings are in dialog Pg4uwMC S...

Page 124: ...ready one report file present Name of this file is d job_reports job_report_000_myproject jrp The final Job Report file name of new report will be d job_reports job_report_001_myproject jrp Note the order inside file name is incremented by 1 When Automatically save Job Report file setting is set no Job Report dialogs appears when generating Job Report Newly generated Job Report is saved to file wi...

Page 125: ... file name without prefix prj Example Pg4uwMC exe c projects myproject eprj Makes load project file c projects myproject eprj Troubleshooting Serial numbers For successful using of multiply programmers correct serial numbers must be specified for each used programmer in panel Serial numbers If there is empty field for serial number application Pg4uw for the programmer Site won t start When Pg4uwMC...

Page 126: ...rces multimedia CAD graphic applications and so on Note We also recommend to use computer USB ports placed on back side of computer and directly connected to motherboard because computer USB ports connected to computer motherboard indirectly via cable may be unreliable when using high speed USB 2 0 transfer modes This recommendation is valid not only for programmers but also for other devices 126 ...

Page 127: ...Common notes 127 ...

Page 128: ...ined firmly as following 1 Load file Load file 2 Load project Prj 3 EPROM Flash select by ID 4 Program device Program switch 5 Close of control program Close only together with parameter Program Available command line parameters Axxx check programmer present on LPT port with address xxx only example A3bc SPP force PC programmer communication in unidirectional mode Available executive command line ...

Page 129: ...stances bearing on the problem in question and advise the manufacturer of your problem Don t forget please enter of PC type manufacturer speed operation system resident programs your parallel port I O manufacturer and type Use please Device problem report form for this purpose ISP In System Programming Definition In system programming allows programming and reprogramming of device positioned insid...

Page 130: ...r direction of control program connect other ISP cable connector to target system and turn on it 7 After direction of control program disconnect other ISP cable connector from target system and turn off it 8 If you need another action on target device you continue with step 5 The recommendation for design of target system with ISP programmed device The target system must be designed to allow all s...

Page 131: ... adds a next manipulation time to programming procedure Example of application note Microcontrollers Atmel AVR and AT89Sxxx series This interface corresponds with Atmel application note AVR910 In System Programming This application note describes the recommended ISP interface connector layout in target system top view B K PRECISION s recommended circuit for ATMEL AVR ISP connector target device ta...

Page 132: ... signals during In system programming to avoid programming errors Marginal verify is used after programming Programmer must verify the program memory contents at both minimal and maximal power supply therefore VDD pin of PICmicro must be isolated from rest of target system during programming B K PRECISION s recommended circuit for PICmicro R1 R2 VSS C1 22n VSS R7 47R D1 VSS VDD VSS R6 1k D2 1N4148...

Page 133: ...in the system The short description how to see LPT ports present in operating system 1 click to Start menu 2 click with right mouse button to My computer item and select menu Properties 3 in the System properties dialog select Hardware page and click to Device manager button 4 in the Device manager dialog select Ports Com LPT double click it will show the list of all present LPT and COM ports Ther...

Page 134: ...Troubleshooting and warranty 134 ...

Page 135: ...rm on the CD or from our Internet site and fill it in following the instructions at the end of the form Use standard ASCII editor Write everything down that you consider being relevant about the programmer software and the target device Send the completed form by e mail to your local dealer or to B K PRECISION tech bkprecision com Phone Copy DEVICE PROBLEM REPORT form and fill it in following the ...

Page 136: ...s on PLCC ZIF sockets Limited One Year Warranty B K Precision Corp warrants to the original purchaser that its product and the component parts thereof will be free from defects in workmanship and materials for a period of one year from the data of purchase B K Precision Corp will without charge repair or replace at its option defective product or component parts Returned product must be accompanie...

Page 137: ...e Customers not on open account must include payment in the form of a money order or credit card For the most current repair charges contact the factory before shipping the product Return all merchandise to B K Precision Corp with pre paid shipping The flat rate repair charge includes return shipping to locations in North America For overnight shipments and non North America shipping fees contact ...

Reviews: