资源简介
我自己移植的windows下的sunxitools-fel,可以用于全志cpu的fel模式。cpu调试
代码片段和文件信息
/* USB Benchmark for libusb-win32
Copyright (C) 2010 Travis Robinson.
website: http://sourceforge.net/projects/libusb-win32
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2 of the License or
(at your option) any later version.
This program is distributed in the hope that it will be useful but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not please visit www.gnu.org.
*/
#include
#include
#include
#include
#include “lusb0_usb.h“
#define _BENCHMARK_VER_ONLY
#include “benchmark_rc.rc“
#define MAX_OUTSTANDING_TRANSFERS 10
// This is used only in VerifyData() for display information
// about data validation mismatches.
#define CONVDAT(format...) printf(“[data-mismatch] “ format__VA_ARGS__)
// All output is directed through these macros.
//
#define LOG(LogTypeStringformat...) printf(“%s[“ __FUNCTION__ “] “format LogTypeString __VA_ARGS__)
#define CONERR(format...) LOG(“Error:“format__VA_ARGS__)
#define CONMSG(format...) LOG(““format__VA_ARGS__)
#define CONWRN(format...) LOG(“Warn:“format__VA_ARGS__)
#define CONDBG(format...) LOG(““format__VA_ARGS__)
#define CONERR0(message) CONERR(“%s“ message)
#define CONMSG0(message) CONMSG(“%s“ message)
#define CONWRN0(message) CONWRN(“%s“ message)
#define CONDBG0(message) CONDBG(“%s“ message)
// This is the libusb-win32 return code for a transfer that timed out.
#define TRANSFER_TIMEDOUT -116
// Custom vendor requests that must be implemented in the benchmark firmware.
// Test selection can be bypassed with the “notestselect“ argument.
//
enum BENCHMARK_DEVICE_COMMANDS
{
SET_TEST = 0x0E
GET_TEST = 0x0F
};
// Tests supported by the official benchmark firmware.
//
enum BENCHMARK_DEVICE_TEST_TYPE
{
TestTypeNone = 0x00
TestTypeRead = 0x01
TestTypeWrite = 0x02
TestTypeLoop = TestTypeRead|TestTypeWrite
};
// This software was mainly created for testing the libusb-win32 kernel & user driver.
enum BENCHMARK_TRANSFER_MODE
{
// Tests for the libusb-win32 sync transfer function.
TRANSFER_MODE_SYNC
// Test for async function iso transfers and queued transfers
TRANSFER_MODE_ASYNC
};
// Holds all of the information about a test.
struct BENCHMARK_TEST_PARAM
{
// User configurable value set from the command line.
//
INT Vid; // Vendor ID
INT Pid; // Porduct ID
INT Intf; // Interface number
INT Altf; // Alt Interface number
INT Ep; // Endpoint number (1-15)
INT Refresh;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-03-06 11:48 mysunxitools-win-release\
目录 0 2018-03-06 11:48 mysunxitools-win-release\driver\
文件 8096 2018-03-05 21:40 mysunxitools-win-release\driver\AllWinnerH3.inf
目录 0 2018-03-06 11:48 mysunxitools-win-release\driver\amd64\
文件 76384 2018-03-05 21:40 mysunxitools-win-release\driver\amd64\libusb0.dll
文件 52832 2018-03-05 21:40 mysunxitools-win-release\driver\amd64\libusb0.sys
目录 0 2018-03-06 11:48 mysunxitools-win-release\driver\ia64\
文件 157792 2018-03-05 21:40 mysunxitools-win-release\driver\ia64\libusb0.dll
文件 110176 2018-03-05 21:40 mysunxitools-win-release\driver\ia64\libusb0.sys
文件 25088 2018-03-05 21:40 mysunxitools-win-release\driver\installer_x64.exe
文件 23552 2018-03-05 21:40 mysunxitools-win-release\driver\installer_x86.exe
目录 0 2018-03-06 11:48 mysunxitools-win-release\driver\license\
目录 0 2018-03-06 11:48 mysunxitools-win-release\driver\license\libusb0\
文件 44153 2018-03-05 21:40 mysunxitools-win-release\driver\license\libusb0\installer_license.txt
目录 0 2018-03-06 11:48 mysunxitools-win-release\driver\x86\
文件 42592 2018-03-05 21:40 mysunxitools-win-release\driver\x86\libusb0.sys
文件 67680 2018-03-05 21:40 mysunxitools-win-release\driver\x86\libusb0_x86.dll
文件 132855 2018-03-06 11:36 mysunxitools-win-release\fel.exe
目录 0 2018-03-06 11:42 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\
文件 320 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\AUTHORS.txt
目录 0 2018-03-06 11:42 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\
目录 0 2018-03-06 11:42 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\
文件 63488 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\install-filter-win.exe
文件 44544 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\install-filter.exe
文件 76384 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\libusb0.dll
文件 52832 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\libusb0.sys
文件 15360 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\testlibusb-win.exe
文件 10752 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\amd64\testlibusb.exe
目录 0 2018-03-06 11:42 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\ia64\
文件 121344 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\ia64\install-filter-win.exe
文件 87040 2018-03-05 21:36 mysunxitools-win-release\libusb-win32-bin-1.2.6.0\bin\ia64\install-filter.exe
............此处省略43个文件信息
- 上一篇:Gabor特征图像
- 下一篇:boast3 黑油模型 油藏数值模拟
相关资源
- openglbible中需要的gltools.h及.a文件
- 广成usb can软件ECANtools canusb技术
- RADTools 2安装文件bak文件解包
- Compilers: Principles Techniques and Tools 2nd
- ROSTNewsAnalysis Tools
- Mechanics-sommerfeld
- usbeam hosts editor
- [给Maya动画师的免费工具包MGtools及其
- Geometric Tools for Computer Graphics
- VMware Tools for mac osx 10.13 darwin852
- os darwin8.5.8
- OpenGL安装库glutgltoolsglewfreeglut
- cdrtools-3.02a09.tar.gz
- OkAPKtoolsAPK反编译、编译、签名利器
- autotools 介绍如何使用automake autoconf等
- 飞歌安卓logotools工具支持1024X600分辨率
- DAEMONToolsLite10.0
- pyqt5_tools-5.9.0.1.2-cp35-none-win_amd64.whl
- 虚拟光驱 DAEMON Tools Lite 10.6.0.283 去广
- build-tools 19.1.0
- Virtools----走迷宫(附带max模型、Virt
- CPNTools 软件
- cpn tools 3.3.2
- GhostCatTools
- EZ-USB_devtools_version_261700
- Data Analysis with Open Source Tools.pdf
- 友善之臂MiniTools-linux-usb烧写工具
- 深度学习Goodfellow Yoshua Bengio Aaron Cou
- Kiwi.CatTools_3.34企业破解版
- 怎样使用CPN Tools软件(CPN tools help 中
评论
共有 条评论