參數(shù)資料
型號: μPD75F4246(A)
廠商: NEC Corp.
元件分類: 8位微控制器
英文描述: 8 Bit Single Chip Microcontrollers
中文描述: 8位單片機(jī)微控制器
文件頁數(shù): 81/143頁
文件大?。?/td> 549K
代理商: ΜPD75F4246(A)
69
CHAPTER 4 SAMPLE PROGRAMS
(2) Sample program
;
RAM definition
;
;
;
;
;
;
;
;
Verify command
Get device information command
Status check command
Send data
Send buffer
Receive data
Timer (ms)
Wait for
μ
PD75F4264’s processing time
:
RBSEND
RFERR
RFSD
RFRD
RFBUF
RFRCNT
RFLAST
RFTM
RFSTS
RSLADD
RUSER
Send buffer
Type of error (no error if “0”)
One byte of write data
One byte of read data
Verify size (maximum of 16 bytes for
μ
PD75F4264)
Retry counter
Final data judgment
Timer counter
Status data
Last Address
External RAM area
;Get device information
;
Get
μ
PD75F4264’s end address
;
WHL
Verify data’s start address
;
Last data when RFLAST = 1
;
Any errors
;
;
700 CLK Wait
Wait between commands
$
$
$
$
$
TITLE (’FLASH WRITER V1.0x’)
PROCESSOR(4021)
CHGSFR(0)
DEBUG
INCLUDE(SRAM.INC)
NAMETMVRF
PUBLIC
EXTRN
EXTRN
EXTRN
EXTRN
EXTRN
EXTRN
EXTRN
MVRF
MSIG
MSTS
SCMSD
SSDBUF
SCMRD
STMMS
STMWT
CMVRF
;--------------------------------------------------------------------------------------------
Verify command
CSEG
;MVRF
;
;
;
;
;
;
;
;
;
;
;
;--------------------------------------------------------------------------------------------
;********************************************************************************************
;
;
;
;
In this sample program, the following declaration is included in the program.
MVRF:
;***** Get device information *****
CALL
MSIG
MOVG
MOV
WHL,#RUSER
RFLAST,#0
CMP
BE
BR
RFERR,#0
$LVRF100
LVRF900
LVRF100:
MOVW
CALL
AX,#700
STMWT
;***** Send command *****
LVRF110:
Variables
RUSER
EQU 20000H
;Start address of area for storing verify data
;********************************************************************************************
In this sample program, verification is performed by comparing the data stored in external RAM against the data in the
μ
PD75F4264’s flash memory. The start address in external RAM is 20000H (which is the starting address of externally
accessible RAM in 78K/4 devices).
相關(guān)PDF資料
PDF描述
μPD75F4246 8 Bit Single Chip Microcontrollers
μPD75F4246A 8 Bit Single Chip Microcontrollers
μPD75P0116 4 Bit RISC Microcontrollers(4 位單片微控制器)
μPD75P3116 4 Bit Single Chip Microcontrollers(4位單片微控制器)
μPD75P3216 4 Bit Single Chip Microcontrollers(4位單片微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PD75G6FK13 制造商:American Power Conversion Corp (APC by Schneider Electric) 功能描述:75KVA PDU W/ 480 PRI 208/120 SEC K13 RATED XMER 制造商:Schneider Electric 功能描述:APC 75KVA PDU W/ 480 PRI 20 - Bulk
PD75R-103K 功能描述:固定電感器 10uH 10% .08ohm Choke SMT Power Ind RoHS:否 制造商:AVX 電感:10 uH 容差:20 % 最大直流電流:1 A 最大直流電阻:0.075 Ohms 工作溫度范圍:- 40 C to + 85 C 自諧振頻率:38 MHz Q 最小值:40 尺寸:4.45 mm W x 6.6 mm L x 2.92 mm H 屏蔽:Shielded 端接類型:SMD/SMT 封裝 / 箱體:6.6 mm x 4.45 mm
PD75R-104K 功能描述:固定電感器 100uH 10% .5ohm Choke SMT Power Ind RoHS:否 制造商:AVX 電感:10 uH 容差:20 % 最大直流電流:1 A 最大直流電阻:0.075 Ohms 工作溫度范圍:- 40 C to + 85 C 自諧振頻率:38 MHz Q 最小值:40 尺寸:4.45 mm W x 6.6 mm L x 2.92 mm H 屏蔽:Shielded 端接類型:SMD/SMT 封裝 / 箱體:6.6 mm x 4.45 mm
PD75R-104K/R500 制造商:API Delevan 功能描述:PD75R series 100 uH 10 % 740 mA SMT Power Choke
PD75R-123K 功能描述:固定電感器 12uH 10% .085ohm Choke SMT Power Ind RoHS:否 制造商:AVX 電感:10 uH 容差:20 % 最大直流電流:1 A 最大直流電阻:0.075 Ohms 工作溫度范圍:- 40 C to + 85 C 自諧振頻率:38 MHz Q 最小值:40 尺寸:4.45 mm W x 6.6 mm L x 2.92 mm H 屏蔽:Shielded 端接類型:SMD/SMT 封裝 / 箱體:6.6 mm x 4.45 mm