您尚未登录。

楼主 # 2021-05-26 08:56:52

奔跑的孩子
会员
注册时间: 2021-01-28
已发帖子: 51
积分: 31.5

cygwin 编译 xfel 成功,但是运行出错,请问是什么原因呢?

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)

离线

楼主 #1 2021-05-26 08:57:02

奔跑的孩子
会员
注册时间: 2021-01-28
已发帖子: 51
积分: 31.5

Re: cygwin 编译 xfel 成功,但是运行出错,请问是什么原因呢?

2021-05-26_085528.png

离线

#2 2021-05-26 12:11:57

xboot
会员
注册时间: 2019-10-15
已发帖子: 675
积分: 421

Re: cygwin 编译 xfel 成功,但是运行出错,请问是什么原因呢?

估计是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

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn