BC127 - Writing long NAME breaks unit

Hello,

I’ve added the BC127 to a project, and it seems that setting a NAME parameter longer than 19 or 20 (not sure, I want to use 21) characters bricks the unit. While the SHORT_NAME specifies 7 characters max, there is no mention of a maximum NAME length in the Melody documentation.

To recover the (rather expensive) units, is it possible to reflash the firmware from a non-responsive state?

Using 5.7 RC22

Thanks,
LM

LM,

This was found recently where there wasn’t a safe guard restricting the unit to 16 characters on the long name and fixed in a 6.1.8 RC build. We are going to perform a release this month with an official release for this.

To recover the unit you need to reflash it through the SPI interface using the Blueflash tool from the CSR bluesuite tool set, you also need to use the CSR SPI chip (as it is proprietary). If you don’t have access to SPI then there is no way to get it up and running through just the UART.

Regards

Matt

Hello Matt,

Thanks for the reply. Will the name be restricted to 16 characters by the module firmware? The factory default NAME is “BlueCreation-XXXXXX”, which is 19 characters. I would expect the allowed length to be at least this long.

ldm

ldm,

Sorry my mistake, it was a different issue where a specific profile config bricked the unit. As per the manual I think the current firmware does allow you to set the name upto the 32 characters max as per the below.

config
AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=0 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB075DD3
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-075DD3
NAME_SHORT=BC75DD3
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK
set name=sierrawirelesslongname075DD3
OK
write
OK
reset
BlueCreation Copyright 2017
Melody Audio V6.1.8 RC3
Build: 1509623096
Ready
config
AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=0 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB075DD3
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=sierrawirelesslongname075DD3
NAME_SHORT=BC75DD3
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK

When I then search on my phone the full name as per the above is displayed.

Regards

Matt

Ok, I guess that this is an issue with 5.7 rc22 then and has since been fixed. I’ll assume the same SPI recovery process is needed.

Thanks!

If you need the xuv file to upgrade with using the blueflash tool let me know as we do not normally post these.

Regards

Matt