DM-COP8/20D National Semiconductor, DM-COP8/20D Datasheet - Page 199
![no-image](/images/manufacturer_photos/0/4/469/national_semiconductor_sml.jpg)
DM-COP8/20D
Manufacturer Part Number
DM-COP8/20D
Description
CABLE FOR DEBUG MODULE 20-DIP
Manufacturer
National Semiconductor
Datasheet
1.DM-COP820D.pdf
(254 pages)
Specifications of DM-COP8/20D
Accessory Type
20-DIP Target Cable
For Use With/related Products
MetaLink Debug Module
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
*DM-COP8/20D
- Current page: 199 of 254
- Download datasheet (2Mb)
;This program provides in the form of subroutines, the ability to erase,
;enable, disable, read and write to the NMC93C06 EEPROM.
.INCLD
NMCMEM: .DSB 5
ADRESS: .DSB 1
FLAGS:
DLYH:
DLYL:
;The interface consists of four
;lines: The G0 (chip select line), G4 (serial out SO), G5 (serial clock SK), and
;G6 (serial in SI).
;
; Initialization
;
;This routine erases the memory location pointed to by the address contained in the
;location “ADRESS.” The lower nibble of “ADRESS” contains the NM93C06 register
;address and the upper nibble should be set to zero.
;
ERASE:
;This routine enables programming of the NM93C06. Programming must be preceded
;once by a programming enable (EWEN).
;
EWEN:
;This routine disables programming of the NM93C06
;
EWDS:
COP888.INC
.SECT
SNDBUF = NMCMEM
RDATL
RDATH
WDATL
WDATH
.DSB 1
.SECT
.DSB 1
.DSB 1
.SECT
LD
LD
LD
LD
LD
LD
OR
X
LD
JSR
RET
LD
LD
JSR
RET
LD
LD
JSR
RET
= NMCMEM+1
= NMCMEM+2
= NMCMEM+3
= NMCMEM+4
NMC, RAM
CNT, REG
NMCODE, ROM
PORTGC,#031 ;Setup G0, G4, G5 as outputs and
PORTGD,#00
CNTRL,#08
B,#PSW
X,#SIOR
A,ADRESS
A,#0C0
A,SNDBUF
FLAGS,#0
INIT
SNDBUF,#030
FLAGS,#0
INIT
SNDBUF,#0
FLAGS,#0
INIT
;Contains the command byte to be written NM93C06
;Lower byte of NM93C06 register data read
;Upper byte of NM93C06 register data read
;Lower byte of data to be written to NM93C06 register
;Upper byte of data to be written to NM93C06 register
;Lower 4-bits of this location contain the address of
;the NMC93C06 register to read/write
;Used for setting up flags
;Flag valueAction
;00Erase, enable, disable, erase all
;01Read contents of NMC93C06 register
;03Write to NMC93C06 register
;OthersIllegal combination
;Delay counter register
;Delay counter register
;select standard SK mode
;Initialize G data reg to zero
;Enable MSEL, select MW rate of 2tc
COP8SAx7 APPLICATION IDEAS
4-7
Related parts for DM-COP8/20D
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![DM-COP8/28D](/images/manufacturer_photos/0/4/469/national_semiconductor_tmb.jpg)
Part Number:
Description:
CABLE FOR DEBUG MODULE 28-DIP
Manufacturer:
National Semiconductor
Datasheet:
![DM-COP8/44P](/images/manufacturer_photos/0/4/469/national_semiconductor_tmb.jpg)
Part Number:
Description:
CABLE FOR DEBUG MODULE 44-PLCC
Manufacturer:
National Semiconductor
Datasheet:
![DM61-J1-2-S2-05-Q](/photos/15/6/150699/dm61-j1-2-s2-05-q_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER DPDT BLK
Manufacturer:
C&K Components
Datasheet:
![DM62J12S205Q](/photos/15/7/150719/dm62j12s205q_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER POWER DPST 10A QC
Manufacturer:
C&K Components
Datasheet:
![DM22J12S205PQ](/photos/15/7/150722/dm22j12s205pq_tmb.jpg)
Part Number:
Description:
SWITCH PWR ROCKER DPST SNAP-IN
Manufacturer:
C&K Components
Datasheet:
![DM62J11S205Q](/photos/15/7/150726/dm62j11s205q_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER DPST SNAP-IN QC
Manufacturer:
C&K Components
Datasheet:
![DM54J72S205Q3](/photos/15/7/150727/dm14j72s205q3__dm54j72s205q3_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER SPST ILUM 10A/125V
Manufacturer:
C&K Components
Datasheet:
![DM61J12S205PQ](/photos/15/7/150750/dm61j12s205pq_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER DPDT W/MRK QC
Manufacturer:
C&K Components
Datasheet:
![DM24J72S205Q6](/photos/15/7/150754/dm24j72s205q4__dm24j72s205q6__dm64j72s205q6__dm64j72s205q3_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER POWER DPST 3A QC
Manufacturer:
C&K Components
Datasheet:
![DM64J72S205Q6](/photos/15/7/150754/dm24j72s205q4__dm24j72s205q6__dm64j72s205q6__dm64j72s205q3_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER ILLUM 10A GRN
Manufacturer:
C&K Components
Datasheet:
![DM22J12S205Q](/photos/15/10/151010/dm22j12s205q_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER DPST SNAP-IN QC
Manufacturer:
C&K Components
Datasheet:
![DM24J72S205Q4](/photos/15/7/150754/dm24j72s205q4__dm24j72s205q6__dm64j72s205q6__dm64j72s205q3_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER POWER DPST 3A QC
Manufacturer:
C&K Components
Datasheet:
![DM21J12S205Q](/photos/38/60/386005/dm_247c82af6b6e19d2d4dbec7f03f8c106-en_tmb.jpg)
Part Number:
Description:
MINI ROCKER DPDT BLK
Manufacturer:
C&K Components
Datasheet:
![DM14J72S205Q3](/photos/15/7/150727/dm14j72s205q3__dm54j72s205q3_tmb.jpg)
Part Number:
Description:
SWITCH ROCKER POWER SPST 3A QC
Manufacturer:
C&K Components
Datasheet: