로그인회원등록 내글장바구니주문조회현재접속자
 상품 검색








 게시판 검색





 
 
회원등록 비번분실


온라인 입금계좌
ㆍ기업은행
ㆍ219-043192-01-028
ㆍ이건영

      거래은행 바로가기
 
 Sensor Applications
센서 자료실
작성자 leeky        
작성일 2007/11/12
첨부#1 UserPort.zip (29KB) (Down:76)
첨부#2 userport_win_shot.jpg (32KB) (Down:68)
Link#1 (Down:42)
ㆍ추천: 0  ㆍ조회: 808   
  UserPort for Windows 2000

요약
UserPort.SYS is a kernel mode driver for Windows NT/2000 that gives usermode programs access to I/O Ports.
This makes it possible to access hardware directly from a normal executable
in the same way as under Windows 95/98/ME.
This driver does not work on Windows 95/98/ME and there is really no need to run it
anyway because I/O ports are always granted to usermode programs on these operating systems.

The driver can be used for the following purposes:
· To run software on Windows NT/2000 that normally only runs on Windows 95/98/ME.
· To easily access hardware like the parallel port and other I/O ports.
So what’s the drawbacks with this wonderful software?
Microsoft has for security reasons prohibited usermode
access to I/O ports. Opening up I/O ports creates a big security hole in your system.

You should therefore carefully set the grant lists to only give usermode access to the specific I/O ports you need.
The default values opens up a wide range of I/O ports and you should narrow it down.
If you are writing your own software you should only grant access through the file “.UserPort”.
Access is then given to your program when you open the file “.UserPort”.
Other programs that don’t open “.UserPort” will not have access to these I/O ports.

설치
The driver can be installed in the following two ways: 
Copy UserPort.SYS to %WINDIR%SYSTEM32DRIVERS
Start UserPort.EXE and add the addresses you want and remove the others and clock on start. 
Run UserPort.EXE with the driver filename and path as an argument

예제1
run UserPort.EXE X:YOURDIRUserPort.SYS
Add the addresses you want and remove the others and clock on start.
You should now have usermode access to the addresses you have chosen.

예제2
Port instructions are not included in development environments (such as Visual C++ and Delphi)
because direct I/O access isn’t allowed by the operating system.
You will therefore need to include a portion of assembler code into your software
in order to access your hardware, see Figure 2, 3 and 4.

 
그림설명
shows how simple it now is to access hardware from a usermode program.
The UserPort package should contain the files IOPort.c,
IOPort.h and IOPort.pas to be when developing C, C++ and Delphi programs.

기술요약
The driver gives user mode program access to selected ports
by changing the x86-processors IOPM (I/O Permission Map).

Figure 1 shows how the driver works.
For a detailed description on the TSS see Intel proccessor handbooks. 
 
 
The original size of the TSS is 0x20ab and the driver extends it to 0x2135.
The default IOPM offset is 0x20ad and this value is rewritten
by the OS on every task switch. The IOPM offset must therefore be changed
with the undocumented function Ke386IoSetAccessProcess, which sets the IOPM offset to 0x88.

The AllProcessesIOPM is written to 0x20ad because this is the default IOPM offset
for all processes and the ThroughCreateFileIOPM is written to 0x88
because the Ke386IoSetAccessProcess function sets the IOPM offset to 0x88.
The Ke386IoSetAccessProcess function is called when a user mode program opens the file “.UserPort”.

The driver loads the two IOPM:s from:
HKEY_LOCAL_MACHINESoftwareUserPortAllProcessesIOPM
HKEY_LOCAL_MACHINESoftwareUserPortThroughCreateFileIOPM
It will use default values below if these doesn't exist.

This driver is influenced and inspired by an article written by Dale Roberts 8/30/95,
published in May 96 Dr Dobbs Journal,
바로가기: http://www.ddj.com/

AVRTOOLS™
   
