# ch36x_api_rw_helper **Repository Path**: schips/ch36x_api_rw_helper ## Basic Information - **Project Name**: ch36x_api_rw_helper - **Description**: CH367/CH368 Driver access helper in Windows - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-08 - **Last Updated**: 2024-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ch36x api rw helper A `Windows` program for helping `CH367`/`CH368` PCIe Driver access. ## Usage exec with this args: ```bash -i, --Index Device ID -a, --Action Action Option(mw/mr, er/ew) -f, --OutputFile output result to file -r, --Reg Reg for r/w -v, --Val Val for w ``` Memory R/W example: ```bash xx.exe -i 0 -f result.txt -a mr -r 0x0000 xx.exe -i 0 -f result.txt -a mw -r 0x0000 -v 0x00000012 ``` EEPROM R/W example: ```bash : when reg 0x00 : vid(16 Bit) : when reg 0x01 : did(16 Bit) : when reg 0x02 : rid( 8 Bit) : when reg 0x04 : svid(16 Bit) : when reg 0x04 : sid(16 Bit) xx.exe -i 0 -f result.txt -a er -r 0x00 xx.exe -i 0 -f result.txt -a ew -r 0x00 -v 0x00000012 ``` ## For Developers Build Env (choose one): - `Visual C++ 6.0` with `src/ch36x_api_rw_helper.dsw` - `MinGW or MSYS2` with `src/Makefile` - `Qt5 + MinGW` with `src/ch36x_api_rw_helper.pro` > File Coding is `ANSI/GBK` .