找回密码
 立即注册

使用微信账号登录

只需一步,快速开始

楼主: bensoncheck

[Bluesuite/PSKey] .psr文件到.CSRDUMP文件的转换

[复制链接]
连续签到天数:1天
签到总天数:15天
签到总奖励:86金币
发表于 2014-10-3 09:44:13 | 显示全部楼层

e2bluecmd 详解



e2bluecmd [-trans "..."] [-norun] [-pio_sda <val>] [-pio_scl <val>] [-pio_wp <va
l>]
        [ info | header [<val>]|
          download <filename> | broad <filename> <devs> |
          dump <filename> | verify <filename> |
          fill <val> | broadfill <value> <devs> |
          read <addr> | write <addr> <value> |
          readblock <addr> <size> |
          writeblock <addr> <val0> <val1> <val2> ...]

Options:
    -trans - Space separated string of optional transport options, such as:
                   SPITRANS=LPT | USB
                   SPIPORT=<port_num>
                   SPIMUL=<device_on_multispi>
    -norun - Prevents restart before exit.
    -pio_sda <val> - The PIO to use for the I2C SDA line.
                   <val> is the PIO number 0-15.
    -pio_scl <val> - The PIO to use for the I2C SCL line.
                   <val> is the PIO number 0-15.
    -pio_wp <val>  - The PIO to use for the EEPROM write protect line.
                   <val> is the PIO number 0-15 or
                   "not_used" if WP is not controlled by a PIO.

Commands:
    info - display information about the EEPROM
    header [<val>] - write the header to the EEPROM. An optional value
       can be specified to override the default size written in the header.
       It must be in log2 bytes (i.e. address width: number of bits that make
       up the address into the byte memory array). e.g. 12 for a 32Kbit EEPROM.
       The optional value must be equal or less than the address width of the
       whole EEPROM. The default is the whole EEPROM.
    download <filename> - Download data from a file to EEPROM
    broad <filename> <devs>
        Broadcast download data from file to EEPROMs via gang programmer.
        <devs> lists chips to download to as a bitfield, see note below.
        If <devs> is 0 then all devices found will be used.
    dump <filename> - copies the data from EEPROM to the file
    verify <filename> - checks the contents of EEPROM match the file
    fill <val> - Fills the EEPROM with the word value
    broadfill <val> <devs>
        Broadcast fills EEPROMs (via gang programmer) with the given word
        value.
        <devs> lists chips to download to as a bitfield, see note below.
        If <devs> is 0 then all devices found will be used.

    NOTE : The "devs" value expected by the "broad" commands is, by
           default, decimal e.g. a value of 17, represents a bit mask of
           10001 and therefore contains devices 0 and 4 but not 1,2 and 3
           If you wish to give a hexadecimal value for this or any other
           value argument listed above, use a "0x" prefix

CSR internal Commands: (used at own risk)
    read <addr> - read word from hex addr
    write <addr> <value> - write word to hex addr
    readblock <addr> <size> - read <= 4096 words from hex addr
    writeblock <addr> <vals> - write <= 4096 words to hex addr
  
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:191天
签到总奖励:4827金币
发表于 2014-10-6 15:59:24 | 显示全部楼层
学习               
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:1天
签到总天数:1246天
签到总奖励:33285金币
发表于 2014-10-6 18:18:40 | 显示全部楼层
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

连续签到天数:4天
签到总天数:72天
签到总奖励:616金币
发表于 2014-10-16 11:26:15 | 显示全部楼层
有没有详细的说明一下!
积分商城 - 让您的金币更有价值!||官方Q群 - 让您的沟通更加及时!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册  

本版积分规则

小黑屋|手机版|我爱蓝牙网 - 52Bluetooth

GMT+8, 2024-5-3 20:08 , Processed in 0.324268 second(s), 13 queries , Gzip On, MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表