'이론 관련'에 해당되는 글 346건

  1. 2026.03.17 uart 9bit multidrop
  2. 2026.03.13 DHCP option
  3. 2026.01.27 cpuz 와 메모리 타이밍
  4. 2026.01.21 mPCIe pinout usb
  5. 2026.01.12 엔코더 파형
  6. 2026.01.11 엔코더 채터링?
  7. 2026.01.08 usb cdc acm(Abstract Control Model)
  8. 2025.12.01 pc 쿨링팬 pwm 주파수
  9. 2025.11.24 쇼트키 다이오드
  10. 2025.10.28 엔코더 관련글

uart는 8bit 7bit만 있는줄 알았는데 9bit도 있다고 한다.

근데 PC에 달린녀석이나 USB to Serial 등으로는 안되는것 같기도 하고..

 

[링크 : https://community.st.com/t5/stm32-mcus-products/9-bit-uart-receive-stm32f103/td-p/336998]

[링크 : https://github.com/linux4sam/9bit]

[링크 : https://github.com/rhempel/serial9]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

DHCP option  (0) 2026.03.13
DHCP option 82 relay  (0) 2025.01.23
multicast  (0) 2023.08.26
cobs  (0) 2023.05.25
PAM4  (0) 2023.01.16
Posted by 구차니

예전에 찾아봤던 신기한 녀석의 후속글.. 이라고 해야하나?

2025.01.23 - [이론 관련/네트워크 관련] - DHCP option 82 relay

 

0~255 총 256개의 옵션이 존재하며 BOOTP 에서 유래하거나 DHCP에서 추가된 것들이 있는 것 같은데..

dhcp 서버 설정을 해본적이 없는것 같네.. dhcpd.conf 뒤져보면 나오려나?

 

RFC 1497 (BOOTP Vendor Information Extensions) vendor extensions[13]: Section 3 CodeNameLengthNotes

0 Pad 0 octets Can be used to pad other options so that they are aligned to the word boundary; is not followed by length byte
1 Subnet mask 4 octets Client's subnet mask as per RFC 950. If both the subnet mask and the router option (option 3) are included, the subnet mask option must be first.
2 Time offset 4 octets Time offset of the client's subnet in seconds from Coordinated Universal Time (UTC). The offset is expressed as a two's complement 32-bit integer. A positive offset indicates a location east of the zero meridian and a negative offset indicates a location west of the zero meridian.
3 Router Multiples of 4 octets Available routers, should be listed in order of preference
4 Time server Multiples of 4 octets Available Time Protocol servers to synchronise with, should be listed in order of preference
5 Name server Multiples of 4 octets Available IEN 116 name servers, should be listed in order of preference
6 Domain name server Multiples of 4 octets Available DNS servers, should be listed in order of preference
7 Log server Multiples of 4 octets Available log servers, should be listed in order of preference
8 Cookie server Multiples of 4 octets Cookie in this case means "fortune cookie" or "quote of the day", a pithy or humorous anecdote often sent as part of a logon process on large computers; it has nothing to do with cookies sent by websites.
9 LPR Server Multiples of 4 octets A list of Line Printer Daemon protocol servers available to the client, should be listed in order of preference
10 Impress server Multiples of 4 octets A list of Imagen Impress servers available to the client, should be listed in order of preference
11 Resource location server Multiples of 4 octets A list of Resource Location Protocol servers available to the client, should be listed in order of preference
12 Host name Minimum of 1 octet Name of the client. The name may be qualified with the local domain name.
13 Boot file size 2 octets Length of the boot image in 512B blocks
14 Merit dump file Minimum of 1 octet Path where crash dumps should be stored
15 Domain name Minimum of 1 octet  
16 Swap server 4 octets The IP address of a server where a swap service (e.g., swap over NFS) is provided for diskless workstations[14]
17 Root path Minimum of 1 octet The path in the remote filesystem specified by siaddr or sname that the client should mount as its root filesystem (e.g, over NFS)
18 Extensions path Minimum of 1 octet  
255 End 0 octets Used to mark the end of the vendor option field

[링크 : https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#Options]

 

This appendix contains DHCP options and BOOTP vendor extensions from RFC 2132, and includes the
validation type for each option, as indicated in Table 10: DHCPv4 Options by Number , on page 23.

The following sections describe the DHCP options in detail:
• RFC 1497 Vendor Extensions, on page 1

[링크 : https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/network_registrar/10-0/dhcp/guide/DHCP_Guide/DHCP_Guide_appendix_01101.pdf]

 

DHCP option 43 / 25DHCP (Dynamic Host Configuration Protocol) 에는 클라이언트가 DHCP 서버로부터 정보를 요청할 때 클라이언트에게 송신할 수 있는 많은 구성 옵션이 있습니다. 검색 도구를 사용하여 모든 DHCP 옵션을 볼 수 있습니다.

DHCP 옵션은 DHCP 서버가 IP 주소와 함께 클라이언트에게 전달하는 추가적인 구성 데이터를 정의합니다. 일반적인 옵션에는 서브네트 마스크, 도메인명, 라우터 IP 주소, 도메인명 서버 IP 주소 및 정적 라우트가 포함됩니다.

RFC 2132: DHCP 옵션 및 BOOTP 공급업체 확장의 정의를 기반으로 하는 표준 DHCP 옵션이 다음 표에 설명되어 있습니다. IBM Navigator FOR I의 DHCP 옵션 표시를 사용하여 사용자 지정 옵션을 구성할 수도 있습니다.

[링크 : https://www.ibm.com/docs/ko/i/7.5.0?topic=concepts-dhcp-options-lookup]

 

[링크 : http://www.ktword.co.kr/test/view/view.php?no=1925]

 

윈도우 서버 DHCP 설정

[링크 : https://undefinedmaster.tistory.com/23] 43

 

linux dhcpd 설정

host x41  { 
hardware ethernet 00:0a:e4:2f:66:38;
fixed-address 10.0.0.201;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.0.20;
option domain-name "site";
  option vendor-class-identifier "PXEClient";
  vendor-option-space PXE;
    option PXE.discovery-control 7;
    option PXE.boot-server 15 1 10.0.0.20;
    option PXE.boot-menu 15  15 "Tpm for OSd 7.1";
    option PXE.menu-prompt 0 "Tpm for Osd";
}

[링크 : https://www.ibm.com/docs/en/tpmfod/7.1.1.14?topic=configuration-dhcpdconf-example

[링크 : https://manpages.ubuntu.com/manpages/bionic/man5/dhcp-options.5.html]

[링크 : https://y7712.tistory.com/entry/Ubuntu-DHCP]

 

dhcp 옵션에서 1번이 subnet 3번이 router 인데 아래 옵션이 그 옵션인가?

default-lease-time 600;
max-lease-time 7200;
subnet 10.0.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
range 10.0.0.5 10.0.0.15;
}
subnet 172.16.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 172.16.0.1;
range 172.16.0.5 172.16.0.15;
}

[링크 : https://docs.redhat.com/ko/documentation/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_a_multihomed_dhcp_server]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

uart 9bit multidrop  (0) 2026.03.17
DHCP option 82 relay  (0) 2025.01.23
multicast  (0) 2023.08.26
cobs  (0) 2023.05.25
PAM4  (0) 2023.01.16
Posted by 구차니

cpu-z 에서 메모리 타이밍 테이블을 보면, 4개만 있어서 다른 클럭은 안되나 싶었는데

 

하단의 Tools - Save Report as .TXT 해서 저장하고 보면

 

다음과 같이 JEDEC # 으로 해서 전체가 나온다.

최소한 슬라이드 해서 전체를 보여주면 더 좋았을걸 아쉽네

Memory SPD
-------------------------------------------------------------------------

DIMM # 1
SMBus address 0x50
Memory type DDR4
Module format SO-DIMM
Module Manufacturer(ID) SK Hynix (AD00000000000000000000000000)
SDRAM Manufacturer (ID) SK Hynix (AD00000000000000000000000000)
Size 8192 MBytes
Max bandwidth DDR4-2133 (1066 MHz)
Part number HMA41GS6AFR8N-TF    
Serial number 2719C256
Manufacturing date Week 25/Year 16
Nominal Voltage 1.20 Volts
EPP no
XMP no
AMP no
EXPO no
JEDEC timings table CL-tRCD-tRP-tRAS-tRC @ frequency
JEDEC #1 9.0-9-9-22-31 @ 666 MHz
JEDEC #2 11.0-11-11-27-38 @ 800 MHz
JEDEC #3 12.0-13-13-30-42 @ 900 MHz
JEDEC #4 13.0-14-14-32-45 @ 966 MHz
JEDEC #5 14.0-14-14-35-49 @ 1033 MHz
JEDEC #6 15.0-15-15-36-50 @ 1066 MHz
JEDEC #7 16.0-15-15-36-50 @ 1066 MHz

DIMM # 1
SPD registers
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 
00 23 11 0C 03 84 19 00 08 00 40 00 03 09 03 00 00 
10 00 00 08 0D F4 03 00 00 6C 6C 6C 11 08 74 20 08 
20 00 05 70 03 00 A8 1E 2B 2E 00 78 00 14 3C 00 00 
30 00 00 00 00 00 00 00 00 00 00 00 00 2D 0E 0B 2C 
40 2E 04 0B 35 00 00 16 2B 2D 0E 15 35 24 0E 00 00 
50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
70 00 00 00 00 00 86 B5 CE 00 00 00 00 E7 C1 DD CE 
80 0F 11 04 01 00 00 00 00 00 00 00 00 00 00 00 00 
90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF DB 
100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
140 80 AD 01 16 25 27 19 C2 56 48 4D 41 34 31 47 53 
150 36 41 46 52 38 4E 2D 54 46 20 20 20 20 00 80 AD 
160 FF 57 56 36 36 4E 30 35 35 39 32 30 33 00 00 00 
170 01 00 00 00 00 00 00 01 00 00 00 00 00 DD 00 00 
180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

 

심심해서 만들어 본 표. DDR4 메모리 클럭 범위가 의외로 어마어마하게 넓네?

MT/s MHz bandwidth
1600 800 12800
1800 900 14400
1932 966 15456
2066 1033 16528
     
2133 1066.5 17064
2400 1200 19200
2666 1333 21328
2933 1466.5 23464
3000 1500 24000
3200 1600 25600
3600 1800 28800
4000 2000 32000
4133 2066.5 33064
     
4200 1033 33600

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

mini PCI express 에는 특이하게도 USB가 존재한다.

36, 38번 핀(USB_DM / USB_DP)

고작(?) PETp0 / PETn0 / PERp0 / PERn0 4개 핀인거 보면 양방향 디퍼런셜 1채널이 전부인것 같은데

그 와중에 부가핀이 더 많은게 함정이네. wifi 나 usim은 reserved 영역인진 모르겠다.

[링크 : https://m.blog.naver.com/spc9999/566 71141]

 

 

[링크 : https://community.toradex.com/t/ec25-mini-pcie-is-not-detected-on-verdin-am62/21343/20]

 

[링크 : https://connecttech.com/ftp/pdf/CTIM-MPG00X.pdf[

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

cpuz 와 메모리 타이밍  (0) 2026.01.27
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니
이론 관련/전기 전자2026. 1. 12. 10:47

오실로스코프에 대충 연결하고

파워서플라이에서 3.3V 100mA 만들어서 넣음

1채널 노란색(프로브 노란색) - CLK(보라색)

2채널 파란색(프로브 빨간색) - DT(파란색)

 

시계방향(CW)로 돌리니 CLK가 먼저 반응하고

 

반시계방향(CCW)로 돌리니 DT가 먼저 반응한다.

 

위치에 따라서는 falling이 될수도  rising이 될수도 있긴한데..

이걸 어떻게 해석해야 한 틱 옮겨지고, 갑자기 방향이 바뀌는지 알 수 있을까?

'이론 관련 > 전기 전자' 카테고리의 다른 글

엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
Posted by 구차니
이론 관련/전기 전자2026. 1. 11. 21:42

stm32f103 으로 인터럽트 통해서 처리하려고

rising / falling edge에서 하게 해놨더니, 도대체 어떻게 뜨는건지 모르게 많이 뜬다.

물론 귀차니즘으로 usb cdc를 통해 그냥 바로 출력하게 해놔서 놓치는게 있을 것 같기도 하지만

high가 연속 두번 뜨지 않나 먼가.. 놓치는 느낌인데

USB CDC TEST 1528                                                               
5H                                                                              
4H                                                                              
5H                                                                              
USB CDC TEST 1529                                                               
USB CDC TEST 1530                                                               
4H                                                                              
5L                                                                              
5L                                                                              
4L                                                                              
USB CDC TEST 1531                                                               
USB CDC TEST 1532                                                               
5L                                                                              
4H                                                                              
USB CDC TEST 1533                                                               
USB CDC TEST 1534                                                               
4H                                                                              
5L                                                                              
4H          

                                                              
USB CDC TEST 1622                                                               
USB CDC TEST 1623                                                               
5L                                                                              
5H                                                                              
4H                                                                              
4H                                                                              
5L                                                                              
USB CDC TEST 1624                                                               
USB CDC TEST 1625                                                               
4L                                                                              
USB CDC TEST 1626      

 

A,B,C 모두 내부 풀업으로 하고 있는데, 외부 풀업과 0.1uF 을 달아줘서 해봐야겠다.

 

[링크 : https://retromakers.tistory.com/29] 하드웨어 채터링 방지

[링크 : https://blog.naver.com/kiatwins/221087863980] 하드웨어 채터링 방지

[링크 : https://eteo.tistory.com/138] sw 디바운스

'이론 관련 > 전기 전자' 카테고리의 다른 글

엔코더 파형  (0) 2026.01.12
쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
Posted by 구차니

ttyACM 이라는 장치명으로 붙길래 ACM의 약자가 궁금해서 검색

Communication Device Class (Abstract Control Model)

[링크 : https://www.keil.com/pack/doc/mw/usb/html/group__usbh__cdcacm_functions.html]

 

 

[링크 : https://docs.oracle.com/cd/E19253-01/819-0360/gevsx/index.html]

 

CDC의 서브클래스라고 해야하나.. 아무튼 CDC에 ACM과 ECM이 있는데

그러면 usb to ethernet 들은 ECM 클래스인가? 조사를 나중에 해봐야겠네

3) Communication Device Class(CDC)
USB to Serial, USb to ethrenet 등 usb 포트에 연결하여 통신하는 디바이스들이 주로 사용하는 class이다. CDC는 통신 방법에 따라 ACM, ECM, EEM, NCM, OBEX 등의 다양한 subclass를 사용한다.
ACM(Abstract Control Model Class)
USB to Serial에 주로 사용되는 subclass
ECM(Ethernet Networking Control Model)
Usb to ethernet의 subclass. 주 목적은 ethernet packet을 전송하기 위한 class이다.

[링크 : https://jeongzero.oopy.io/fad066a1-fe95-487e-a826-003aee42a0cc]

 

ECM - usb if에서 정의

rndis (remote ndis) - ms에서 개발한 독점 프로토콜

[링크 : https://codezoo.tistory.com/109]

[링크 : https://community.st.com/t5/stm32-mcus-products/stm32u5x-usb-ecm-demo-how-to-setup-host/td-p/631189]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

cpuz 와 메모리 타이밍  (0) 2026.01.27
mPCIe pinout usb  (0) 2026.01.21
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

대충 25khz?

[링크 : https://blog.naver.com/divenire_am/220489050085]

 

ATX 규격은 아니고 intel 팬에 대한 규격으로 있다고 ai 님께서 이야기 하신다.

4-Wire Pulse Width Modulation (PWM) Controlled Fans

2.3.1 PWM Output Signal
The Hardware Monitor Devise is required to provide an open-drain or open-collector type output
for the PWM signal on pin 4 (see Table 1 and Figure 8) with the following properties:
Frequency: 25kHz nominal, 21-28kHz is acceptable
Current sink capability: 5mA required, 8mA recommended
Maximum voltage capability: 5.25V
Maximum VOL: 0.8V
Signal is not inverted, 100% PWM results in Max fan speed 

[링크 : https://glkinst.com/cables/cable_pics/4_Wire_PWM_Spec.pdf]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
USB BOS - Binary Object Store  (0) 2024.07.14
Posted by 구차니
이론 관련/전기 전자2025. 11. 24. 15:52

순방향 전압강하가 적고 어쩌구 하고, 고속정류(교류->직류)에 유리하다고

하지만 역 누설전류가 많다는데 그게 어떤걸 의미하는지 감이 안왔었는데...

[링크 : https://m.blog.naver.com/giriffing/220911910493]

[링크 : https://m.blog.naver.com/haneham/221266444757]

 

말 그대로 전류가 역류해서 왜 전원이 생겨나지(멘붕) 이런 사태가 발생해버림..

 

그 와중에 온도에 따른 영향도 크다

[링크 : https://toshiba.semicon-storage.com/info/CUS10S30_datasheet_en_20140407.pdf?did=14077&prodName=CUS10S30]

'이론 관련 > 전기 전자' 카테고리의 다른 글

엔코더 파형  (0) 2026.01.12
엔코더 채터링?  (0) 2026.01.11
엔코더 관련글  (0) 2025.10.28
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
Posted by 구차니
이론 관련/전기 전자2025. 10. 28. 18:28

천천히 읽어 봐야지..

단순하게 2개 채널의 출력값으로 회전 방향과 회전수를 재는줄 알았는데\

UVW 3개 채널로 나오는 녀석도 존재하나보다.

 

[링크 : https://blog.naver.com/3lastbaek5/221742506275]

[링크 : https://blog.naver.com/3lastbaek5/222027952013]

[링크 : https://blog.naver.com/3lastbaek5/222028985811]

[링크 : https://blog.naver.com/3lastbaek5/222032081149]

'이론 관련 > 전기 전자' 카테고리의 다른 글

엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
오디오 녹음 재머  (0) 2025.09.15
pwm 화음 출력  (0) 2025.08.06
힐베르트 변환포락선 인벨로프  (0) 2025.06.27
Posted by 구차니