northumber82
Member level 3
Hi, I'm stuck with programming a CSR module using a FT232R chip.
I've a chip CSRa64215 mounted on BT625 with I2S output, and this FT232R board.
I have followed this connecting instructions:
1) Downloaded the BlueSuite 2.6.6
2) Replaced "usbspi.dll" with the one found at https://github.com/lorf/csr-spi-ftdi
3) Connected the chip as the image says, respecting the connections of BT625 board and adding 220Ohm resistors.
4) Downloaded and replaced FT232R driver with Zadig, from winUSB to libusbK.
5) Restarted, sconnected and reconnected
The CSR module is powered with "5V" pin of the FT232R module, and shares the same GND.
Now, opening PStools of bluesuite and selecting "SPI BCCMD" and then "FT232R A9M9DV3R" and click ok, the result is: "Error detecting chip type (Unable to start read (Invalid control data))".
What I'm missing? I'm sure I've soldered all well, the usb cable works perfectly.
Also this is the output of "BlueFlashCmd.exe -chipver":
I've a chip CSRa64215 mounted on BT625 with I2S output, and this FT232R board.
I have followed this connecting instructions:
1) Downloaded the BlueSuite 2.6.6
2) Replaced "usbspi.dll" with the one found at https://github.com/lorf/csr-spi-ftdi
3) Connected the chip as the image says, respecting the connections of BT625 board and adding 220Ohm resistors.
4) Downloaded and replaced FT232R driver with Zadig, from winUSB to libusbK.
5) Restarted, sconnected and reconnected
The CSR module is powered with "5V" pin of the FT232R module, and shares the same GND.
Now, opening PStools of bluesuite and selecting "SPI BCCMD" and then "FT232R A9M9DV3R" and click ok, the result is: "Error detecting chip type (Unable to start read (Invalid control data))".
What I'm missing? I'm sure I've soldered all well, the usb cable works perfectly.
Also this is the output of "BlueFlashCmd.exe -chipver":
blueflashcmd, version 2.6.6.1311 Release
Copyright (c) 2002-2017 Qualcomm Technologies International, Ltd.
All Rights Reserved.
Qualcomm Technologies International, Ltd. Confidential and Proprietary.
14:48:53.548607: all:spi.c:558:spi_init: csr-spi-ftdi 0.5.3, git rev 80b2ad0
14:48:53.649414: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.652881: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.655627: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.658651: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.661837: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.664579: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.666960: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.670614: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.672804: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.677083: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.679507: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.682760: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.685547: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.688781: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.691591: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.693609: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.696767: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.699748: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.702497: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.705187: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.707970: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.711599: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.714599: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.717520: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.720519: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.723704: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.727597: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.730606: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.734602: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.736586: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.738578: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.741616: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.744593: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.748139: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.751813: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.754807: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.758560: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.761665: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.764723: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.769550: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.772513: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.774528: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.777428: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.779518: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.781516: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.784508: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.787500: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.790492: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.793484: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.796447: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.799434: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.801436: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.804419: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.806836: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.811069: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.815374: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.817563: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.820557: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.823549: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.826546: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.828540: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.832331: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.834543: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.838567: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.841561: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
14:48:53.845380: err:basics.cpp:481:spifns_sequence_read: Unable to start read (invalid control data)
==============================================================================
ERROR: Error detecting chip type (Unable to start read (invalid control data))
==============================================================================
*** FTDI Statistics ********************************************************
csr-spi-ftdi version: 0.5.3 (git rev 80b2ad0)
Time open: 0.22 s
Time in xfer: 0.00 s (0.00% of open time)
Reads: 66 (132 bytes, 2.00 bytes avg read size)
Writes: 66 (198 bytes, 3.00 bytes avg write size)
Xfer data rate: 1.#R KB/s (330 bytes in 0.00 s)
IOPS: 1.#R IO/s (132 IOs in 0.00 s)
FTDI chip: FT232R (3), buffer size: 384 bytes
FTDI stats: 1.#R xfers/s (1.#R short reads/s,
136 xfers/2 short reads in 0.00 s,
1.00 xfers/IO, 83.00 bytes/xfer)
SPI max clock: 1000 kHz, min clock: 1000 kHz, slowdowns: 0
****************************************************************************
Failed