Home
M68HC705BPGMR PROGRAMMER USER`S MANUAL
Contents
1. lt data2 gt lt data3 gt These six bytes must be sent by the host for each group of four address to be programmed The protocol is as follows 3 2 3 The MC68HC705B5 sends the last two bytes programmed to the host as a prompt this allows for verification by the host of proper programming NOTE After reset the MC68HC705B5 serial bootstrap routine will first echo two blocks of 4 bytes at 00 as no data is programmed yet 3 2 4 In response to the first byte prompt the host sends the first address byte 3 3 5 After receiving the first address byte the MC68HC705B5 sends the next byte programmed 3 3 6 The exchange of data continues until the MC68HC705B5 has sent the four data bytes and the host has sent 2 address bytes and 4 data bytes 3 3 7 If the data is different from 00 it is programmed at the address provided while the next address and bytes are received and the previous data is echoed 3 3 8 Loop to 1 If the data sent in is 00 no programming in the EPROM takes place and the content of the accessed location is returned as a prompt The entire EPROM memory can be read in this fashion The RED LED D3 will be on is the data read is not 00 During programming the GREEN LED D2 will flash M68HC705BPGMR D 3 3 MOTOROLA SERIAL MODE 3 3 XC68HC705B16 SERIAL PROGRAMMING MODE Settings required JP1 705B5 B16 JP2 705B5 B16 JP3 MODE A JP4 RAM JP5 27C64 27C128 JP6 27C128 JP7 SERIAL Sl OFF S2 IN SKTI EPROM NOT Insta
2. Set 52 to OUT e Execute the EPBX32 program as follows EPBX32 com return comm is an optional comms port setting The default is COMI f Follow the instructions on the PC screen NOTE The download S record file must be in Motorola EXORCISOR format The S record file must only contain data at EPROM or EEPROM locations Downloading data into registers or into RAM can disturb the correct serial operation g Once the programming is complete set S2 to IN and S1 to OFF You may now remove the MCU from the socket j Quit EPBX32 using either the X or Q command M68HC705BPGMR D 3 6 MOTOROLA ADDITIONAL INFORMATION CHAPTER 4 ADDITIONAL INFORMATION 4 1 SERIAL PROGRAMMING CABLE Figure 4 1 shows a PGMR Host Computer Cable Assembly Diagram If a nine way connector is used the signals must be mapped correctly 20 OR 25 CONDUCTOR FLAT RIBBON CABLE 3M 3365 20 OR 3365 25 25 D SUBMINIATURE MALE PIN CONNECTORPART S 1 CIRCUIT ASSEMBLY CORP CA 25 SMD P 2 ITT CANNON DBSP B25P 3 ANSLEY 609 25P 4 WINCHESTER 49 1125P 25 D SUBMINIATURE FEMALE SOCKET CONNECTORPART S 1 CIRCUIT ASSEMBLY CORP CA 25 SMD S 2 ITT CANNON DBSP B25S 3 ANSLEY 609 25S 4 WINCHESTER 49 1125S 25 PIN D SUBMINIATURE CONNECTOR Ca 2 3 4 5 7 8 9 10 1 12 13 14 15 16 17 18 19 20 21 22 23 24 25 7 RED WIRE
3. gt a Z NOT CONNECTED a a o o 4 a cm S 8 5 8 3188 o C pn 25 PIN D SUBMINIATURE CONNECTOR M68HC705BPGMR D 4 1 MOTOROLA ADDITIONAL INFORMATION A Hayes compatible modem cable purchased from a local computer store can be used to connect the PGMR to the host computer The PGMR is wired as data communication equipment DCE whereas a terminal and most serial modem ports on host computers are wired as data terminal equipment DTE This lets a straight through cable be used for most setups If a different type of cable is used to connect the PGMR to the host computer a null modem adapter shown below may be required to match the cable to the EVS terminal port connector A null modem adapter reverses the roles of various data and control signals to make a DTE device appear as a DCE device or vice versa DB 25S DB 25P GND GND TXD TXD RXD RXD RTS RTS CTS CTS DSR DSR SIG GND SIG GND DCD DCD DTR DTR FIGURE 4 2 Null Modem Adapter M68HC705BPGMR D 4 2 MOTOROLA
4. take place EEPROMs only and the content of the accessed location is actually returned as a prompt See 805B6 specification for further information 3 2 MC68HC705B5 SERIAL PROGRAMMING MODE Jumper settings required JP1 705B5 B16 JP2 705B5 B16 JP3 MODE A JP4 RAM JP5 27C64 27C128 JP6 27C64 JP7 SERIAL Sl OFF S2 IN SKTI EPROM NOT Installed P2 Serial cable to PC 3 2 1 Programming Procedure a Apply power to the PGMR board b Insert the 705B5 MCU device into the PGMR C Set 1 to ON d Set S2 to OUT The selected serial routine is then executed 3 2 2 Notes on the Serial Operation The serial operation consists of two steps Firstly the EEPROMI will first be erased then checked for complete erasure if a non FF byte is detected the RED LED D3 will be turned on and erase will be performed a second time and so on until total erasure thus clearing the security bit if needed M68HC705BPGMR D 3 2 MOTOROLA SERIAL MODE Secondly control is given to the serial routine The serial routine communicates through the SCI to an external host typically a PC by means of an RS232 link at 9600 baud 8 bit no parity full duplex ATTENTION DATA format is not ASCII but 8 bit binary so a complementary program must be run by the host to supply the required format Such a program is available for the IBM PC from MOTOROLA The format accepted by the serial loader is as follows address high address low data0 lt datal gt
5. to install an EPROM in SKTI Switches S1 and S2 control the activity of the PGMR 51 is a simple on off switch that applies power to the MCU device when on Never remove or install an MCU when the S1 switch is in the ON position S2 control the MCU reset line Neither parallel or serial programming can take place while the part is in reset mode Seven jumper headers JP1 to JP7 configure the PGMR for the particular MCU and fucntion in use They select between different MCUs programming modes serial vs parallel EPROM sizes and modes The following sections describe how to configure these jumpers for your programming requirements Lastly sockets SKT2 to SKT3 allow for the installation of the MCUS and if required the master EPROM SKT2 provides support for a 52 pin PLCC package and SKT32 for a 56 pin SDIP package Not all of the MCUS supported by this board may be available in each package The SKT2 socket requires that the MCU is installed in a top down or dead bug fashion IMPORTANT NOTE You must never install more than one MCU on this board at any time That is there must never be an MCU installed in SKT2 and another installed in SKT3 simultaneously Such a configuration may damage either of the MCUs and the board itself provides a socket for the master EPROM used in parallel programming You do not require to install this EPROM when the serial mode is used Always ensure that the devices are orientated correctly into the
6. verify an MC68HC705B5 16 32 or MC68HC805B6 MCU on the M68HC705BPGMR PGMR All that is required to program an MCU is the PGMR and a 5 volt and a Vpp dc power supply The PGMR provides programming for either a 56 pin shrink dual in line package SDIP or 52 pin plastic leaded chip carrier PLCC MCU device programming S1 controls power S2 controls the Jumper Headers Install power to the MCU MCU RESET configure the PGMR leads at P1 JP1 JP2 JP4 Connect serial cable at P2 Install the 52PLCC Install the 56SDIP MCU in SKT2 OR MCU in SKT3 SKT1 contains the program EPROM Figure 1 1 M68HC705BPGMR Layout M68HC705BPGMR D 1 1 MOTOROLA INTRODUCTION 1 1 BOARD LAYOUT AND DESCRIPTION Figure 1 1 shows the layout of the PGMR As shown in the figure there are various controls connectors and sockets that provide the ability to configure the board to specific MCU programming requirements There are two connectors on the board For the board to function correctly you must supply the required power to the board at connector Pl 5V dc 100mA and ground lines are required In addition a Vpp power supply is needed to perform the programming The value of this supply may vary between MCUS please refer to this manual and the device data book for further information Connector P2 provides a serial programming capability When using this mode you must connect a serial cable between P2 and your host computer In this case you do not require
7. B16 JP3 MODE A JP4 EPROM JP5 NC JP6 27C128 JP7 PARALLEL LK1 connect to LK2 S1 OFF S2 IN SKTI EPROM Installed 2 5 1 Programming Procedure a Apply power to the PGMR board b Insert the 705B32 MCU device into the PGMR Set 1 to ON d Set 52 to OUT The selected programming routine is then executed e Once the programming is complete see section 2 3 2 set S2 to IN and S1 to OFF You may now remove the MCU from the socket 2 5 2 Notes on the Programming Operation GREEN LED flashes signifying that programming is taking place M68HC705BPGMR D 2 5 MOTOROLA PARALLEL MODE This page intentionally left blank M68HC705BPGMR D 2 6 MOTOROLA SERIAL MODE CHAPTER 3 SERIAL MODE This programming mode allows the user to download an S record format file directly into the MCU by using an external computer system The following sections describe the procedure taken to program each MCU type 3 1 MC68HC805B6 SERIAL PROGRAMMING MODE Settings required JP1 805B6 JP2 805B6 JP3 MODE A JP4 EPROM JP5 27C64 27C128 JP6 27C64 JP7 SERIAL Sl OFF S2 IN SKTI EPROM NOT Installed P2 Serial cable to PC 3 1 1 Programming Procedure a Apply power to the PGMR board b Insert the 805B6 MCU device into the PGMR Set 1 to ON d Set S2 to OUT The selected serial routine is then executed 3 1 2 Notes on the Serial Operation The serial operation consists of two steps Firstly the EEPROM6 will first be erased then checke
8. D LED D3 is turned off then erasure of EEPROM takes place in a similar fashion to the EEPROM6 thus clearing the security bit if needed Next both EEPROMs are programmed in turn in increasing address order from the external EPROM A fast algorithm is used that skips over FF bytes thus speeding up the loading process During programming the GREEN LED D2 will flash at about 3Hz much faster if DATA FF Upon completion of the programming operation the EEPROM s content will be checked against the external EPROM If the device verifies correctly the GREEN LED D2 will stay ON else if an error is detected the RED LED D3 will turn ON GREEN LED off M68HC705BPGMR D 2 1 MOTOROLA PARALLEL MODE 2 2 68 705 5 PARALLEL PROGRAMMING MODE Settings required JP1 705B5 B 16 JP2 705B5 B 16 JP3 MODE A JP4 EPROM JP5 27C64 27C128 JP6 27C64 JP7 PARALLEL SI OFF S2 IN SKTI 27C64 EPROM Installed 2 2 1 Programming Procedure a Apply power to the PGMR board b Insert the 705B5 MCU device into the PGMR Set 1 to ON d Set 52 to OUT The selected programming routine is then executed e Once the programming is complete see section 2 2 2 set S2 to IN and S1 to OFF You may now remove the MCU from the socket 2 2 2 Notes on the Programming Operation During programming the GREEN LED D2 will flash at about 3 Hz Upon completion of the programming operation the internal EPROM content will be checked against the ex
9. M68HC705BPGMR D October 1995 M68HC705BPGMR PROGRAMMER USER S MANUAL First Edition MOTOROLA Ltd 1995 All Rights Reserved Motorola reserves the right to make changes without further notice to any products herein to improve reliability function or design Motorola does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others Motorola products are not designed intended or authorized for use as components in systems intended for surgical implant into the body or other application in which the failure of the Motorola product could create a situation where personal injury or death may occur Should Buyer purchase or use Motorola products for any such unintended or unauthorized application Buyer shall indemnify and hold Motorola and its officers employees subsidiaries affiliates and distributors harmless against all claims costs damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part Motorola and the Motorola logo are registered trademarks of Motorola Inc Motorola Inc is an Equal Opportunity Affirmative Action Employer CONTENTS TABLE OF CONTENTS 1 INTRODUCTION s
10. d for complete erasure if a non FF byte is detected the RED LED D3 will be turned on and erase will be performed a second time and so on until total erasure Before proceeding to erase the EEPROM1 the RED LED D3 is turned off then erasure of EEPROMI takes place in a similar fashion thus clearing the security bit if needed Secondly control is given to the serial routine The serial routine communicates through the SCI to an external host typically a PC by means of an RS232 link at 9600 baud 8 bit no parity full duplex M68HC705BPGMR D 3 1 MOTOROLA SERIAL MODE ATTENTION DATA format is not ASCII but 8 bit binary so a complementary program must be run by the host to supply the required format Such a program is available for the IBM PC from MOTOROLA The format accepted by the serial loader is as follows address high address low data These three bytes must be sent by the host for each address to be programmed The protocol is as follows 3 1 3 The MC68HC805B6 sends the last byte programmed to the host as a prompt the first time this data is undermined this allows verification by the host of proper programming 3 1 4 In response to this prompt the host sends the 3 bytes as outlined above 3 1 5 If the data if different from FF it is programmed to the address provided be it PORT RAM 50 7C used by the loader not available or EEPROM 3 1 6 Loop to 1 If the data sent is FF programming does not
11. e 3 1 3 1 2 Notes on the Serial Operation si ER eet edere tant e Rede RESP p E Ads 3 1 3 2 MC68HC705B5 SERIAL PROGRAMMING MODE III e hee here 3 2 3 2 1 Programming Procedure ese te te aX IHRE EUER I RN 3 2 3 2 2 Notes on the Serial Operation t et ise ee te dari Ll bias das tees ieee eds tiens 3 2 3 3 XC68HC705B16 SERIAL PROGRAMMING MODE sisi 3 4 3 34 Software Requirements nei eoe iere eere dees ob e drea cont es ad eed eee goce IER EP Dia 3 4 3 3 2 Hardware Requirements eH ee 3 4 3 3 3 Programming Proc dures deae E e EROR SER ER Ie IUe erui 3 4 3 3 4 Notes on the Programming Operation 3 5 3 4 MC68HC705B32 SERIAL PROGRAMMING MODBDE III ehe ee 3 6 3 4 I Software Requir mehts sie re TRE CLERO EUER Re ERU ee RR E e Oe ENS REPRE REPE 3 6 3 4 2 Hardware Requirements ied eet de ie s rep Ores dr eee On ep ee Drain tee 3 6 3 4 3 Programming eti ue eee de sites o e e eer age nette TERR Ne E EE pes 3 6 4 ADDITIONAL INFORMATION sense ses hehehe 4 1 4 1 SERIAL PROGRAMMING CABLE serron a rettet E HERE E REIR ERE RR ve EO Da Lee ER thee er test eee idR 4 1 M68HC705BPGMR D ii MOTOROLA CONTENTS This page intentionally left blank M68HC705BPGMR D iv MOTOROLA INTRODUCTION CHAPTER 1 INTRODUCTION This user manual describes the procedure used to program and
12. ir respective sockets 1 2 PROGRAMMING MODES The PGMR supports two modes of programming In parallel mode the user programs the MCU by copying the contents of an EPROM in SKT1 See chapter 2 for instructions In serial mode the user communicates directly with the MCU via a serial cable and connector P2 See Chapter 3 for instructions M68HC705BPGMR D 1 2 MOTOROLA PARALLEL MODE CHAPTER 2 PARALLEL MODE This programming mode copies a user program contained in an external EPROM into the internal PROM OTPROM EPROM of the MC68HC705B MCU device or EEPROM in the case of the 805B6 The following sections describe the procedure taken to program each MCU type 2 1 68 805 6 PARALLEL PROGRAMMING MODE Settings required JP1 805B6 JP2 805B6 JP3 MODE B JP4 EPROM JP5 27C64 27C128 JP6 27C64 JP7 PARALLEL SI OFF 52 IN SKTI 27C64 EPROM Installed 2 1 1 Programming Procedure a Apply power to the PGMR board b Insert the 805B6 MCU device into the PGMR c Set 1 to ON d Set 52 to OUT The selected programming routine is then executed e Once the programming is complete see section 2 1 2 set S2 to IN and S1 to OFF You may now remove the MCU from the socket 2 1 2 Notes on the Programming Operation EEPROM6 is first erased then checked If a non FF byte is detected the RED LED D3 will be turned on and erase will be performed a second time and so on until total erasure Before proceeding to erase the EEPROMI the RE
13. isi soins es mens dames entente VERE E ee FR URS KEPT RV VS 1 1 1 1 BOARD LAYOUT AND DESCRIPTION eher ERRARE epp 1 2 1 2 PROGRAMMING MODES cence cece eme m eee mee hee hen ehe mee hee heres restent entere 1 2 2 PARALLEL MODE ersari dot hh hh hh hh nnn 2 1 2 1 68HC805B6 PARALLEL PROGRAMMING MODE ses 2 1 2 1 1 Programming etie E ert edge Pose ye pert er Dee 2 1 2 1 2 Notes on the Programming Operation 2 1 2 2 68HC705B5 PARALLEL PROGRAMMING MODE ss 2 2 2 2 1 Programming Procedure wos sess iuis e i tt a ete tar PSESE ceases id eere reo ceases DP ee 2 2 2 2 2 Notes on the Programming Operation 2 2 2 3 68HC705B16 PARALLEL PROGRAMMING MODE Ie emm e here 2 3 2 3 1 Programming Procedure ee e ne Eo ea arrete Woes pesto 2 3 2 3 2 Notes on the Programming Operation 2 3 2 4 MCU BLANK CHECK 705B5 705B16 ONLY 2 4 24 I Check Ptoced tes uie EI GER ie ee Dei retia ien eise 2 4 2 4 2 Notes on the Blank Check Operation ss 2 4 2 5 68HC705B32 PARALLEL PROGRAMMING MODE II eene hehe 2 5 2 3 1 Programming Procedure icit tri o dr ERR ee TRE HERR 2 5 2 5 2 Notes on the Programming Operation 2 5 3 SERIAL exu yy Wad se VER dents des does Vad VR Nba Teele ts des do tue OPER ee ste 3 1 3 1 MC68HC805B6 SERIAL PROGRAMMING MODE sidi 3 1 3 1 1 Programming Procedure iue iid ae eee tereti ed ententes destin
14. lled P2 Serial cable to PC 3 3 1 Software Requirements EPB16 EXE Revision C 0 NOTE EPB16 programs only allows for the programming and verification of 705B16 and 705X16 parts it cannot be used on 705B5 or 805B6 parts 3 3 2 Hardware Requirements The hardware requirements to run the EPB16 program are as follows 1 x IBM PC Compatible Personal Computer 1 x Serial Port must be communication port 1 COMI x Connecting Cable 3 3 3 Programming Procedure a Apply power to the PGMR board b Insert the 70B16 MCU device into the PGMR c Set S1 to ON d Set 52 to OUT e Execute the EPB16 program as follows EPB16 xxx program ext return xxx is a special delay modifier that allows the program to operate correctly on fast computers Use 2 for a 386 25Mhz program ext is the full name of the file containing the S record data to program the EPROM and EEPROM The S record file must contain data only at EPROM or EEPROM locations Downloading data into registers or into RAM will disturb the correct serial operation f If a file name was not specified when invoking EPB16 program the F command must be executed g Enter D to download the file data to the MCU As the data is downloaded the EPROM and or EEPROM of the MCU is programmed The D command only operates when an S record file is loaded M68HC705BPGMR D 3 4 MOTOROLA SERIAL MODE NOTE The download process is automatically followed by a verifica
15. skipped by the loader During programming the GREEN LED D3 will flash at about 3 Hz Upon completion of the program operation EPROM and EEPROMI content will be checked against the external EPROM If the device verifies correctly the GREEN LED D2 will stay ON else if an error is detected the RED LED D3 will turn ON GREEN LED off NOTE Firmware errors in the silicon mask set C97K prevent correct operation of the parallel mode If you are using this mask set then please use the serial mode instead M68HC705BPGMR D 2 3 MOTOROLA PARALLEL MODE 2 4 MCU BLANK CHECK 705B5 705B16 ONLY Settings required JP1 705B5 705B 16 JP2 705B5 705B 16 JP3 MODEB JP4 EPROM JP5 27C64 27C128 JP6 27C64 JP7 PARALLEL Sl OFF S2 IN SKTI EPROM NOT Installed 2 4 1 Check Procedure a Apply power to the PGMR board b Insert the 705B5 16 MCU device into the PGMR c Set 1 to ON d Set 52 to OUT The selected blank check routine is then executed e Once the blank check is complete see section 2 3 2 set S2 to IN and S1 to OFF You may now remove the MCU from the socket 2 4 2 Notes on the Blank Check Operation If the device is in the erased state the green LED will light if the part is non blank the red LED will light An EPROM with 00 programmed into all locations may also be installed in SKTI M68HC705BPGMR D 2 4 MOTOROLA PARALLEL MODE 2 5 68HC705B32 PARALLEL PROGRAMMING MODE Settingrequired JP1 705B5 B16 JP2 705B5
16. ternal EPROM If the device verifies correctly the GREEN LED D2 will stay ON else if an error is detected the RED LED D3 will turn ON GREEN LED off M68HC705BPGMR D 2 2 MOTOROLA PARALLEL MODE 2 3 68HC705B16 PARALLEL PROGRAMMING MODE Settings required JP1 705B5 B16 JP2 705B5 B16 JP3 MODE A JP4 EPROM JP5 27C64 27C128 JP6 27C128 JP7 PARALLEL SI OFF S2 IN SKTI 27C128 EPROM Installed 2 3 1 Programming Procedure a Apply power to the PGMR board b Insert the 705B16 MCU device into the PGMR Set 1 to ON d Set 52 to OUT The selected programming routine is then executed e Once the programming is complete see section 2 3 2 set S2 to IN and S1 to OFF You may now remove the MCU from the socket 2 3 2 Notes on the Programming Operation The EPROM will first be verified as being blank At the first byte not erased to 00 the RED LED D3 will turned ON and the routine will stay in a loop When the whole EPROM content is checked as erased the GREEN LED D2 will be turned ON The contents of EEPROMI will then be erased If a non SFF byte is detected the RED LED will be turned on and erase will be performed a second time and so on until total erasure After both the EPROM and the are checked as erased and the security bit is cleared The programming operation can be performed All EPROM and EEPROMI locations will be loaded in increasing address order Segments containing no EPROM or EEPROM will be
17. tion process which compares the bytes sent to the MCU with those echoed by the MCU Differences if any are reported in the following format Addr Sent Recv where Addr is the location which was sent the value Sent and Recv is the value which was echoed The three values are in hexadecimal h Enter V to verify the MCU memory contents The S command is used to show the MCU memory contents 1 Once the programming is complete set S2 to IN and SI to OFF You may now remove the MCU from the socket j Quit EPB16 using either the X or Q command 3 3 4 Notes on the Programming Operation The serial bootstrap routine communicates through the SCI to an external host typically a PC by means of an RS232 link at 9600 baud 8 bit no parity full duplex M68HC705BPGMR D 3 5 MOTOROLA SERIAL MODE 3 4 MC68HC705B32 SERIAL PROGRAMMING MODE Settings required JP 705B5 B16 JP2 705B5 B16 JP3 MODE A JP4 RAM JP5 NC x JP6 27C128 JP7 SERIAL LK1 connect to LK2 Sl OFF S2 IN SKTI EPROM NOT Installed P2 Serial cable to PC 3 4 1 Software Requirements EPBX32 EXE Revision 0 3 3 4 2 Hardware Requirements The hardware requirements to run the EPB X32 program are as follows 1 x IBM PC Compatible Personal Computer 1 x Serial Port COMI or COM2 1 x Connecting Cable see diagrams at end of errata 3 4 3 Programming Procedure a Apply power to the PGMR board b Insert the 70B32 MCU device into the PGMR Set 1 to ON d
Download Pdf Manuals
Related Search
Related Contents
LBO--DVI-AD User Manual.pmd - Broadata Communications Inc 卓上型真空注型機スイングキャスト SwingCast SC Promax 15 HE & 24 HE G9 給湯一熱源化改修 Netgear WNA1000M Installation Guide View the manual RIDGID 258XL User's Manual CRRFTSMRN °] - at snowblowerguide.com Copyright © All rights reserved.
Failed to retrieve file