hacknikefuelband.com


Rules


In order to claim the £5000 or $8000 bounty you need to fulfil all the requirements below. There will only be one bounty, and it will be paid to the first person / group to submit a working solution. I will update the site to show if the bounty has been claimed!


Firmware on the N+FB


The N+FB has 2 micros on board, one is a Texas Instuments MSP430F5528 controlling the CC2560 Bluetooth device, the other is an STM32L151QC which controls the device functionality.

The STM32L can amost certainly be re-programmed as the first thing you have to do when you get the N+FB is plug it into your PC and download the latest firmware. Who knows if the MSP430 can be re-flashed, it would seem silly for it not to be possible.


Hardware, what we know so far...

  • Spansion S25FL032P - 32MBit (4Mb) Serial Flash
  • SGS Thomson - LIS3DH - MEMS Accelerometer
  • TI CC2560 - Bluetooth Smart Controller
  • TI MSP430F5528 - 6-Bit Ultra-Low-Power Microcontroller, 128KB Flash, 8KB RAM, USB, 12Bit ADC, 2 USCIs, 32Bit HW MPY
  • Ambient Light Sensor
  • 5 x 20 White LED Array
  • 1 x 20 Coloured (Red - Orange - Green) LED Array
  • 1 Keyswitch
  • SGS Thomson STM32L151QC - Ultra-low-power ARM Cortex-M3 MCU with 256 Kbytes Flash, 32 MHz CPU, LCD, USB, 3xOp-amp
  • USB plug

The custom firmware must enable the N+FB to do all of the following (in conjunction with an app on either the iPhone ot a Mac):-

  • The button can be hooked as an interrupt, and either do something locally or send some data to the iPhone over BLE.
  • The firmware can display messages on the 5 x 20 or 1 x 20 LED array, the firmware should support greyscale as the native firmware does.
  • The iPhone can push a message to the 5 x 20 or 1 x 20 LED array over BLE, the firmware should support greyscale as the native firmware does.
  • The firmware can read the ambient light sensor / accelerometer and take some action or store the data in flash.
  • The iPhone can request a read of the ambient light sensor / accelerometer over BLE.
  • The flash can be read by an app on the Mac via the USB.
  • The firmware can be ugraded by an app on the Mac via the USB port.

App on the iPhone


The app on the iPhone should support the custom firmware. It must:-

  • Support the latest iOS version, currently 6.0.1.
  • Be able to push messages to the N+FB over BLE.
  • Accept data pushed from the N+FB (e.g. a button press or an accelerometer movement).
  • Push data to the N+FB (e.g. a message to be displayed).

App on the Mac


The app on the iPhone should support the custom firmware. It must:-

  • Run under OS X 10.8.2 Mountain Lion.
  • Be able to flash the N+FB with firmware.
  • Read the contents of any data stored in the flash.