Loading 3D model… large boards can take a moment.
USB 장치를 소프트웨어 명령으로 실제 분리·재연결하는 효과를 만들기 위한 USB 2.0 test dongle입니다. PC와 제어 MCU의 연결은 유지하고, DUT 쪽 VBUS와 D+/D−만 순서대로 차단·복구합니다.
현재 상태: Rev.C.1 회로·PCB 정적 검사와 펌웨어·호스트 offline build/test 완료. 제조 파일은 생성했으며, PCB 제작과 physical bring-up은 남아 있습니다.
커넥터 3D model은 이 render에 포함하지 않았습니다.
| 항목 | 내용 |
|---|---|
| 목적 | USB 장치 replug 회귀시험 자동화 |
| 제어 | CH552T, USB Full-Speed CDC ACM |
| USB 경로 | CH334U hub + FSUSB42MUX data switch |
| 전원 경로 | TPS2552 current-limited VBUS switch |
| 호스트 | Windows/Linux 대상 C serial CLI — Windows compile 검증, Linux 미검증 |
| PCB | KiCad 9, 4-layer, Rev.C.1 |
| 제작 상태 | 미제작. 첫 PCB 발주 후보이며 앞선 버전은 설계 단계에서 종료 |
PC / test runner
└─ USB-C upstream
└─ CH334U hub
├─ CH552 control MCU ─ USB CDC command
└─ DUT path
├─ FSUSB42MUX ─ D+ / D− connect-disconnect
└─ TPS2552 ─ current-limited VBUS on-off
off는 data pair를 먼저 끊고 VBUS를 차단합니다. on은 data pair를 연결한 뒤 VBUS를 켜고 fault를 다시 확인합니다. 부팅·reset·fault 상태에서는 DUT가 꺼지도록 firmware state machine을 구성했습니다.
지원 명령:
on
off
cycle [100..30000]
status
fault
version
help
firmware/ch552/ CH552 USB CDC firmware와 host-side tests
hardware/RevC1/kicad/ schematic, PCB, custom symbols/footprints
hardware/RevC1/manufacturing/ BOM, positions, Gerber/drill archive
host/portpulse/ native C serial CLI
docs/ 설계 판단, 검증 결과, bring-up plan
2026-07-22에 다시 실행한 결과입니다.
| Gate | 결과 | 범위 |
|---|---|---|
| KiCad ERC | 0 errors, 0 warnings | schematic 정적 검사 |
| KiCad DRC | 0 violations, 0 unconnected, 0 parity issues | PCB 정적 검사 |
| Firmware host tests | PASS | command state, descriptors, CDC parser, GPIO initialization-order source checks |
| SDCC firmware build | PASS | code 5,897 / 14,336 bytes, XRAM 79 / 768 bytes |
| Native host compile | PASS | Windows target, GCC -Wall -Wextra -Werror -pedantic |
| Physical hardware | NOT TESTED | PCB 미제작 |
자세한 명령과 수치는 offline verification에 있습니다. 두 connector footprint의 치수 출처와 미검증 범위는 footprint sources에 기록했습니다.
필요 도구: Python 3, SDCC 4.6 계열, GCC.
cd firmware/ch552
python build.py all
cmake -S . -B build
cmake --build build --config Release
예상 사용법은 다음과 같습니다. 실제 장치가 없으므로 end-to-end 실행은 아직 검증하지 않았습니다.
portpulse --port COM12 status
portpulse --port COM12 off
portpulse --port COM12 --delay-ms 2000 cycle
제조 파일이 존재한다는 사실을 production-ready 또는 검증된 하드웨어로 표현하지 않습니다. 실제 합격 조건은 bring-up plan에 고정했습니다.
하드웨어·펌웨어·호스트 소스는 MIT License로 공개합니다. 빌드 도구와 외부 구성요소는 각각의 라이선스를 따르며, 저장소의 third-party notices와 firmware의 third-party notices를 함께 확인해야 합니다.
No comments yet. Be the first to ask about this board.