윗글 AT89C2051과 EM4095를 사용한 RFID 장치의 제작
아래글 아날로그 PID 제어 회로
    N         제목    글쓴이 작성일 조회 추천
74 AT89C2051과 EM4095를 사용한 RFID 장치의 제작 leeky 2006/12/31 (일) 1189 0
73 UserPort for Windows 2000 leeky 2007/11/12 (월) 808 0
72 아날로그 PID 제어 회로 leeky 2007/11/12 (월) 1397 0
71 Windows Scope 2K4 leeky 2007/11/12 (월) 938 0
70 12C508 금속검출기 leeky 2006/02/24 (금) 1104 0
69 16C84 LCD표시 L,C 메터 leeky 2006/02/25 (토) 1150 2
68 89C2051 LCD표시 LC메터의 제작 leeky 2006/02/14 (화) 1167 8
67 12C508A 초음파 거리 측정기 avrtools 2006/02/23 (목) 1054 0
66 Caliper to computer (RS-232) interface leeky 2006/02/23 (목) 1069 4
65 가속도센서 ADXL202의 PIC12C508 인터페이스 leeky 2006/02/20 (월) 1036 2
64 16F84 광학식 심박측정기 leeky 2006/02/27 (월) 1121 6
63 12C508 전자 나침판 leeky 2006/02/27 (월) 706 0
62 ENC28J60 Ethernet to SPI Header Board leeky 2007/03/26 (월) 979 0
61 SHT11 습도센서 8051 인터페이스 leeky 2006/02/14 (화) 1030 0
60 SHT11 습도센서 SX18 인터페이스 leeky 2006/03/16 (목) 665 2
59 SRF04 초음파 거리센서의 제작 leeky 2006/02/25 (토) 663 0
58 Ambient Light Sensors TSL2550 avrtools 2006/04/06 (목) 470 0
57 PIC16F877A BioSense Physiologic Sensing leeky 2006/04/06 (목) 605 0
56 Electrocardiogram (ECG) Front End leeky 2006/04/06 (목) 676 0
55 Biometric Interface Board leeky 2006/04/06 (목) 789 0
54 MAX2242 802.11b 블루투스 RF증폭기 leeky 2006/04/06 (목) 482 0
53 AX.25 9600BPS 무선모뎀 L2PCX leeky 2006/04/06 (목) 378 0
52 TCS230 색상검출 평가키트 leeky 2006/04/06 (목) 632 0
51 100V10A 50W 전자부하 leeky 2006/04/06 (목) 562 0
50 FLAME SENSOR UVTRON R2868 leeky 2006/04/06 (목) 563 0
49 Compact Optical Image Scanner leeky 2006/04/06 (목) 494 0
48 지자기 방위계 모듈 CMPS03 leeky 2006/04/06 (목) 634 0
47 0~1.5KV 정전기 측정센서 PKE05A1 leeky 2006/04/06 (목) 338 0
46 Rain Sensor 인터페이스 회로 leeky 2006/04/06 (목) 567 0
45 초음파 감지 센서 leeky 2006/04/06 (목) 554 0
44 HUMIDITY SENSOR HS-1100 leeky 2006/04/06 (목) 429 0
43 Relative Humidity Sensor KSH01, KSH-02 leeky 2006/04/06 (목) 327 0
42 Digital Radar Speedometer leeky 2006/04/06 (목) 488 0
41 Touch Sensitive Switch leeky 2006/04/06 (목) 539 0
40 Economy radar detector leeky 2006/04/06 (목) 373 0
39 Twin Loop metal detector leeky 2006/04/06 (목) 507 0
38 Proximity Detector CS209A/D leeky 2006/04/06 (목) 485 0
37 Lego Sound Sensor leeky 2006/04/06 (목) 443 0
36 12C508 IR Proximity Detector leeky 2006/04/06 (목) 646 0
35 Sharp IR Sensor Hack leeky 2006/04/06 (목) 628 0
34 TIL300 PRECISION LINEAR OPTOCOUPLER leeky 2006/04/06 (목) 388 0
33 Analog Opto Isolator leeky 2006/04/06 (목) 433 0
32 Rich Caudle's capaciflector leeky 2006/04/06 (목) 279 0
31 Geiger Tube leeky 2006/04/06 (목) 389 0
30 Lynxmotion Infrared Proximity Detector leeky 2006/04/06 (목) 365 0
29 Low Power LED Flasher leeky 2006/04/06 (목) 440 0
28 백색 LED BLU 구동회로 leeky 2006/04/06 (목) 473 0
27 저전압 백색 LED 구동회로 leeky 2006/04/06 (목) 512 0
26 IR LED 송신회로 avrtools 2006/04/06 (목) 490 0
25 LED 총방사 광량의 측정 leeky 2006/04/06 (목) 404 0
24 자외선 측정센서의 교정 leeky 2006/04/06 (목) 354 0
23 UV센서 S9050의 데이터 leeky 2006/04/06 (목) 269 0
22 디지털 자외선 메터 leeky 2006/04/06 (목) 322 0
21 Simple Metal Detector leeky 2006/04/06 (목) 514 0
20 DS1820 온도센서 읽기 leeky 2006/04/04 (화) 568 0
19 RC5 적외선 리모콘의 신호처리 leeky 2006/02/17 (금) 661 0
18 NEC 적외선 리모콘의 전송규격 leeky 2006/02/17 (금) 551 0
17 MBI-6001 TRANSLESS LED DRIVER leeky 2006/02/14 (화) 392 0
16 PC로 제어하는 AD9850 DDS 신호발생기 leeky 2006/02/14 (화) 429 0
15 2400 Mhz test oscillator leeky 2006/02/14 (화) 460 0
14 DC BRUSHLESS FANS leeky 2006/02/14 (화) 546 0
13 RF mW Meter for SHF (2300MHz) leeky 2006/02/14 (화) 377 0
12 FET로 만드는 400W SSR leeky 2006/02/14 (화) 606 0
11 Scope2k4 소프트웨어 및 하드웨어 회로 leeky 2006/02/14 (화) 722 0
10 LTC1298를 사용한 PC 병렬포트용 ADC leeky 2006/02/14 (화) 388 0
9 0~14V 가변정전압, 0~2A 가변정전류 전원 avrtools 2006/02/14 (화) 519 0
8 ATV 1240-1300MHz 튜너용 PLL leeky 2006/02/14 (화) 271 0
7 1 Transistor FM Microphone leeky 2006/02/14 (화) 327 0
6 Helical Antenna Design Software leeky 2006/02/13 (월) 428 0
5 IRF510을 사용한 7MHz 출력10W 증폭기, PLL leeky 2006/02/13 (월) 478 0
4 MC34063A 설계용 계산기 avrtools 2006/02/13 (월) 461 0
3 RS232 신호 변환회로 leeky 2006/02/13 (월) 600 0
2 Sound card based multimeter Scope leeky 2006/02/13 (월) 747 0
1 2400MHz Helical Antenna Design leeky 2006/02/08 (수) 378 0
1

바구니 : 0
 보관함 : 0
오늘뷰 : 0
HOME   |   회사소개   |   제휴안내   |   회사위치   |   서비스이용 약관   |   개인정보 보호정책   |   사이트맵
17015 경기도 용인시 기흥구 동백중앙로16번길 16-25, 508호. 전화 : 031-282-3310
사업자 등록번호 : 697-47-00075 / 대표 : 이건영 / 업태 : 제조업 / 종목 : LED조명, LED전원, 제어장치.
개인정보 관리책임자 : 홈페이지 관리자 . Copyright ⓒ2016 아크레즈 (ACLEDS INC.)
HOME TOP PREVNEXT 0 0 0