https://github.com/redchenjs/usb_flash_programmer_qt
USB Flash Programmer | USB Flash 編程器 | USB Flash 編程器配套工具
https://github.com/redchenjs/usb_flash_programmer_qt
Last synced: 2 months ago
JSON representation
USB Flash Programmer | USB Flash 編程器 | USB Flash 編程器配套工具
- Host: GitHub
- URL: https://github.com/redchenjs/usb_flash_programmer_qt
- Owner: redchenjs
- Created: 2020-03-25T13:11:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-25T16:21:46.000Z (over 6 years ago)
- Last Synced: 2026-01-01T23:32:03.872Z (6 months ago)
- Language: C++
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
USB Flash Programmer
====================
User tools for USB Flash Programmer.
## Dependencies
```
cmake
pkg-config
qt5-default
qt5serialport-dev
```
## Build
```
mkdir -p build
cd build
cmake ../
make
```
## Usage
### Erase full flash chip
```
usbflash /dev/ttyACMx erase_all
```
### Erase flash
```
usbflash /dev/ttyACMx erase 0x0000(addr) 0x1000(length)
```
### Write flash
```
usbflash /dev/ttyACMx write 0x0000(addr) 0x1000(length) data.bin
```
### Read flash
```
usbflash /dev/ttyACMx read 0x0000(addr) 0x1000(length) data.bin
```
### Read flash info
```
usbflash /dev/ttyACMx info
```