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Fvh;vh0vFPU<u$fjhP5ЀuP^&GF8.;Ft.gu-E$fjhQfjfjfjfjfjfjE&;vfhfj4vfhQvj15}&tu&E&u_EP^&wFvPjP/(vhtjfhi$vv
fvjm^&Wuuvhtjff
ifP:7vjfjF
F
s8.;Ft.gfFf=tvfhfjFj
E$V
PBvhEPvhjjVPLfFf=t=vv
hfj*#<*Wvfh3_^f]M
fu78B8;88888883787*766"5*5*5*5*5*5*5 NS{I8556m6S7A73475U6U6d{gA15+ ozX$9:$9R*{aFb]X:.)zK98k3k^X?_[
"=
^	%		hi	Zqe`\N@l/
jTA}"	QqRZU=+oXE#!"-""W Nr 8  =B&&_}&$C&J%j%Bb#'%'D-w1a656N6EH6.6(5'43xn\xxLPT1LPT2LPT1 anno 1985SPPEPP 1.9ECPECP + EPP

4

USB2LPT.HLPSTATICBUTTONcfgmgr32.dllCM_Get_Device_IDACM_Get_Device_Interface_ListAkernel32.dllCreateFileADeviceIoControlCloseHandle%Xh (%u, %s)%Xh%u-%02u-%02u%lu((pRRR_W !"#E-/IRQ/ERRONLPE/ACK/BSYSTBAF/INISELIENDIR-R0R1R2PtrClk/R3/NibAck/1284Active/DataAvailXflagAckDataReqPtrClk/PtrBusy/HostClk/HostBusy/Init/1284Active/PeriphRequestXflag/AckReversePeriphClk/PeriphAck/HostClk/HostAck/ReverseRequest/1284ActiveTimeoutSpareSpareSpare/IntrWaitWriteDataStb/ResetAddrStbSmall FontsHelv%02X%i%c%dDSCData %u%s: %s (%s) -- %s: DirD %dDirS %dDirC %dtooltips_class( @0000w"~w




z
vgz





@πEmulationHelvPd"P(fPEmulated port &address:ddd!P(fPLPT &enhancement mode:ddf!P&LPTrapping method for IN and OUT instructions2

P&Debug register trap>
P(catches all flavours of IN and OUT instructions)J
P&Force allocation, even if previously allocatedV
P&READ/WRITE_PORT_UCHAR/USHORT/ULONG redirectb
P(faster, more stable)vXPPerformance options
PUse &write-back for OUT instructions
P(Concatenate multiple OUT instructions to one USB packet)PSend packet after that &timeout value:2e P
Pms

PRead-&back local copy of output registers@gP&More precisely...P(return last-written value on IN instruction; does not work when outputs are driven by external hardware)StatisticsHelvoPDebug register trapLtP&Reset to zeroXPOUT instructions:b(dP"XPIN instructions:b (eP4XPEmulation errors:b2(fP,lP(unsupported IN or OUT instruction, e.g. OUTSB)DXPStolen debug registers:bB(gPBlP(An unknown driver wrote to debug registers)VPOverwritten debug registers are detected by a 100 ms kernel timer.dXXReally assigned to:fd
lXSPPd,
mXEPP (+4)d8
nXECP (+400h)t0yPREAD_PORT_UCHAR / WRITE_PORT_UCHAR redirectionLuPReset to &zeroXPOUT instructions:b(hPXPIN instructions:b(iP<POversized:(jPnoPUSB2LPT Sp&ecial...npPFirmware &Update...Phaftmann#software, Technical University Chemnitz,
Faculty of Electronics Engineering and Information Technology,
Professur fr Mess- und Sensortechnik, 2006-2009 Ȁ:Read-back copy of output registersHelv
P&Data port (base address + 0)
P&Control port (base address + 2)"
P&Other ports (ECP, EPP)2POK2PCancel Ȁ
USB2LPT SpecialHelvPFeature Register
cP(The Feature Register will be kept persistent in EEPROM of USB2LPT device. Access via DeviceIoControl)
!
dPOpen Collectors for &Data Port (+0)
:
ePOpen Collectors for &Control Port (+2)
Z
fPswitch off &Pullups (and 5V at Pin25 if so wired)
u
gPD&irect In/Out mode (USB2LPT converts to I/O device)-P(Weak 5V instead of strong 3.3V for high-level outputs)DP(A grayed checkmark means: Open Collectors in SPP mode, Push-Pull otherwise)d\P(just energy saving) P(No more inverted control and status lines! Therefore no useful LPT emulation, for access via DeviceIoControl.
Rev.4 has 20 I/O lines, 17 otherwise.
Direction is per-bit and per-pin selectable.)RP&Set && Readback^PScan for short circui&tsh(PSerial Number
^nP
^
iPin &USB descriptorvhPFirmware Datez^oPvl
hPDimmed &blue LED`PStartup value for &ECR (operating mode):LfaC!P<2POKw2PCancelMonitorHelvPData &Port (+0)P$&uPReadP6(
X#32772DP&Status Port (+1)NPNP^P&Control Port (+2)hPhP~P$2vPcfgA (+400h)&~@P&Read Byteh|2
z	P&Addressh2
{	P&Data~@P&Write Byte2wPcfgB (+401h)~PP&ECR (+402h)P&LffC!P6
x	XFIFO full6
y	XFIFO emptyP$PDirection register (USB2LPT specific)_Do you really, really want to use this non-standard port address?

You may crash your computer!4This port address is not a valid hexadecimal number!EThis port address is wrong: too less, too big, or not divisable by 4!DOn port addresses not dividable by 8, EPP emulation is not possible!EIncorrect number as Timeout value! (Must not be larger than 1000ms.)#Assignment of emulated port addressNThis port address must match to the address used by your application software.DThis firmware doesn't support the USB2LPT specific feature register!none
Context &help0Bul&k transfer (faster; good for XP and earlier)Interrupt transfer otherwiseActivating bulk transfer renders USB2LPT defective under Windows Vista and newer!
Remember to reset this bit before upgrading your system.

Proceed?The debug register trap hook will be detected by PatchGuard some minutes later, which results in BSoD 0x109 when no countermeasure was taken.

Proceed?dThe firmware is written to the EEPROM successfully.
Cycle power to device to start the new firmware.Unknown error while writing firmware to EEPROM. Please do not disconnect device and try again. The USB2LPT device may not work anymore!>File "%s" is not accepted as firmware for that USB2LPT device!SDate of actual (running) firmware: %s

Date of firmware to be written: %s

Proceed?unknownFirmware*.iicPerfect function.AIncorrect function detected! Run Kurzschlusstest.EXE for details.*Do you measure HIGH level on all 17 lines?The firmware for Low-Speed USB2LPT device with ATmega controller cannot be updated here, but you can set a flag for activating a built-in boot loader. After power cycling you must update using "bootloadHID.EXE".

Proceed?SThis USB2LPT doesn't support firmware update via USB.

(First EEPROM byte = 0x%02X)NSPP (Nibble)BidirectionalAutoStrobeECPEPPreservedtest modeConfigurationMadditionalreservedInterrupt RequestErrorOnlinePaper EndAcknowledgeBusyZStrobeAutoFeedInitSelect InputInterrupt EnableData direction, 1=inputnot implementedC&ommand&Address0normallyNibble ModeByte ModeECP ModeEPP Mode  4VS_VERSION_INFO99?@StringFileInfo,040904E4"CompanyNamehaftmann#software,FileDescriptionProperty Sheet ProviderFileVersion1.07 (3/15)"LegalCopyrightPublic DomainInternalNameUSB2LPT$OriginalFilenameusb2lpt.dll)ProductNameh#s USB to LPT converter ProductVersion1.07 (3/15)$VarFileInfoTranslation	
Vorgefundene Kodierung: UTF-80