wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
apt-cyg install libusb1.0 libusb1.0-devel
git clone https://github.com/xboot/xfel
cd xfel
make
可是运行出错:
$ ./xfel.exe ver
usb bulk send error
$ ./xfel.exe hexdump 0 100
usb bulk send error
最近编辑记录 奔跑的孩子 (2021-05-26 08:59:05)
离线
离线
估计是cygwin的问题,支持的命令行。
xfel-v1.0.0 https://github.com/xboot/xfel
usage:
xfel help - Print this usage summary
xfel version - Show brom version
xfel hexdump <address> <length> - Dumps memory region in hex
xfel dump <address> <length> - Binary memory dump to stdout
xfel exec <address> - Call function address
xfel read32 <address> - Read 32-bits value from device memory
xfel write32 <address> <value> - Write 32-bits value to device memory
xfel read <address> <length> <file> - Read memory to file
xfel write <address> <file> - Write file to memory
xfel reset - Reset device using watchdog
xfel sid - Output 128-bits SID information
xfel jtag - Enable JTAG debug
xfel ddr [type] - Initial DDR controller with optional type
xfel spinor - Detect spi nor flash
xfel spinor read <address> <length> <file> - Read spi nor flash to file
xfel spinor write <address> <file> - Write file to spi nor flash
xfel spinand - Detect spi nand flash
xfel spinand read <address> <length> <file> - Read spi nand flash to file
xfel spinand write <address> <file> - Write file to spi nand flash
离线