⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p24cxx.bat

📁 自制51编程器的资料
💻 BAT
字号:
@goto program

		Programmer initialization file
		------------------------------

Description:

Reading initialization file:
1. given by the commandline: "/iFilename"
2. "uniprog.ini" in current directory
3. "uniprog.ini" in directory of "uniprog.exe"

@Lines without '=' or with '@' as the first character are comments.
Name must be defined first.
Then all parameters collect for this device until next Name found.
All not defined parameters are disabled.
Unknown parameters gives an error output and the program is terminated.
Additional characters are ignored:
@ "Flash= 1024" and "FLASHSIZE =1024Bytes" are the same
If no FLASH is defined, Erase is not avaiable.
Fuses are collected in the given order (max 8 fuses: 0..7)
Following parameters are valid:		default settings:
Connection Parameters:	BAud		9600
			COm		1
			PRog		0
Device Parameters:	EEprom		0
			FLash		0
			FUse		"" (all 8)
			LOck		0
			NAme		""
			SIgnature	""
			TYpe		"" (programming algorithm)
			VPp		0
Following program algorithm are implemented:
51:	89C51, 89C52
1051:	89C1051, 89C2051, 89C4051
1200:	90S1200, 90S2313
1200E:	EEPROM of 90S1200, 90S2313
EEPROM-hex files are default with .eep extension
EEPROM: read, write after FLASH, Checksum separat calculated
-------------------------------------------------------------------------
Definitions:

@COM		= 1
Baud		= 57600
@Programmer	= 07a612	Checksum programmer, warning if not equal
Timeout		= 200		Waittime during blankcheck or 
				checksum calculation (* 1/18 seconds)
-------------------------------------------------------------------------
Name		= 24C02
Type		= 24C16
VPP		= 5
Flash		= 256
---------------------------------------
Name		= 24C04
Type		= 24C16
VPP		= 5
Flash		= 512
---------------------------------------
Name		= 24C08
Type		= 24C16
VPP		= 5
Flash		= 1024
---------------------------------------
Name		= 24C16
Type		= 24C16
VPP		= 5
Flash		= 2048
---------------------------------------
Name		= 24C32
Type		= 24C32
VPP		= 5
Flash		= 4096
---------------------------------------
Name		= 24C64
Type		= 24C32
VPP		= 5
Flash		= 8192
---------------------------------------
Name		= 24C128
Type		= 24C32
VPP		= 5
Flash		= 16384
---------------------------------------
Name		= 24C256
Type		= 24C32
VPP		= 5
Flash		= 32768
---------------------------------------
Name		= 24C512
Type		= 24C32
VPP		= 5
Flash		= 65536
---------------------------------------
END		= 0		ignore further lines
-------------------------------------------------------------------------

		Batch mode programming example
		------------------------------

:program
@echo off
if a%1 == a goto nobatch
REM Batch mode programming, Device must be inserted first !
uniprog.exe /ip24cxx.bat /h%1 /ra.e.p.qj
goto end
				 a.	  = autoselect
				   e.	  = erase
				     p.	  = program
				       qy = quit
:nobatch
REM No Batch mode
uniprog.exe %1 %2 %3 %4 %5 /ip24cxx.bat
:end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -