RedBearLab's CCLoader ported to the Raspberry Pi. Burns HC-10/HC-11 (CC2540/CC2541) firmware.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 7 commits ahead of RedBearLab:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md

README.md

CCLoader-RPi

Burn CC254x firmware using a Raspberry Pi.

Build

gcc src/CCLoader.c -std=c99 -lm -o CCLoader

Usage

Usage: CCLoader [OPTION...] [firmware.bin]
Flash firmware on a CC254x chip, like those used in HM-10 modules.

  -C, --DC=pin               Raspberry Pi pin connected to the DEBUG_CLOCK (DC)
                             pin on the CC254x chip
  -D, --DD=pin               Raspberry Pi pin connected to the DEBUG_DATA (DD)
                             pin on the CC254x chip
  -r, --retries=RETRIES      Number of time to retry flashing a block after it
                             fails verification (defaults to 5)
  -R, --RESET=pin            Raspberry Pi pin connected to the RESET_N pin on
                             the CC254x chip
  -v, --no-verify            Do not verify each block after it is flashed
  -?, --help                 Give this help list
      --usage                Give a short usage message

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.