Get the Software and Download the Application to the Module
Get the Source from the Repository
The Velo Bling-Bling BL652 application software is on the GitHub repository
https://github.com/spyren/veloblingbling-ble. Download the
ZIP-File and unzip it or better
clone the repository e.g. for GNU/Linux:
psi@homer:~/veloblingbling/ble> git clone https://github.com/spyren/veloblingbling-ble
Klone nach 'veloblingbling-ble' ...
remote: Counting objects: 265, done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 265 (delta 167), reused 260 (delta 166), pack-reused 0
Empfange Objekte: 100% (265/265), 223.50 KiB | 0 bytes/s, Fertig.
Löse Unterschiede auf: 100% (167/167), Fertig.
Prüfe Konnektivität ... Fertig.
psi@homer:~/veloblingbling/ble>
Download the Application into the BL652 Module
1. Connect Terminal
Connect the the Velo Bling-Bling USB to the PC with a Micro-USB cable. Start the terminal program (UwTerminalX or UwTerminal). Choose the the communication (serial) port and click the OK button.
Press the '>' key and then the Return key, wait for the
CLI>
prompt.
and type
CLI> ble reset
CLI> ble trans
Show the firmware version:
ati 3
2. Delete the File System
atz
at&f 1
3. Download and Compile the BLING Application
Press the right mouse button and select
XCompile + Load
. Choose the file
bling.vsp.sb
.
4. Download and Compile the LP Application
Press the right mouse button and select
XCompile + Load
. Choose the file
lp.low.power.deep.sleep.sb
.
5. Check Filesystem
at+dir
The applications
lp
and
bling
have to be listed.
Press Ctrl-D to exit transparent mode. UwTerminalX can not send special characters, workaround: press the right mouse button and select
batch
. Choose the file
exit.txt
(this file contains only a Ctrl-D).
Update the BL600/BL652 Firmware
This is only needed if you want to use a new BL600/BL652 firmware (Velo Bling-Bling works with version 1.5.70.0 and newer, 1.2.54.0 is not tested). Firmware update is only possible with a debug adapter (e.g. Segger J-Link LITE
CortexM) over the JTAG interface.
1. Connect Terminal
Connect the the Velo Bling-Bling USB to the PC with a Micro-USB cable. Start a terminal program (e.g. UwTerminalX). Hit the Escape-Key, wait for the
CLI>
prompt and type
CLI> ble reset
CLI> ble trans
Show the firmware version:
ATI 3
10 3 1.2.54.0
00
2. Connect Debug Adapter
Connect a debug adapter to the JTAG connector.
3. Save the License Key
With a terminal program (e.g. UwTerminalX):
ATI 49406
10 49406 1696553225C4BC8CE19A
Write down the license key (similar to
1696553225C4BC8CE19A
)
4. Download the Firmware
On a Windows-PC start the the firmware batch program
_DownloadFirmware_v1_5_70_0.bat unlicensed
5. Restore the License Key
With a terminal program (e.g. UwTerminalX):
AT+LIC "1696553225C4BC8CE19A"