Download Latest Version tbb-0.06.zip (250.3 kB)
Email in envelope

Get an email when there's a new version of Tiny Bit Bang

Home
Name Modified Size InfoDownloads / Week
README.txt 2014-05-01 4.2 kB
tbb-0.06.zip 2014-05-01 250.3 kB
tbb-0.05.zip 2014-04-29 249.8 kB
tbb-0.04.zip 2011-06-06 61.8 kB
tbb-0.03.zip 2011-05-31 59.0 kB
tbb-0.02.zip 2011-05-21 41.1 kB
tbb-0.01.zip 2010-12-18 24.1 kB
Totals: 7 Items   690.3 kB 0
Note: 
  I decided not to support windows since version 0.06, because recent 
  windows 7 gives me "FT Device not responding" error so frequently.
  Pre-build exe binaries are only for experimental use.
  Currently this software is tested on Mac OS X 10.9.2, Ubuntu 12.04 (64bit)
  and Windows 7 (for experimental use) only.

  For mac users, 
    recommended build environment is Xcode
    execute host_setup.sh before you make all
    execute host_setup.sh with -r option to reverse-setup

  For linux users, 
    execute host_setup.sh everytime when you connect FT232R or FT245R
    execute host_setup.sh with -r option to reverse-setup
  
  For windows users, 
    recommended build environment is MinGW.

=========================================================================
tbb - Tiny Bit Bang.  
        A simple command interface for FT232R and FT245R Bit Bang Mode

Copyright (c) 2010-2014 Keiichi Hirano <Keiichi_Hirano@users.sourceforge.net>
All rights reserved.
=========================================================================
To run this program, 
you must have either FT232R or FT245R connected to your windows PC 
and have the driver software installed.

Usage:	tbb.exe [-r] | [-w write_byte [-m write_mask]]

Example1: read and print a byte

	tbb.exe -r

Example2: write a byte, 0xf5

	tbb.exe -w 0xf5

Example3: write 0xf5 masked by 0x3c

	tbb.exe -w 0xf5 -m 0x3c

=========================================================================
tbbi2c - Tiny Bit Bang I2C
        A simple i2c command interface using FT232R and FT245R Bit Bang Mode

Copyright (c) 2010-2014 Keiichi Hirano <Keiichi_Hirano@users.sourceforge.net>
All rights reserved.
=========================================================================
To run this program, 
you must have either FT232R or FT245R connected to your windows PC 
and have the driver software installed.
And connect I2C_SCL and I2C_SDA properly.

Hardware Connection:
	Just run tbbi2c command without options to check
	I2C_SCL and I2C_SDA port settings.
	(Pull-up resisters requierd externally)

Usage:	tbbi2c.exe -s i2c_slave_addr [-t access_type] [address] [write_data]

	i2c_slave_addr:
		Specify the I2C slave address 0x00 - 0x7F

	access_type:
		01: 0 byte address - 1 byte data (default)
		02: 0 byte address - 2 byte data
		11: 1 byte address - 1 byte data
		12: 1 byte address - 2 byte data
		21: 2 byte address - 1 byte data
		22: 2 byte address - 2 byte data

Example1: read LM75(0b1001000) temperature

	tbbi2c.exe -s 0x48

Example2: read a byte from 24LC64(0b1010000) on the address 0x0030

	tbbi2c.exe -s 0x50 -t 21 0x0030

Example3: write a byte 0xf5 to 24LC64(0b101000) on the address 0x0030

	tbbi2c.exe -s 0x50 -t 21 0x0030 0xf5
	(tbbi2c -s50 -t21 30 f5 for short)

=========================================================================
tbbi2cprog - Tiny Bit Bang I2C programmer
        A simple i2c sequential read/write command interface 
	using FT232R and FT245R Bit Bang Mode

Copyright (c) 2010-2014 Keiichi Hirano <Keiichi_Hirano@users.sourceforge.net>
All rights reserved.
=========================================================================
To run this program, 
you must have either FT232R or FT245R connected to your windows PC 
and have the driver software installed.
And connect I2C_SCL and I2C_SDA properly.

Hardware Connection:
	Just run tbbi2cprog command without options to check
	I2C_SCL and I2C_SDA port settings.
	(Pull-up resisters requierd externally)

Usage1(program):
	tbbi2cprog.exe -s i2c_slave_addr [-t addr_length] [file]
Usage2(dump):
	tbbi2cprog.exe -s i2c_slave_addr [-t addr_length] -d dump_length [file]

	i2c_slave_addr:
		Specify the I2C slave address 0x00 - 0x7F

	addr_length:
		1: for 1 byte address device (default)
		2: for 2 byte address device

	dump_length: 
		Specify the dump length in hex format

Example1: read first 128 byte from 24LC01(0b1010000) and print it on the screen

	tbbi2cprog.exe -s 0x50 -d 0x80

Example2: read first 256 byte from 24LC64(0b1010000) and store it in a file

	tbbi2cprog.exe -s 0x50 -t 2 -d 0x100 file

Example3: write a binary file into 24LC64(0b101000)

	tbbi2cprog.exe -s 0x50 -t 2 file
	(tbbi2cprog -s50 -t2 file for short)

Source: README.txt, updated 2014-05-01