• 大小: 5.46MB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2023-11-20
  • 语言: 其他
  • 标签: 固件擦写  

资源简介

自用备份的从淘宝网上购买的,1.31版 2016-6-1
增加 检测结果中显示OTP大小(芯片含OTP区才会显示)
增加 忽略ID检测选项开关, 检测失败仍可继续操作
增加 数据载入时可指定从文件某位置地址,加载到缓冲区某位置地址.(对HEX格式文件无效)
增加 操作范围; 即对芯片指定地址范围的数据进行读\写\擦.
仅对25 SPI FLASH(块\扇区擦除模式)有效, 部份型号不支持.
其它系列芯片(24 EEPROM, 25 SPI EEPROM)不支持.
增加 EN25QH80,EN25QH16,EN25QH32,EN25QH64
增加 N25Q64A
增加 W25Q64DW,W25Q128DW,W25Q256BV
增加 MX25L3233F,MX25L3235E,MX25L3236F,MX25L3239E,MX25L3273E,MX25L3273F
增加 MX25L6473E,MX25L6473F,MX25L6475E,MX25L6433F,MX25L6436E,MX25L6436F,MX25L6439E
以上 MX25L**73型号仅增加以便测试, 不保证正常读写.

1.30版 2015-11-17

资源截图

代码片段和文件信息

/*
ch34x USB to serial adaptor driver
http://www.wch.cn
http://www.winchiphead.cn  
*/

// This module is ch34x USB to serial adaptor driver on linux 2.4.20 base on usb_serial.o
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#ifdef CONFIG_USB_SERIAL_DEBUG
static int debug=1;
#else
static int debug;
#endif

#include “usb-serial.h“

/*
* Version Information
*/
#define DRIVER_VERSION “v1.0“
#define DRIVER_DESC “NanJing QinHeng ch34x USB to serial adaptor driver“
#define FALSE -1

#define ch34x_VENDOR_ID_1  0x4348 // old vid
#define ch34x_VENDOR_ID_2  0x1a86 // new vid
#define ch34x_PRODUCT_ID_1 0x5523 // pid
#define ch34x_PRODUCT_ID_2 0x7523 // pid
#define CONTROL_DTR      0x20
#define CONTROL_RTS      0x40
#define BREAK_ON      0xffff
#define BREAK_OFF      0x0000
#define VENDOR_READ_REQUEST_TYPE 0xc0
#define VENDOR_READ_REQUEST     0x01
#define VENDOR_WRITE_REQUEST_TYPE 0x40
#define VENDOR_WRITE_REQUEST 0x01

static struct usb_device_id id_table [] = 
{
{ USB_DEVICE(ch34x_VENDOR_ID_1 ch34x_PRODUCT_ID_1) }
{ USB_DEVICE(ch34x_VENDOR_ID_1 ch34x_PRODUCT_ID_2) }
{ USB_DEVICE(ch34x_VENDOR_ID_2 ch34x_PRODUCT_ID_1) }
{ USB_DEVICE(ch34x_VENDOR_ID_2 ch34x_PRODUCT_ID_2) }
{ } /* Terminating entry */
};

MODULE_DEVICE_TABLE (usb id_table);

static int  ch34x_open (struct usb_serial_port *port struct file *filp);
static void ch34x_close (struct usb_serial_port *port struct file *filp);
static void ch34x_set_termios (struct usb_serial_port *portstruct termios *old);
static int  ch34x_ioctl (struct usb_serial_port *port struct file *fileunsigned int cmd unsigned long arg);
static void ch34x_read_int_callback (struct urb *urb);
static void ch34x_read_bulk_callback (struct urb *urb);
static void ch34x_write_bulk_callback (struct urb *urb);
static int  ch34x_write (struct usb_serial_port *port int from_userconst unsigned char*buf int count);
static void ch34x_break_ctl(struct usb_serial_port *portint break_state);
static int  ch34x_startup (struct usb_serial *serial);
static void ch34x_shutdown (struct usb_serial *serial);
static int SetBaudrate( unsigned int value struct usb_serial_port *port);

static struct usb_serial_device_type ch34x_device = {
.owner =         THIS_MODULE
.name =           “ch34x“
.id_table =          id_table
.num_interrupt_in =     NUM_DONT_CARE
.num_bulk_in =        1
.num_bulk_out =      1
.num_ports =      1
.open =             ch34x_open
.close =         ch34x_close
.write =         ch34x_write
.ioctl =         ch34x_ioctl
.break_ctl =      ch34x_break_ctl
.set_termios =      ch34x_set_termios
.read_bulk_callbac

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      35185  2008-10-15 00:00  CH341A编程器软件V1.4\CH341A编程器\CH341A.DLL

     文件    2998784  2016-06-01 15:50  CH341A编程器软件V1.4\CH341A编程器\CH341A.exe

     文件    1467904  2015-12-04 18:59  CH341A编程器软件V1.4\CH341A编程器\CH341AFree.exe

     文件        634  2020-02-19 15:27  CH341A编程器软件V1.4\CH341A编程器\Config.ini

     文件    1314360  2017-03-07 13:55  CH341A编程器软件V1.4\CH341A编程器\Database.Dat

     文件     703087  2014-02-28 15:07  CH341A编程器软件V1.4\CH341A编程器\Help.chm

     文件       8040  2016-05-29 19:03  CH341A编程器软件V1.4\CH341A编程器\Languages\ChineseSimp.ini

     文件       8148  2016-05-29 22:30  CH341A编程器软件V1.4\CH341A编程器\Languages\ChineseTrad.ini

     文件       8604  2016-05-29 19:03  CH341A编程器软件V1.4\CH341A编程器\Languages\English.ini

     文件      90112  2009-03-17 16:20  CH341A编程器软件V1.4\CH341A编程器\Zlib1.dll

     文件      13208  2016-05-28 23:02  CH341A编程器软件V1.4\CH341A编程器\器件支持列表.txt

     文件        800  2014-04-18 15:44  CH341A编程器软件V1.4\CH341A编程器\操作简要说明.txt

     文件       7243  2016-07-28 21:47  CH341A编程器软件V1.4\CH341A编程器\更新说明.txt

     文件        710  2017-01-04 19:03  CH341A编程器软件V1.4\CH341A编程器\说明.txt

     文件       8625  2016-11-30 11:06  CH341A编程器软件V1.4\CH341A编程器\软件操作注意事项.txt

     文件        867  2017-03-03 11:25  CH341A编程器软件V1.4\CH341A编程器\软件注册方法.txt

     文件       4627  2012-08-29 22:45  CH341A编程器软件V1.4\CH341A编程器\软件许可协议.txt

     文件       6712  2005-07-30 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341PT.DLL

     文件      58368  2011-11-05 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341S64.SYS

     文件      19680  2007-06-12 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341S98.SYS

     文件       9822  2011-11-25 07:22  CH341A编程器软件V1.4\CH341串口驱动\ch341SER.CAT

     文件      83800  2012-02-15 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341SER.EXE

     文件       5895  2011-11-04 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341SER.INF

     文件      39696  2011-11-05 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341SER.SYS

     文件      20089  2008-12-18 00:00  CH341A编程器软件V1.4\CH341串口驱动\CH341SER.VXD

     文件      42328  2012-02-15 00:00  CH341A编程器软件V1.4\CH341串口驱动\DRVSETUP64\DRVSETUP64.exe

     文件      16559  2010-03-19 08:38  CH341A编程器软件V1.4\CH341串口驱动\Linux\ch34x.c

     文件       2322  2007-10-25 14:15  CH341A编程器软件V1.4\CH341串口驱动\Linux\Makefile

     文件        364  2004-03-29 18:55  CH341A编程器软件V1.4\CH341串口驱动\Linux\ReadMe.txt

     文件      31012  2008-10-15 00:00  CH341A编程器软件V1.4\CH341并口驱动\CH341DLL.DLL

............此处省略17个文件信息

评论

共有 条评论

相关资源