Table of Contents
This is USB SPI programmer and debugger for CSR BlueCore bluetooth chips, basedon FTDI FT232R USB to UART converter chip. Programmer hardware can be madeusing simple FT232RL breakout board, or built as a dedicated programmer usingincluded schematic. Programmer driver works by replacing USB SPI programmerdriver, usbspi.dll, in CSR applications and is currently ported to Linux/Wineand Windows.
Seconds later, you have a mug of molten chocolate cake, ready to be topped with vanilla ice cream, sprinkles, more chocolate, whipped creamor eaten triumphantly just as spi programmer software is. What makes this particular Chocolate Mug Cake recipe stand out among the rest is its lineup of ingredients. This SPI Flash Programmer can be used either for in-system programming or as a stand-alone serial flash programmer for the Atmel SPI programmable devices. The programmer hardware interface is controlled by the PC parallel port and the parallel port control signals are freely selectable by the user. Hoverwatch Spyware: How It Works. Hoverwatch is a free tracking device. The first necessary step is to set up an account through signing up. They only require your email address. Spi programmer software,REFOG Keylogger is a free keyboard tracking software (a.k.a key logger) for Windows PC that is widely used by users and IT security specialties. Guide – Part 3: Use the SPI CH341A mini programmer to read the SPI chip. – press the Detect button of the software to recognize the Bios. The program should recognize the type, the brand and the model of the chip. – if the Bios is not recognized with Detect, then check that the clip is well installed on the Bios. Reconnect the clamp. Press the Read button. This time the software should read the chip correctly. That’s what worked for me with a motherboard MSI Z77A-G43. If this is still not the case, refer to the help at the end of this article. Guide – Part 4: Use the SPI CH341A mini programmer to write the Bios on the SPI chip. Jan 02, 2015 This video show how to use a low cost EEPROM programmer. The unit used is a USB based device and is intended for series 24 and 25 EEPROM's. Below is a download link to drivers and software (since.
Project home page: https://github.com/lorf/csr-spi-ftdi.
CSR chips supported by programmer
Generally, all CSR BlueCore chips starting with BlueCore 2 should be supported.Programmer was tested with the following chips:
Chip notes
Programmer hardware
Programmer hardware is based on FT232R chip. It is possible that latergeneration FTDI chips, such as FT2232C/D/H or FT232H, will also work, but thiswas not tested.
Using FT232RL breakout board as a programmer
You can build a simple programmer using popular FT232RL breakout boards (searchEbay for 'FT232RL adapter' for example). Pinout specified in spi.c file.Change it at will. Note that FTDI boards usually provide 5V or 3.3V I/O levelswhile CSR chips require 3.3V or 1.8V I/O level. You may supply appropriateVCCIO to FTDI chip or use logic level converter if levels don't match. Seedescription of VCCIO pin in FTDI chip datasheet for details.
This is a default pinout:
SPI and UART BlueCore pins could be connected directly to FTDI pins, but I'drecommend to wire them through the 220 Ohm (or so) resistors.
TX and RX connections are optional and provide connectivity to BlueCore UART.
LED connections are optional. Wire LED cathodes through the current limitingresistors (330 Ohm works fine) to the appropriate FTDIpins. Wire LED anodes to FTDI 3V3 pin.
Other pinouts can be specified with
FTDI_PINOUT Option.
Don't power BlueCore chip from FT232R internal 3.3V regulator! It's currentdraw may exceed FT232R 50mA limit, which may cause communication errors.
Also see notes on Counterfeit FT232RL chips.
Dedicated programmer
KiCad schematic for a dedicated programmer can be found inhardware/ subdirectory.
Counterfeit FT232RL chips
Cheap (< $5) FT232RL modules usually contain counterfeit FT232RL chips(1,2,3). I'vegot such chip (this one has read-only EEPROM, S/N A50285BI, probably it's ageneration 2 counterfeit) andverified csr-spi-ftdi to work with it.
There is a known data loss issue with counterfeit FT232RL chip and ASM1042 USB3.0 controller. If You encounter it (You'll get an error on stderr, seeTroubleshooting), try to replug the programmer to othercontroller. Note that genuine FT232RL works fine with this controller.
Counterfeit IC also may produce some communication errors, but they areautomatically retried, so in general it works well enough.
Some versions of Windows FTDI driver tend to intentionallybrick1st generation counterfeit chips by setting their PID to 0x0000. Thereareunbrick(2) andprotectprocedures, but csr-spi-ftdi will work on the bricked chips too.
SoftwareCSR software
This driver is tested with CSR BlueSuite 2.1 - 2.6.0 and with CSR BlueLab 4.1,but should work with other CSR software, such as SDK, ADK, Configuration Tool,Parameter Manager. Newer versions of BlueSuite can be found at
https://www.csrsupport.com/PCSW . Older versions of BlueSuite can be found athttps://www.csrsupport.com/PCSWArchive . Access to these pages requiresregistration.
Installing prebuilt drivers![]()
Prebuilt drivers for Linux and Windows can be downloaded fromhttps://github.com/lorf/csr-spi-ftdi/releases/latest.
Installing on Ubuntu/Debian Linux
Install Wine:
Install CSR BlueSuite in Wine. Find all instances of usbspi.dll installed andmove them out of the way:
Copy usbspi.dll.so to Wine system directory:
Alternately You can specify location of the .dll.so file in WINEDLLPATHenvironment variable, see wine(1) man page for details.
Allow yourself access to FTDI device
After that You'll need to add yourself to
plugdev group and relogin.
Installing on Windows
Using the driverChoosing USB transport
Older BlueSuite defaults to use CSR SPI LPT programmer, to use csr-spi-ftdi Youneed to select USB SPI transport. Use
-TRANS 'SPITRANS=USB SPIPORT=1' optionfor command line tools. Importmisc/spi-set-usb-transport.reg to change thedefault.
Options
Csr-spi-ftdi driver supports several options that can be set as environmentvariables or using the -TRANS option to most CSR commandline apps.
For other options see misc/transport-options.md.
Communication speed
Reading or writing a 1 MB flash on HC-05 module takes about 60 seconds. DumpingHC-05 PS keys takes about 40 seconds.
Running csr-spi-ftdi in a virtual machine slows things down presumably due tolatency added by USB virtualization. E.g. running csr-spi-ftdi under VirtualBoxslows transactions down about 4x times.
Useful commands
These commands should be executed from directory where BlueSuite is installedor this directory should be in your PATH.
Troubleshooting
Building for WineBuilding Wine DLL on 32-bit Debian/Ubuntu Linux
Install build tools:
Install development libraries:
Build with command:
Building Wine DLL on 64-bit Debian/Ubuntu Linux
Install build tools:
Install 32 bit stuff:
Build with command:
Installing
Install CSR BlueSuite in Wine. Find all instances of usbspi.dll installed andmove them out of the way:
Install Wine dll into the Wine libraries directory:
Alternately You can specify location of the .dll.so file in WINEDLLPATHenvironment variable, see wine(1) man page for details.
Building DLL for WindowsCross-compiling DLL for Windows on Debian/Ubuntu using MinGW
Install MinGW cross-development environment:
Download precompiled libusb forwindows and extract it to thelibusb directory:
Build libftdi from source:
Build with command:
Spi Flash ProgrammerBugs
Thanks
Related projectsUsb Spi Programmer Software Download
Spi Key Programmer SoftwareOther sources of informationUsb Spi Flash Programmer
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |