Files
OpenCellular/extra/ftdi_hostcmd
Bill Richardson 5a4ae0c3cd Cr50: Fix spshc console command
The SPS RX FIFO handler prototype changed from passing cs_enabled
to cs_disabled, but the callback function for the spshc command didn't.
Now it does.

The spshc command switches the protocol on the SPI Slave bus to
expect EC Host Commands.

BUG=none
BRANCH=none
TEST=manual

At the EC console:

  spstpm off
  spshc

On the build machine, with an FTDI cable connected to the SPS
input:

  cd extra/ftdi_hostcmd
  make
  ./test_cmds

Change-Id: I69294a977b83854c5f6348904330bf74416cc6ec
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/293619
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
2015-08-15 01:32:39 +00:00
..
2015-07-09 12:30:38 +00:00
2015-08-15 01:32:39 +00:00

Ubuntu Trusty uses an ancient version of libftdi.

You'll probably want to grab the latest libftdi1-1.2.tar.bz2 from
http://www.intra2net.com/en/developer/libftdi/ and install it into /usr
instead.