RFID 관련 규격 정리중

 

claude 랑 이야기 하다 보니

type A / type B는 part 2 RF 출력, 신호 인터페이스 관련(modulation 등) 차이이고

mifare / desfire / ntag 등은 type A를 쓴다고 한다.

 

part 4 에서 전송 프로토콜 혐상을 하고 나서 APDU로 통신을 하는 듯.

 

Part 1: Physical characteristics

[링크 : https://cdn.standards.iteh.ai/samples/73596/a466036642d748d5a68e3adf58009141/ISO-IEC-14443-1-2018.pdf]

 

Part 2: Radio frequency power and signal interface

[링크 : https://cdn.standards.iteh.ai/samples/73597/91d41d645abb47b583de0532e74590d6/ISO-IEC-14443-2-2020.pdf]

 

Part 3: Initialization and anticollision

[링크 : https://cdn.standards.iteh.ai/samples/73598/7d90d7e26ed74f22b6ccd16cc3204b7d/ISO-IEC-14443-3-2018.pdf]

 

Part 4: Transmission protocol

[링크 : https://cdn.standards.iteh.ai/samples/73599/78cb3949540b4b7da711f301650caa06/ISO-IEC-14443-4-2018.pdf]

 

Posted by 구차니

MCT 에서도 FF0780 이 기본값인것 같은데

이걸 2진수로 바꾸면 1111 1111 0000 0111 1000 0000(2) 이 된다.

이걸 Access bit에 넣으면

C3_3 만 1이 되는건데

C3_3 에서 _3은 블록구분이니까 sector trailer에 대해서만 C3 = 1로 셋팅된 상황

 

3번은 sector trailer block 이고

0~2번은 data block

 

sector trailer의 C1/C2/C3 = 0/0/1 인 조건은

keyA read(never) / wirte (key A)

keyA read(key A) / wirte (key A)

access bit read(Key A) / write (Key A) 인데 transport configuration 에서는 Key B로도 읽힌다고 한다.

 

data block의 C1/C2/C3 = 0/0/0 인 조건은

read - Key A or B

write - Key A or B

increment - Key A or B

decrement, transfer, restor - Key A or B

즉, A나 B 중에 매칭이 되면 모든 데이터를 읽고 쓸 수 있는 셋팅이다.

 

 

 

 

'하드웨어 > rfid_nfc_smartcard' 카테고리의 다른 글

익성전자 is3400 usb hid 모드  (0) 2026.07.23
iso/iec 14443-1/2/3/4  (0) 2026.07.16
MCT(Mifare classic Tool) 앱에서 사용하는 키  (0) 2026.07.16
Proxmark, mfoc, mfcuk  (0) 2026.07.15
mifare classic 1k 구조  (0) 2026.07.15
Posted by 구차니

앱에서도 나오지만

키를 입력해서 쓸수 있는건 아니고

미리 정의된 사전에서 사용해보는 구조이고

여기서 사용하는 키는 앱에 파일로 저장되어 있는것 같다.

 

근데 특이한게.. D3.. 어쩌구 키는 hotel-std.keys에 속하지 않고

이걸 제외하면 std < hotel < extended 로 전부 포함되어 있다.

 std.keys hotel-std.keys extended-std.keys
# Standard keys

FFFFFFFFFFFF
A0A1A2A3A4A5
D3F7D3F7D3F7
# Keys that are known to
# work for some hotel locks.
# exteded-std.keys might
# have more working keys.

FFFFFFFFFFFF
2A2C13CC242A
8A19D40CF2B5
A0A1A2A3A4A5
B578F38A5C61
0000014B5C31
96A301BCE267
44AB09010845
85FED980EA5A
D3B595E9DD63
AFBECD121004
34B16CD59FF8
BB2C0007D022
58AC17BF3629
B62307B62307
AFBECD120454
842146108088
9EBC3EB37130
34D3C568B348
91FF18E63887
4D8B8B95FDEE
354A787087F1
4A306E62E9B6
135B88A94B8B
# More well known keys
# that can be found publicly

# Standard keys
FFFFFFFFFFFF
A0A1A2A3A4A5
D3F7D3F7D3F7
000000000000

...
# 너무 많아서 생략

 

[링크 : https://github.com/ikarus23/MifareClassicTool/tree/master/Mifare%20Classic%20Tool/app/src/main/assets/key-files]

'하드웨어 > rfid_nfc_smartcard' 카테고리의 다른 글

iso/iec 14443-1/2/3/4  (0) 2026.07.16
mifare classic 1k - access control  (0) 2026.07.16
Proxmark, mfoc, mfcuk  (0) 2026.07.15
mifare classic 1k 구조  (0) 2026.07.15
CUID 복제 안되는 rfid 카드 -_ㅠ  (0) 2025.12.03
Posted by 구차니

 

[링크 : https://proxmark.com/]

[링크 : https://www.proxmarkbuilds.org/]

 

hf search
hf mf chk -*
hf mf nested --1k --blk 0 -a -k ffffffffffff
hf mf chk --dump
hf mf dump
hf mf restore --1k --uid "UID8자리"

[링크 : https://www.clien.net/service/board/lecture/16933467]

[링크 : https://m.blog.naver.com/ndb796/221126191197]

 

$ apt-cache search mfoc
forensics-all - Debian Forensics Environment - essential components (metapackage)
indi-dreamfocuser - INDI driver for DeamFocuser focuser
mfoc - MIFARE Classic offline cracker
python-mdanalysis-doc - analyse molecular dynamics files and trajectories ( documentation)
python3-mdanalysis - analyse molecular dynamics files and trajectories


$ apt-cache search mfcuk
forensics-all - Debian Forensics Environment - essential components (metapackage)
mfcuk - MiFare Classic Universal toolKit
Posted by 구차니

1k 이긴 한데 다 쓸 순 없고

1 block = 16 bytes

1 sector = 4 block

그래서 0~15 sector / 0~63 block 으로 구성

 

 

value block 라는걸로 access bit에 체크하면 increment / decrement / store / transfer 명령으로 잔액이 계산된다고 하는데

trailer 블럭이라고 매 섹터의 마지막 블록에 저장된 값에 의해서 access bit를 설정이 가능한것으로 보인다.

 

주로 쓴건 Read(0x30), Write(0xA0) 인데

0xC0 / 0xC1 / 0xC2 / 0xB0 명령으로 increment / decrement / restore / transfer 가 수행이 가능하다.

[링크 : https://www.nxp.com/docs/en/data-sheet/MF1S50YYX_V1.pdf]

[링크 : https://support.ccs.com.ph/portal/en/kb/articles/mifare-classic-1k-memory-structure]

[링크 : https://www.e2box.co.kr/entry/Mifare®-카드구조]

'하드웨어 > rfid_nfc_smartcard' 카테고리의 다른 글

MCT(Mifare classic Tool) 앱에서 사용하는 키  (0) 2026.07.16
Proxmark, mfoc, mfcuk  (0) 2026.07.15
CUID 복제 안되는 rfid 카드 -_ㅠ  (0) 2025.12.03
출입카드 복제 (CUID)  (0) 2025.03.20
libpcsclite on cpp  (0) 2025.03.18
Posted by 구차니

유튜브 쇼츠로 터보분자펌프를 보면서 신기해했는데

그정도 까진 아니어도 진공펌프를 다뤄야 할 날이 오게 될 줄이야 -_-

 

러핑 펌프라고 해서 무난하게(?) 사용하는 진공 펌프가 있고

그 하위에 로터리 베인 / 로터리 피스톤 / 수착 가 있는데

수착(sorption)은 다공성 물질등으로 기체를 붙여서 진공으로 만드는 녀석이고

진공을 만들어서 고진공 상태에서 작동이 가능할 만한 녀석으로 만드는건 로터리 베인과 / 로터리 피스톤 정도인것 같다.

 

1mbar가 0.750062 torr 라고 하고

대기압은 1atm = 1013.25 mbar = 760 torr로 정의된다.

 

아무튼 로터리 펌프라고 해도 10^-3~10^-4 mbar 까지는 달성이 가능해서

반도체 같은게 아니라면 충분하지 않을까 싶을 정도

[링크 : https://m.blog.naver.com/iotsensor/221622716455]

 

오일리스 진공펌프

[링크 : https://blog.naver.com/sugarfree/222472452693]

Posted by 구차니

Controller SPLC780D1-001A

[링크 : https://m.eleparts.co.kr/data/goods_old/data/LC2041-SMLYH6-D%20Rev%201.0G.pdf]

 

언어가 하위 모델로 들어가나보다

sunplus껀

SPLC780D-01 일본어

SPLC780D-02 러시아어(키릴자모)

SPLC780D-03 그리스어

SPLC780D-08 라틴어군 (독일어/아이슬란드어/스웨덴어/프랑스어/포르투칼어/스페인어)

SPLC780D-13 일본어

SPLC780D-14 아랍어

SPLC780D-15 일본어 + 그리스?

SPLC780D-01 일본어 + 러시아

SPLC780D-17 일본어 + 라틴어군

SPLC780D-18 ???

SPLC780D-19 라틴어군 + 큰 폰트(알파벳)

SPLC780D-54 라틴어군 작은 폰트

 

그 이후로는 확장영역이 다른데 어디 나라 타겟인지 써있지 않아서 모르겠다

 

[링크 : https://www.displayfuture.com/Display/datasheet/controller/SPLC780D1.pdf] orient

[링크 : https://www.devicemart.co.kr/mart7/upload/html_img/30102/SPLC780D.pdf] sunplus

'하드웨어 > Display 장비' 카테고리의 다른 글

ws2812b 소비전력이.. 으아아  (0) 2026.09.18
rgb led matrix - hub75  (0) 2026.09.03
nvidia tensor core  (0) 2026.05.21
ILI9341 datasheet  (0) 2026.01.21
lcd timing  (0) 2025.11.28
Posted by 구차니

조이트론 HD20

$ v4l2-ctl --device=/dev/video2 --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'MJPG' (Motion-JPEG, compressed)
[1]: 'YUYV' (YUYV 4:2:2)

 

다이소 웹캠. 

$ v4l2-ctl --device=/dev/video4 --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'YUYV' (YUYV 4:2:2)

 

로지텍 C920

$ v4l2-ctl --device=/dev/video2 --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'YUYV' (YUYV 4:2:2)
[1]: 'H264' (H.264, compressed)
[2]: 'MJPG' (Motion-JPEG, compressed)

2026.06.11 - [하드웨어/캡쳐보드 카메라] - 로지텍 C920 H.264 지원 웹캠

Posted by 구차니
하드웨어/Network 장비2026. 6. 13. 18:18

 

 

 

대충봐서는 PMIC 같긴한데..  파트명 찾는건 실패

 

 

RTL8197F 802.11bgn WiSoC

1GHz MIPS24Kc processor

[링크 : https://www.realtek.com/Product/Index?id=403&cate_id=194]

 

MIPS32® 24Kc™

[링크 : https://s3-eu-west-1.amazonaws.com/downloads-mips/documents/MD00346-2B-24K-DTS-04.00.pdf]

 

정직하게 GND / TX / RX 있어서 TTL UART로 연결하니 잘나온다. (38400-N-8-1)

전원 문제는 아닌거 같고 펌웨어 나갔거나, soc 망가져서 wifi가 안올라 오는건가?

그 와중에 먼가.. 자체 제작 부트로더 인가 메시지가 평소 보던거랑 좀 다르다

Booting...
init_ram
bond:0x00000004
MCM 64/32MB

 dram_init_clk_frequency ,ddr_freq=1066 (Mbps), 533 (MHZ) 

DRAM init disable

DRAM init enable

DRAM init is done , jump to DRAM
enable DRAM ODT 

SDR init done dev_map=0xb8142000

Detect page_size = 2KB (3)

Detect bank_size = 4 banks(0x00000001)

Detect dram size = 64MB (0x04000000)

DDR init OK
init ddr ok

DRAM Type: DDR2
        DRAM frequency: 533MHz
        DRAM Size: 64MB
JEDEC id C84017, EXT id 0xc840
found gd25q64
flash vendor: GigaDevice
gd25q64, size=8MB, erasesize=4KB, max_speed_hz=41000000Hz
auto_mode=0 addr_width=3 erase_opcode=0x00000020
Write PLL1=80c000c2
=>CPU Wake-up interrupt happen! GISR=89000080 
Reboot Result from Watchdog Timeout!

---Realtek RTL8197F-VG boot code at 2024.08.12-13:21+0900 v3.4.14b (600MHz)
Delay 1 second.
Check Firmware(00040000) : size: 0x0079cfc8 ---->[ OK ]
Firmware CHECKED [OK]
Jump to image start=0x80a00000...
decompressing kernel:
Uncompressing Linux... done, booting the kernel.
done decompressing kernel.
start address: 0x8042d900
Linux version 3.10.90 (hykim@20920ed568ef) (gcc version 4.8.5 20150209 (prerelease) (Realtek MSDK-4.8.5p1 Build 2536) ) #1 Fri Mar 276
bootconsole [early0] enabled
CPU revision is: 00019385 (MIPS 24Kc)
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Zone ranges:
  Normal   [mem 0x00000000-0x03ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x00000000-0x03ffffff]
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4088
Kernel command line: console=ttyS0,38400 root=/dev/mtdblock1
PID hash table entries: 256 (order: -4, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 1, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 0, 16384 bytes)
Writing ErrCtl register=0001ac22
Readback ErrCtl register=0001ac22
Memory: 50272k/65536k available (4317k kernel code, 15264k reserved, 1516k data, 176k init, 0k highmem)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:192
Realtek GPIO IRQ init
Calibrating delay loop... 398.13 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048
NET: Registered protocol family 16
<<<<<Register PCI Controller>>>>>
Do MDIO_RESET
40MHz
PCIE ->  Cannot LinkUP
Realtek GPIO controller driver init
INFO: registering sheipa spi device
bio: create slab <bio-0> at 0
INFO: sheipa spi driver register
INFO: sheipa spi probe
Switching to clocksource MIPS
NET: Registered protocol family 2
TCP established hash table entries: 2048 (order: 0, 16384 bytes)
TCP bind hash table entries: 2048 (order: -1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 16384 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 16384 bytes)
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 98
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x18147000 (irq = 17) is a 16550A
console [ttyS0] enabled, bootconsole disabled
console [ttyS0] enabled, bootconsole disabled
Realtek GPIO Driver for Flash Reload Default
loop: module loaded
m25p80 spi0.0: change speed to 15000000Hz, div 7
JEDEC id C84017
m25p80 spi0.0: found gd25q64, expected m25p80
flash vendor: GigaDevice
m25p80 spi0.0: gd25q64 (8192 Kbytes) (41000000 Hz)
2 rtkxxpart partitions found on MTD device m25p80
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000800000 : "boot+cfg+linux+rootfs"
0x000000230000-0x000000800000 : "rootfs"
PPP generic driver version 2.4.2
NET: Registered protocol family 24
MPPE/MPPC encryption/compression module registered
Realtek WLAN driver - version 3.8.0(2017-12-26)(SVN:)
Adaptivity function - version 9.7.07
MACHAL_version_init
[MACFM_software_init 297]wifi hal support Mac function = 0x8008


#######################################################
SKB_BUF_SIZE=3032 MAX_SKB_NUM=768
#######################################################

[wlan0] init sae_peer_table 
 [wlan0] init sae_blacklist_table 
 [MACFM_software_init 297]wifi hal support Mac function = 0x8008
[MACFM_software_init 297]wifi hal support Mac function = 0x8008
[MACFM_software_init 297]wifi hal support Mac function = 0x8008
[MACFM_software_init 297]wifi hal support Mac function = 0x8008
[MACFM_software_init 297]wifi hal support Mac function = 0x8008
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (785 buckets, 3140 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
Twin IP Module Init
NET: Registered protocol family 17
NET: Registered protocol family 15
Ebtables v2.0 registered
8021q: 802.1Q VLAN Support v1.8
Realtek FastPath:v1.03

Probing RTL819X NIC-kenel stack size order[0]...
  SoC: 8197FH-VG
rtl8651_setAsicOperationLayer --> layer : 1
EFMD - MAX_PRE_ALLOC_RX_SKB = 2048
EFMD - rtl865x_maxPreAllocRxSkb = 2058
rtl8651_setAsicOperationLayer --> layer : 2
eth0 added. vid=9 Member port 0x11e...
eth1 added. vid=8 Member port 0x1...
rtl8651_setAsicOperationLayer --> layer : 3
[peth0] added, mapping to [eth1]...
m25p80 spi0.0: change speed to 41000000Hz, div 3
VFS: Mounted root (squashfs filesystem) readonly on device 31:1.
Freeing unused kernel memory: 176K (805b4000 - 805e0000)
Start inittime
---> init fs
---> init elog
---> init dump_core
---> init version
Product ID:n704sr Version:15.328
---> init sys
---> init sysctl
/bin/sh: renice: not found
---> init restore_config
enable 0 interval
        --> Restoring Config...
                --> 1st Config - Default [No data in flash]
                 -- Default account : Do macfmt conversion
                 -- mgmt access - credential patched
                 -- patched (login --> removed)
                 -- patched (password --> removed)
---> init restore_session
---> init nfrule
---> init servd
---> init config
---> init ftm
---> init tz
---> init gpio
  ---> gpio.init end
---> init mac
    =================================================================
    press magic key to change default setting ...
    LAN MAC : B0:38:6C:32:70:34
    WAN MAC : B0:38:6C:32:70:35
---> init bridge
---> init wireless
  ---> wl.preinit
killall: iwcontrol: no process killed
killall: iapp: no process killed
killall: wscd: no process killed
killall: iwcontrol: no process killed
killall: iapp: no process killed
killall: wscd: no process killed
        Scanning best channel for wl_mode:0 --->

'하드웨어 > Network 장비' 카테고리의 다른 글

lorawan library  (0) 2025.09.26
LoRa / LoRaWAN  (0) 2025.09.26
lora class a/b/c  (0) 2025.09.24
iptime 포트미러링  (0) 2025.09.17
fc san  (0) 2025.03.08
Posted by 구차니

오.. 웹캠에서도 H.264를 지원해서 비싼거였구나..

[87374.932115] usb 1-2: Product: HD Pro Webcam C920
[87374.935406] usb 1-2: Found UVC 1.00 device HD Pro Webcam C920 (046d:082d)

 

$ v4l2-ctl --device=/dev/video2 --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture

[0]: 'YUYV' (YUYV 4:2:2)
[1]: 'H264' (H.264, compressed)
[2]: 'MJPG' (Motion-JPEG, compressed)

'하드웨어 > 캡쳐보드 카메라' 카테고리의 다른 글

uvc 관련 정보 조회 방법  (0) 2026.09.04
웹캠 비디오 포맷  (0) 2026.06.25
usb webcam 대역폭 에러  (0) 2024.05.09
eos-m 줌렌즈 픽쳐 스타일 설정  (0) 2018.06.24
HCVR5108-S2/-V2 USB wireless 실패  (0) 2018.02.15
Posted by 구차니