Stránka 1 z 1

Upgrade stareho bluetooth adapteru MSI BToes MS-6970

Napsal: 28 pro 2019, 15:26
od rnbw
Zo suflika bol vytiahnuty stary USB bluetooth adapter MSI BToes MS-6970 s cielom pouzit ho k bluetooth sluchadlam.

Obaval som sa, ze nepojde v novsich Windows a ze bude problem so zvukom (podpora A2DP?). Vo Windows 7 funguje ako "Generic bluetooth adapter", ale druha obava sa naplnila - funguje len mono zvuk.

Jednoduche a lacne riesenie: kupit novy adapter.

A teraz sa mozem trochu pohrat s tym starym:

Kód: Vybrat vše

# hciconfig hci0
hci0:   Type: Primary  Bus: USB
        BD Address: 00:0C:76:xx:yy:zz  ACL MTU: 192:8  SCO MTU: 64:8
        UP RUNNING
        RX bytes:371 acl:0 sco:0 events:14 errors:0
        TX bytes:290 acl:0 sco:0 commands:13 errors:0

# hciconfig hci0 features
hci0:   Type: Primary  Bus: USB
        BD Address: 00:0C:76:xx:yy:zz  ACL MTU: 192:8  SCO MTU: 64:8
        Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00 0x00
                <3-slot packets> <5-slot packets> <encryption> <slot offset>
                <timing accuracy> <role switch> <hold mode> <sniff mode>
                <park state> <RSSI> <channel quality> <SCO link> <HV2 packets>
                <HV3 packets> <u-law log> <A-law log> <CVSD> <paging scheme>
                <power control> <transparent SCO>
# hciconfig hci0 version
hci0:   Type: Primary  Bus: USB
        BD Address: 00:0C:76:xx:yy:zz  ACL MTU: 192:8  SCO MTU: 64:8
        HCI Version: 1.1 (0x1)  Revision: 0x20d
        LMP Version: 1.1 (0x1)  Subversion: 0x20d
        Manufacturer: Cambridge Silicon Radio (10)
# hciconfig hci0 revision
hci0:   Type: Primary  Bus: USB
        BD Address: 00:0C:76:xx:yy:zz  ACL MTU: 192:8  SCO MTU: 64:8
        HCI 16.4
        Chip version: BlueCore02-External
        Max key size: 56 bit
        SCO mapping:  HCI

Funguje DFU:

Kód: Vybrat vše

# dfu-util -l
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Deducing device DFU version from functional descriptor length
Found Runtime: [0db0:6970] ver=0525, devnum=7, cfg=1, intf=2, path="3-2", alt=0, name="UNKNOWN", serial="UNKNOWN"

Vytiahneme firmware (funguje az na druhy raz):

Kód: Vybrat vše

# dfu-util -U backup.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 0db0:6970
Run-time device DFU version 0100
Claiming USB DFU Runtime Interface...
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request...
Resetting USB...
Deducing device DFU version from functional descriptor length
dfu-util: Lost device after RESET?
# dfu-util -U backup.bin
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Deducing device DFU version from functional descriptor length
Opening DFU capable USB device...
ID 0db0:ffff
Run-time device DFU version 0100
Claiming USB DFU Runtime Interface...
Determining device status: state = dfuIDLE, status = 0
dfu-util: WARNING: Runtime device already in DFU state ?!?
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0100
Device returned transfer size 1023
Copying data from DFU device to PC
Upload  [=========================] 100%       354826 bytes
Upload done.

Pozrieme do firmware:

Kód: Vybrat vše

# strings backup.bin | head -n 3
CSR-dfu2
LOADER=bc02x_hci_1v1_16.4_56, STACK=bc02x_hci_1v1_16.4_56
CSRbcfw1


Je tam teda CSR BlueCore2-External BC212015 s firmwarom 0x20d (525), tzn. BT 1.1 s 56bit sifrovanim.

CSR vidiet aj na fotkach:
https://fccid.io/I4L-MS6970/Internal-Ph ... tos-314456

Flash je len 4Mbit (SST39VF400A v TFBGA).

Podla tohoto existuje firmware 0x632 (1586) s podorou BT 1.2:
https://web.archive.org/web/20080521215 ... h/csr.html

Potrebuje ale 8Mbit flash. Takze zozhnat SST39VF800A v TFBGA a vymenit. Nasledne cez SPI interface toho CSR naflashovat bootloader - to by som mal asi vyskusat ako prve. Otazne je, ci nahodou pre 8Mbit nie je potrebny iny bootloader... Potom by sa mal dat naflashovat firmware 1586 s podporou BT 1.2.