What does this mean: invalid announcement message received (-106)

2 posts / 0 new
Last post
Myken
Offline
Last seen:1 year 9 months ago
加入:2016-07-13 20:06
What does this mean: invalid announcement message received (-106)

Hello,

I'm a linux user and a command line junky, sorry for that :-)

I have done a new design using the DA14680 chip (01F08). Now I am trying to get the new hardware up and running.
First step connect the serial port and if I connect a terminal program to /dev/ttyUSB0 and do a RESET, I get
DA14680AE
DA14680AE
so the serial connection is fine.

Next I configured a sample project from the SDK [projects/dk_apps/features/ble_peripheral/] (it compile without errors) and now I would like to get it programmed.
To do that I issued the command:
>> cli_programmer --prod-id DA14681-01 /dev/ttyUSB0 write_qspi_exec prog.bin

cli_programmer 1.23
Copyright (c) 2016 Dialog Semiconductor
配置从cli_programmer.ini file loaded.
Using serial port /dev/ttyUSB0 at baud rate 57600.
Connecting to device...
Setting serial port baud rate to 57600.
Press RESET.
Uploading boot loader/application executable...
Executable uploaded.
Setting serial port baud rate to 57600.
Write executable failed: invalid announcement message received (-106)

Now I am stuck on theinvalid announcement message received (-106)message.
What does this mean?
Where can I look for the answer?

I have tried --prod-id DA14680-01, same error.
- uartboot is compile in release mode.
- cli_program is newly compiled using static_linux
- application is compiled in release mode

This is the cli_programmer.ini

;This is a cli_programmer configuration file.
[cli]
initial_baudrate = 57600
超时= 5000
bootloader_fname = /path/to/uartboot/DA1468x_SDK_BTLE_v_1.0.8.1050.1/sdk/bsp/system/loaders/uartboot/Release/uartboot.bin
[uartboot]
baudrate = 57600
tx_port = 1
tx_pin = 3
rx_port = 2
rx_pin = 3
[gdb server]
port = 2331
host_name = localhost
gdb_server_path =
stop_prv_gdb_server = 1
[bin2image]
chip_rev = DA14681-01
enable_uart = y
ram_shuffling = 0
[target reset]
target_reset_cmd =

Keywords:
Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
Staff
加入:2015-06-08 11:34
Hi Myken,

Hi Myken,

The error message that you get, occurs when there's an unexpected response from the 68x towards the cli_programmer within the timelimit. The error shows that either something went wrong in the sequence or that a timeout has occured and the ERR_PROT_UNKNOWN_RESPONSE has returned. What can suspect is that something is wrong with the uartboot.bin file, since as far as i can tell the uartboot.bin is downloaded and from that moment on there is no interaction between the uartboot.bin file and the cli_programmer. Have you changed in anyway that file ? Because i see from the .ini file that you are specifing a path for the uartboot.ini file while the default path should be used.

Thanks MT_dialog