Hikvision - Clearing Passwords and/or Loading Firmware via TTL Serial

it didn't work and gave me an error message, i guess there is a problem in flash memory
I'm guessing that's because data in those blocks fails validation. That's a good sign, suggesting that the overwrite worked.
It has a 'magic number' and a checksum.

Now set up for a normal boot and hopefully the default configuration will be built in the flash blocks.
 
great thread.... i managed to connect via serial console to the camera... a presumably bricked DS-2CD2542FWD-IWS that won't show up in SADP and won't hit the hikvision TFTP even when direct connected...

PuTTY only shows me this gibberish... did I miswire the serial ? I followed all serial cable instructions (didn't solder, but taped to terminals... black to black, yellow to white, green to green) using a DTECH Prolific chipset based USB to serial adapter... via virtual box, win 8 on macbookpro with host passing thru serial...

any ideas?? is this camera officially dead since I can't see anything on com3? all settings as described... 115200 bps... etc.


VirtualBox_Tom Witczak_20_06_2020_17_11_25.png

20200620_171328.jpg
 
PuTTY only shows me this gibberish... did I miswire the serial ?
It looks like you have GND and TX transposed.
That would certainly give gibberish.

Check out the signals on the Hikvision serial console socket here (different device but the same designations) :

And then match up TX on the USB convertor to RX on the camera, TX on the camera to RX on the convertor, GND to GND.

If your convertor follows the quite common colour coding, then :
GND Black
TX Green
RX White
But check what the seller may have shown on the product description.

Oh, and are the serial port settings defined within PuTTY, not the Windows Device Manager?
 
ok, I got this far... where the latest firmware for this DS-2CD2542FWD-IWS (mfg 4/2018) (firmware v. 5.5.82) finally updated and reboot:

setenv ipaddr 192.168.1.200
setenv serverip 192.168.1.232
setenv gatewayip 192.168.1.1
HKVS # update
'update' is a ambiguous command! Exec the shortest command
[ INFO][MIN]TFTP: TFTP from server 192.168.1.232
[ INFO][MIN]TFTP: Filename: 'digicap.dav'
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: #
[ INFO][MIN]TFTP: Download File [OK]
[ INFO][MIN]BURN: File size is 33322648 bytes (32541 KB)
[ INFO][MIN]BURN: Writing Flash
[ INFO][MIN]BURN: ..............................................................................................................
[ INFO][MIN]BURN: Write Flash [OK]
UPDATE COMPLETE

But camera is NOT visible in SADP, NOT available via HTTP direct in browser at default IP (192.168.1.64) and streams out a bunch of errors after boot (like it did last time -- many DB level errors -- see attachment of PuTTY print out).

apologies for long log...can't upload the log for some reason

Code:
setenv ipaddr 192.168.1.200
setenv serverip 192.168.1.232
setenv gatewayip 192.168.1.1

HKVS # update
'update' is a ambiguous command! Exec the shortest command
[ INFO][MIN]TFTP: TFTP from server 192.168.1.232
[ INFO][MIN]TFTP: Filename: 'digicap.dav'
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: #
[ INFO][MIN]TFTP: Download File [OK]
[ INFO][MIN]BURN: File size is 33322648 bytes (32541 KB)
[ INFO][MIN]BURN: Writing Flash
[ INFO][MIN]BURN: ..............................................................................................................
[ INFO][MIN]BURN: Write Flash [OK]
***** UPDATE COMPLETE *****

BusyBox v1.2.1 Protect Shell (psh)
Enter 'help' for a list of davinci system commands.

#

U-Boot 3.1.6-269644 (Jul  6 2017-10:47:55)
boards:296717
Boot From: NAND 2048 RC
SYS_CONFIG: 0x30060059 POC: 100
Cortex freq: 600000000
ENET freq: 50000000
iDSP freq: 216000000
Dram freq: 564000000
Core freq: 216000000
AHB freq: 108000000
APB freq: 54000000
UART freq: 24000000
SD freq: 50000000
SDIO freq: 50000000
SDXC freq: 60000000
dev_model:DS-2CD2542FWD-IWS
Hit Ctrl+u to stop autoboot: 0
|BIND err|
cmd 'null' is not supported.
nand booting ...
booting from pri part...
load kernel...
[    1.518046] Card authentication succeeded
init started: BusyBox v1.19.3 (2019-01-10 15:07:37 CST)
starting pid 46, tty '': '/etc/init.d/rcS'
Starting udev:      [ OK ]
UBI device number 1, total 272 LEBs (34537472 bytes, 32.9 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
waiting for /dev/ubi1_0.
waiting for /dev/ubi1_0.
pri_iUpgSuccCnt:1, sec_iUpgSuccCnt:1
UBI device number 3, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
waiting for /dev/ubi3_0.
Check dir /davinci ok! (0)
UBI device number 4, total 48 LEBs (6094848 bytes, 5.8 MiB), available 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
waiting for /dev/ubi4_0.
waiting for /dev/ubi4_0.
Check dir /config ok! (0)
diagnose_way = 15, repair_way = 1, interval = 60
route: ioctl 0x890c failed: No such process
Default method to init without VIN drivers...
Cat this file to find out what VIN can be supported.
Default init without lens driver
Use default settings
/home/script/init.sh: line 553: which: not found
/
[   10.652280] [ kernel version:  svn-374828 ]
map_size = 0x400000, nr_item = 3
addr_offset = 0x00000000, filename = orccode.bin
addr_offset = 0x00300000, filename = orcme.bin
addr_offset = 0x003a0000, filename = default_binary.bin
mmap returns 0x76aeb000
loading /home/firmware/orccode.bin...addr = 0x76aeb000, size = 0x171cca
loading /home/firmware/orcme.bin...addr = 0x76deb000, size = 0x51644
loading /home/firmware/default_binary.bin...addr = 0x76e8b000, size = 0x40000
===============================================
ucode (S2L) version = 2017/5/25 271820.271498
===============================================
ln: prtLensCurve: File exists
ln: /dev/ttyS1: File exists
ln: /bin/t1: File exists
cp: can't stat '/dav/libutils.so': No such file or directory
chmod: /lib/libutils.so: No such file or directory
ln: /dev/rtc: File exists
=====check_config start=====
===main db is ok===
infd read End
Unix bus   0 .

Enter DB_main-------------------
shared memory address is: 0x76bee000, sizeof(DEVICECONFIG) = 1159944

netprocess Infomation:
version: 8.11.3 [14:45:39-Jun 22 2018]
Path: /Camera/Platform/Trunk/FSP_network_protocol
Last Changed Rev: 404021
Last Changed Date: 2018-06-22 14:14:20 +0800 (Fri, 22 Jun 2018)
.
wait davinci set default...
[01-08 23:26:52][pid:574][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[01-08 23:26:52][pid:581][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [0x10012]
[01-08 23:26:52][pid:581][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[01-08 23:26:52][pid:581][UNI_IF][ERROR]communicaite_to_davinci failed!!!
copy default.cls ok.
[01-08 23:26:53][pid:574][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[01-08 23:26:53][pid:581][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [0x10012]
[01-08 23:26:53][pid:581][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[01-08 23:26:53][pid:581][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[01-08 23:26:54][pid:574][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[01-08 23:26:54][pid:581][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [0x10012]
[01-08 23:26:54][pid:581][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[01-08 23:26:54][pid:581][UNI_IF][ERROR]communicaite_to_davinci failed!!!
Unix bus  End
shared memory address is: 0x768fc000, sizeof(DEV_CAPABILITY) = 464336
bootParms.videoinType=32, bootParms.devType=139800
bootParms.abfType=0
[01-08 23:26:55][pid:595][OTHER][ERROR]CUSTOM_PATH open error.No such file or directory
[01-08 23:26:55][pid:595][OTHER][ERROR]analysis_custom_devtype error
bootParms.ezoomlens = 0 [deviceinfo/patch_func/ezoom_capa/patch_ezoomlens_capa.c][front_hardware_capa_patch_ipc][82]
lizhuang [deviceinfo/patch_func/ezoom_capa/patch_ezoomlens_capa.c][elens_front_sensor_capa_patch][193]
Loading_devlist_capa:22218
Loading_devlist_def_capa:22218

-------Goint to init_database-689215
davinci enter init_database
shared memory address is: 0x767df000, sizeof(DEVICECONFIG) = 1159944
davinci init_shared_memory success.
[setMultiCfgFactoryDefault]:SW_MULTI_CCDPARAM_SUP not sup
powerLineFrequencyMode = 0
[01-08 23:26:55][pid:595][UNI_IF][ERROR]stream request out range 3(2)
[01-08 23:26:55][pid:595][OTHER][ERROR]set_default_stream_qos_param npq not supported yet.
After set_devcfg_default, database need to init
S: cmd_get_capa_data  ,ack 1 --sizeof(ret)= 4

[01-08 23:26:55][pid:580][DATABASE][ERROR]communicaite_to_davinci 65574 : service_result 1
going to init database:1
Davinci wait for init dababase
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[01-08 23:26:55][pid:580][DATABASE][ERROR]db version = 303104


db_enc_version = 33554497

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack 1

S: cmd_check_capa_support  ,ack 1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

S: cmd_check_capa_support  ,ack -1

[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[10].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[34].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]unknown port_type: 5
[01-08 23:26:55][pid:580][DATABASE][ERROR]unknown port_type: 5
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:55][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
get 0-0-0-0.000000-0-0-0
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[93].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[94].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[95].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[96].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[97].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[98].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[99].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[100].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[121].get is null
[01-08 23:26:55][pid:580][DATABASE][ERROR]tables_fun[122].get is null
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][DATABASE][ERROR]invalid idx value: 0
[01-08 23:26:56][pid:580][DATABASE][ERROR]invalid idx value: 0
[01-08 23:26:56][pid:580][DATABASE][ERROR]invalid idx value: 0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
decrypted_data--access_key =
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
decrypted_data--secret_key =


db_enc_version = 33554497

[01-08 23:26:56][pid:580][OTHER][ERROR]db_decrypt invalid source string length 42, trunc 32
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named ipdome_scene_mode
sqlite3_prepare_v2:1, no such column: ipdome_scene_mode
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named grayScale
sqlite3_prepare_v2:1, no such column: grayScale
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named irisMode
sqlite3_prepare_v2:1, no such column: irisMode
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named gainLevel
sqlite3_prepare_v2:1, no such column: gainLevel
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named AutoApertureLevel
sqlite3_prepare_v2:1, no such column: AutoApertureLevel
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named piris_mode
sqlite3_prepare_v2:1, no such column: piris_mode
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named piris_aperture
sqlite3_prepare_v2:1, no such column: piris_aperture
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named lightInhibitionLevel
sqlite3_prepare_v2:1, no such column: lightInhibitionLevel
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named ExposureSet
sqlite3_prepare_v2:1, no such column: ExposureSet
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named SceneMode
sqlite3_prepare_v2:1, no such column: SceneMode
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named alarmTrigState
sqlite3_prepare_v2:1, no such column: alarmTrigState
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named smart_ir_mode
sqlite3_prepare_v2:1, no such column: smart_ir_mode
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named smart_ir_distance
sqlite3_prepare_v2:1, no such column: smart_ir_distance
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named smart_ir_short_distance
sqlite3_prepare_v2:1, no such column: smart_ir_short_distance
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named smart_ir_long_distance
sqlite3_prepare_v2:1, no such column: smart_ir_long_distance
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named BacklightLevel
sqlite3_prepare_v2:1, no such column: BacklightLevel
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named positionX0
sqlite3_prepare_v2:1, no such column: positionX0
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named positionY0
sqlite3_prepare_v2:1, no such column: positionY0
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named positionX1
sqlite3_prepare_v2:1, no such column: positionX1
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named positionY1
sqlite3_prepare_v2:1, no such column: positionY1
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:1, table multi_ccd_demo_ccdpara_config has no column named image_stabilize_level
sqlite3_prepare_v2:1, no such column: image_stabilize_level
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_execsql too many time
[01-08 23:26:56][pid:580][DATABASE][ERROR]SQL error:replace into multi_ccd_demo_ccdpara_config (idx, mode, brightnessLevel, contrastLevel, sharpnessLevel, saturationLevel, whiteBalanceMode, whiteBalanceModeRGain, whiteBalanceModeBGain, WDREnabled,
[01-08 23:26:56][pid:580][DATABASE][ERROR]insert ipdonme_roi_base error:
[01-08 23:26:56][pid:580][DATABASE][ERROR] db_set_multi_ccd_demo_ccdpara_cfg_single sensor_no:0,scene_no:0 err
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:249
[01-08 23:26:56][pid:580][DATABASE][ERROR] ************p_dev_cfg->dmesg_record_param.dmesg_record_logo:0*****************
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
[01-08 23:26:56][pid:580][OTHER][ERROR]invalid db_decrypt parameter, src len:0
sqlite3_get_table:1, no such table: rfid_param
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:275
sqlite3_get_table:1, no such table: vts_lane_param_config
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:276
sqlite3_get_table:1, no such table: vts_rule_param_config
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:277
sqlite3_get_table:1, no such table: intell_traffic_cruise_schedule
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:278
sqlite3_get_table:1, no such table: intell_traffic_ptz_base_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:279
sqlite3_get_table:1, no such table: intell_traffic_lane_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:280
sqlite3_get_table:1, no such table: intell_traffic_rule_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:281
sqlite3_get_table:1, no such table: intell_traffic_common_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:282
sqlite3_get_table:1, no such table: intell_traffic_merge_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:283
sqlite3_get_table:1, no such table: intell_traffic_overlap_init_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:284
sqlite3_get_table:1, no such table: intell_traffic_overlap_item_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:285
sqlite3_get_table:1, no such table: intell_traffic_alg_cfg
[01-08 23:26:56][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:56][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:286
sqlite3_get_table:1, no such table: intell_traffic_manual_cap_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:287
sqlite3_get_table:1, no such table: intell_traffic_illegal_dictionary
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:288
sqlite3_get_table:1, no such table: intell_traffic_ftp_centor
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:289
sqlite3_get_table:1, no such table: intell_traffic_name_item
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:290
sqlite3_get_table:1, no such table: intell_traffic_voice_trigger
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:291
sqlite3_get_table:1, no such table: mulsensor_display_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:292
sqlite3_get_table:1, no such table: color_correct_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:293
sqlite3_get_table:1, no such table: onvif_geo_location_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:294
sqlite3_get_table:1, no such table: isapi_metadata_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error:
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:295
sqlite3_get_table:1, no such table: linger_detection_basic_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error:
sqlite3_get_table:1, no such table: linger_detection_rule_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error:
sqlite3_get_table:1, no such table: linger_polygon
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:296
sqlite3_get_table:1, no such table: face_contrast_overlap_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:297
sqlite3_get_table:1, no such table: vts_custom_param_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:298
sqlite3_get_table:1, no such table: vts_berth_param_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:299
sqlite3_get_table:1, no such table: edu_res_ctrl
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:300
sqlite3_get_table:1, no such table: edu_teacher_cap
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:301
sqlite3_get_table:1, no such table: edu_teacher_rule
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:302
sqlite3_get_table:1, no such table: edu_teacher_handle
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:303
sqlite3_get_table:1, no such table: teacher_alg_inside_param
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:304
sqlite3_get_table:1, no such table: face_detect_rule
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:305
sqlite3_get_table:1, no such table: face_detect_ptz_param
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:306
sqlite3_get_table:1, no such table: face_detect_arm_af_param
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:307
sqlite3_get_table:1, no such table: emmc_lifetime_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:308
sqlite3_get_table:1, no such table: cg_detection_basic_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error:
sqlite3_get_table:1, no such table: cg_detection_rule_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error:
sqlite3_get_table:1, no such table: cg_polygon
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:309
sqlite3_get_table:1, no such table: ghms_detection_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR] db_save_tx1_teacher_rule_single chan_no:0 err
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:310
sqlite3_get_table:1, no such table: iva_ghms_draw_mode_key_param
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_get_iva_ghms_draw_mode_key_param_single chan_no:0 err
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:311
sqlite3_get_table:1, no such table: iva_ghms_overlap_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR] db_get_iva_ghms_overlap_config_single chan_no:0 err
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:313
sqlite3_get_table:1, no such table: scene_cruise_schedule
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_set_scene_cruise_schedule_single error for scene_type: 0
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:314
sqlite3_get_table:1, no such table: atk_ctrl_info
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:315
sqlite3_get_table:1, no such table: stream_qos_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 stream_qos_config error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:316
sqlite3_get_table:1, no such table: pkparam_new_cfg
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:317
sqlite3_get_table:1, no such table: tls_mode_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:318
sqlite3_get_table:1, no such table: floor_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]db_query_open_v2 error: 1
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db failed,table:319
sqlite3_get_table:1, no such table: https_param_config
[01-08 23:26:57][pid:580][DATABASE][ERROR]get_alldata_from_db ok
sqlite3_prepare_v2:1, no such column: ptz_subscribed
sqlite3_prepare_v2:1, no such column: analytics_subscribed
sqlite3_prepare_v2:1, no such column: geo_subscribed
[01-08 23:26:57][pid:580][DATABASE][ERROR]ipc_db_backup need backup.
goint to set_semvalue 1...

database going to sleep----------
---------------------This is backup_dev_cfg-------------------
current_db_version = 303872,  old_db_version = 303104
current_db_version = (303872-1187),  old_db_version = (303104-1184)
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]invalid chan_no: -1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid sensor_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]Invalid channel_no--1
[01-08 23:26:57][pid:580][DATABASE][ERROR]invalid chan_no: -1
[01-08 23:26:57][pid:595][DATABASE][ERROR]--db_send_data_to_database[0x70027]---ret_val[-1]
[01-08 23:26:57][pid:595][UNI_IF][ERROR]uni_adapt_ptz_focus_mode[EN_DB_SAVE_FRONT_PARAM] error
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table ptzfocus_param_config has no column named ptzfocus_mode
sqlite3_prepare_v2:1, no such column: ptzfocus_mode
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table ezviz_config has no column named bscribe
sqlite3_prepare_v2:1, no such column: bscribe
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table ezviz_config has no column named subrcibe_type
sqlite3_prepare_v2:1, no such column: subrcibe_type
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table security_config has no column named websocket_enable
sqlite3_prepare_v2:1, no such column: websocket_enable
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table security_config has no column named websockets_enable
sqlite3_prepare_v2:1, no such column: websockets_enable
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table security_config has no column named enable_https_redirect
sqlite3_prepare_v2:1, no such column: enable_https_redirect
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table security_config has no column named enable_sdk_over_tls
sqlite3_prepare_v2:1, no such column: enable_sdk_over_tls
[01-08 23:26:57][pid:580][DATABASE][ERROR]SQL error:1, table security_config has no column named sdk_enable
sqlite3_prepare_v2:1, no such column: sdk_enable
database init success, davinci wait sem success
init_database success...

-------end to init_database-689217
<init_run>8915:p_devcfg->ccdPara[1].capture_mode [78]
<adapt_encoder_param>max_stream_id: [2]
[01-08 23:26:57][pid:595][UNI_IF][ERROR]shutter_pal or shutter_ntsc is NULL
[01-08 23:26:57][pid:595][DATABASE][ERROR]reboot reason is not valid, do nothing
***************   patch_dynamic_cap_bydev   ***************
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

[01-08 23:26:58][pid:595][RTC][ERROR]rtc = 689219 s, sys = 689218 s 788334 us, timeUs = -211666 us!
[01-08 23:26:59][pid:595][RTC][ERROR]stime OK, 689219 s!
------------------enter init_isp_frontc_lib-------------
------------------exit init_isp_frontc_lib-------------
#############################################################################
#############################################################################
[01-08 23:26:59][pid:595][SENSOR][ERROR]dev not support ezoomlens, del libzoomcam.so !
go to dsp
armlib build at 11:09:28--Jan 28 2019
[armlib]shmKey = 65538, DSPINITPARA share size = 703824, addr 0x76133000
insertSemIdMap userId 0x6f, semId 0x10002 !!!
insertSemIdMap userId 0x70, semId 0x18003 !!!
[01-08 23:26:59][pid:595][DSP][ERROR]g_pdsp 0x76133000 ,sizeof 703824
p_audio_param->samplesPerSecond [8000]
p_audio_param->boardOutSamplesPerSecond : [8000]
[01-08 23:26:59][pid:595][DSP][ERROR][0]g_pdsp->audioTBShare.frameLen=160, g_pdsp->audioTBShare.totalFrame=64..
[01-08 23:26:59][pid:595][DSP][ERROR]stream_max_id=2
[01-08 23:26:59][pid:595][DSP][ERROR]g_pdsp->viType=32
[01-08 23:26:59][pid:595][UNI_IF][ERROR]json_object_get can't find device, key:ispDeviceType, devtype:0x22218.
[01-08 23:26:59][pid:595][DSP][ERROR][hwif_dsp_init]get_isp_device_type_from_json err,ret_val -3

g_pdsp->hardwareInfo.deviceType = 0
[01-08 23:26:59][pid:595][DSP][ERROR]g_pdsp->VideoInitParam.device_type = 0
[01-08 23:26:59][pid:595][DSP][ERROR]max_vi_framerate [20.000000]
[01-08 23:26:59][pid:595][HW_IF][ERROR]<read_fixed_noise_info_from_flash> (CFG_MAGIC != read.magicNumber(e79c3106)
[01-08 23:26:59][pid:595][DSP][ERROR]DSP init mirror start...
[01-08 23:26:59][pid:595][DSP][ERROR]DSP fill_time ok...
[01-08 23:26:59][pid:595][UNI_IF][ERROR]get ENC_NUM failed or not support ThrStream:2.
[01-08 23:26:59][pid:595][CAPA][ERROR]Get capa error, the type is [0], the pData is NULL .
[01-08 23:26:59][pid:595][UNI_IF][ERROR]smart_codec_support              :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]svc_support                      :1
[01-08 23:26:59][pid:595][UNI_IF][ERROR]thrStream_support                :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]ts_support                       :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]factoryMode_support              :0

[01-08 23:26:59][pid:595][UNI_IF][ERROR]audio_support                    :1
[01-08 23:26:59][pid:595][UNI_IF][ERROR]audio_talk_support               :1
[01-08 23:26:59][pid:595][UNI_IF][ERROR]echo_cancellation_support        :0

[01-08 23:26:59][pid:595][UNI_IF][ERROR](IPC)logo_support                :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR](IPD)red_support                 :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR](IPD)privacymask_support         :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]digital_zoom_support             :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]rotate_support                   :1

[01-08 23:26:59][pid:595][UNI_IF][ERROR]face_detect_capa_support         :1
[01-08 23:26:59][pid:595][UNI_IF][ERROR]upload_center_picture            :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]face_snap_support                :0

[01-08 23:26:59][pid:595][UNI_IF][ERROR]vehicle_detection_support        :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]hvt_vehicle_detection_support    :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]tfs_support                      :0

[01-08 23:26:59][pid:595][UNI_IF][ERROR]smd_support                      :1
[01-08 23:26:59][pid:595][UNI_IF][ERROR]smd_upload_center_picture)       :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR](ivs_vca_behavior_support)       :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]voice_change_support             :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]people_detection_support         :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]heat_map_support                 :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]pdc_smart_support                :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR](R3)pdc_vca_support              :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR](IPC)defocus_capa_support        :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR](IPC)scene_change_capa_support   :0
[01-08 23:26:59][pid:595][UNI_IF][ERROR]is_support_qr                    :0

[01-08 23:26:59][pid:595][UNI_IF][ERROR]b_app_set_dsp_ability_all_ready  :1

enc_third_cap 1
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

IEfile uncompressed.
starting pid 638, tty '': '-/bin/psh'
BusyBox v1.2.1-390993 Protect Shell (psh)
Enter 'help' for a list of davinci system commands.

# davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param


^^^^ this repeats forever....

Any ideas?
 
Last edited:
But camera is NOT visible in SADP, NOT available via HTTP direct in browser at default IP (192.168.1.64)
That's because davinci never gets to the 'initialised' status where it serves up HTTP or SADP responses.

streams out a bunch of errors after boot (like it did last time -- many DB level errors
A large number of database 'errors' are normal after the configuration has been cleared.
The hundreds of fields normally in the database don't exist and so they get re-created and populated with default values.
You'd see a lot less on subsequent reboots. But still lots, they aren't really fatal errors, just mislabelled info.

So the question is - what's davinci waiting for confirmation of so it can finish up?

[01-08 23:26:59][pid:595][UNI_IF][ERROR]json_object_get can't find device, key:ispDeviceType, devtype:0x22218. [01-08 23:26:59][pid:595][DSP][ERROR][hwif_dsp_init]get_isp_device_type_from_json err,ret_val -3
The problem seems to be around here.
It's from this that the firmware builds the device capability table based on the devType.
But it's unable to, so davinci can't proceed.
But why there is an apparent inconsistency isn't obvious.

What's the origin of the problem in the camera? Did you acquire it 'bricked'?
As a long shot - maybe try installing an earlier version if the 5.5.x firmware.
Unfortunately, the 'downgrade block' will not allow the 5.4.x
 
thanks for the quick reply!

the camera literally just stopped working one day (it was in active use) and I could not find it again via SADP. It was purchased hikvision sealed new (not whitelabel/OEM).

I will try the last firmware ... if that doesn't work... to eBay it goes for parts! thanks!
 
Looks like it won't let me downgrade any minor versions below the current minor version (5.5). I tried all 5.4 versions up to 5.5.0 (previously installed the latest 5.5.82 build successfully) but no dice.

Seems like the DSP error I see is common (re: Hikvision DS-2CD2185FWD-IS won't boot up after firmware update) and it looks to be hardware related, meaning this thing is likely going into the trash bin (I mean... electronic waste recycling) or to eBay for parts.

Any parting thoughts from anyone? Thanks again for getting me this far... this will be useful to troubleshoot other cameras in the future as needed.
 
Just wanted to drop a note of thanks for @moped for all the information shared here. With it I was able to ubrick an RCA HSDB2A doorbell camera, which is one of several brand-clones of Hikvision doorbell hardware. There is a massive thread on these doorbells, and over time there have been some unrecoverable bricked doorbells. Some people have had luck with loading new firmware from sdcard (digicap.dav) but my situation turned out to be a config error which could not be worked around using the buttons on the camera.

I ended up soldering wires to the 4-pin TTL header on the camera (due to the doorbell form factor, they didn't inclue a JST-ZH connector, just bare pin pads), and once I got connected, I was able to format the flash then update the firmware from sdcard.

Here are links to the full unbricking posts on the RCA/EzViz/LaView/Hikvision/Nellys (am I forgetting any of these clones? lol) doorbell thread.


Cheers - and again many thanks!
 
Hello,
I have two DVRs with the same problem, after the firmware update the user appears blank and I can not access. Via serial connection also the CTRL + U option is not available to upgrade. If someone has another way to access via serial, thank you if you make the method available. When initializing the DVR with the PUTTY connected via serial only the screen with the text "Uncompressing Linux ... done, booting the kernel" appears, but it does not accept any command.
hello, i have the same problem did you solved it? please
 
Did you just use a usb to R232 wire behind your NVR? and Putty?
What's the NVR model, and what problem are you having with it?

If it has an RS232 DB9 connector on the back panel, you'll need a USB to RS232 (not serial TTL) convertor and a null modem cable to connect it.
 
What's the NVR model, and what problem are you having with it?

If it has an RS232 DB9 connector on the back panel, you'll need a USB to RS232 (not serial TTL) convertor and a null modem cable to connect it.
Hi,
I have a Hikvision DS-7716NI-I4 / 16P
I install the latest firmware (NVR_K51_BL_ML_STD_V4.40.015_200616) this worked without problems for 2 days, on the third day Nvr disappeared from the map, I have tried TFTP (ip-192.0.0.128 etc... without any result, my NVR was on firmware 3.4.92 before doing the update (All US Version).
The NVR turns on but is not detected by the SADP tool, ethernet ports light up quickly on power-up for a second, I don't get any sound alerts (Beep).
i just got the wire today (RS232 to USB) my NVR has that port on the back and I don't know if I can get it back from there? or if I need something else?

Thanks in advance..
 
Hi,
I have a Hikvision DS-7716NI-I4 / 16P
I install the latest firmware (NVR_K51_BL_ML_STD_V4.40.015_200616) this worked without problems for 2 days, on the third day Nvr disappeared from the map, I have tried TFTP (ip-192.0.0.128 etc... without any result, my NVR was on firmware 3.4.92 before doing the update (All US Version).
The NVR turns on but is not detected by the SADP tool, ethernet ports light up quickly on power-up for a second, I don't get any sound alerts (Beep).
i just got the wire today (RS232 to USB) my NVR has that port on the back and I don't know if I can get it back from there? or if I need something else?

Thanks in advance..

Any link for the procedure?

Ty
 
Any link for the procedure?
For re-installing the firmware?
That's straightforward enough.
Analysing a failure would require some detail such as serial console logs.

Firmware install via the serial console :

Install a tftp server on the PC - such as Jounin's one here :

Drop the digicap.dav from the same firmware that you updated with to the same folder as the tftp server will be run in.
Install PuTTY from here :

With the USB to RS232 convertor connected to the PC, and plugged in to the NVR, find and note down which COM port it's been assigned with Windows Device Manager.
Start PuTTY and create a serial connection using the COM port you noted, with baud rate=115200 8 bits no parity.
For convenience name it and save it.
Open the saved connection.
Note down the PC IP address.
Start the tftp server.

Power on the NVR.
PuTTY should straight away show some activity.
Quickly use Control-U to interrupt the bootloader.
The bootloader will respond with an update dialogue where you specify the IP address of the PC running the tftp server, and pick an IP address in the same range for the NVR to use during the update.
Then, after confirming you wish to update, the NVR will download the firmware and apply it.
On completion, the NVR will be in an 'Inactive' state.
It can be 'Activated' by creating your own strong password, either using SADP or the web GUI logon page.
SADP can then be used to assign the required IP address to the NVR.

Here is a sample transcript of a firmware install via the bootloader:
The menu will be the same, but the details of the update files will vary with NVR models and firmware versions.

Code:
U-Boot 2010.06-svn (Aug 14 2015 - 14:50:25)

Hit ctrl+u to stop autoboot:  0

This program will upgrade software.
*******************************************************
*  ATTENTION!! PLEASE READ THIS NOTICE CAREFULLY!     *
*  Don't reset machine,or anything that interrupt it. *
*  The upgrade process must finish in 10 minutes!     *
*  If this program fails,machine might be unusable,   *
*  and you will need to reflash again.                *
*  If you find this too risky,power off machine now.  *
*******************************************************

Now press [u/U] key to upgrade software: u
File system error,please upgrade by TFTP

Please input ip address of device: 192.168.1.79
Please input ip address of upgrade server: 192.168.1.99
Confirm?(y/n): y
timeout for link [4999]!
MAC:   4C-BD-8F-9C-7D-B8
TFTP from server 192.168.1.99; our IP address is 192.168.1.79
Download Filename 'digicap.dav'.
Download to address: 0x40008000
Downloading: #################################################
done
Bytes transferred = 55296204 (34bc0cc hex)
uImage checkSum ok !
start.sh checkSum ok !
sys_app.tar.lzma checkSum ok !
gui_res.tar.gz checkSum ok !
webs.tar.lzma checkSum ok !
TX1_Version.bin checkSum ok !
RSA checkSum ok !
new_10.bin checkSum ok !
start to erase nand flash partition 0  start: 0x200000 end: 0x6200000 len: 0x6000000 ...
Erasing at 0x61e0000 -- 100% complete.
--- OK!
start to erase nand flash partition 1  start: 0x6200000 end: 0xC200000 len: 0x6000000 ...
Erasing at 0xc1e0000 -- 100% complete.
--- OK!
start to erase nand flash partition 2  start: 0xC200000 end: 0x10000000 len: 0x3E00000 ...
Erasing at 0xffe0000 -- 100% complete.
--- OK!

start to write files to partition 0...
yaffs: Mounting /nand
9-1.  write /nand/uImage len: 8834120
9-2.  write /nand/start.sh len: 8976
9-3.  write /nand/sys_app.tar.lzma len: 29337672
9-4.  write /nand/gui_res.tar.gz len: 9458672
9-5.  write /nand/webs.tar.lzma len: 7654688
9-6.  write /nand/TX1_Version.bin len: 40
9-7.  write /nand/RSA len: 24
9-8.  write /nand/new_10.bin len: 744
9-9.  write flag file /nand/version.bin len: 4
update partition 0 success!
save exit: isCheckpointed 1

start to write files to partition 1...
yaffs: Mounting /nand
9-1.  write /nand/uImage len: 8834120
9-2.  write /nand/start.sh len: 8976
9-3.  write /nand/sys_app.tar.lzma len: 29337672
9-4.  write /nand/gui_res.tar.gz len: 9458672
9-5.  write /nand/webs.tar.lzma len: 7654688
9-6.  write /nand/TX1_Version.bin len: 40
9-7.  write /nand/RSA len: 24
9-8.  write /nand/new_10.bin len: 744
9-9.  write flag file /nand/version.bin len: 4
update partition 1 success!
save exit: isCheckpointed 1
Press ENTER key to reboot
resetting ...


U-Boot 2010.06-svn (Aug 14 2015 - 14:50:25)

Hit ctrl+u to stop autoboot:  0
t


In PuTTY, use the menu at the top left of the window to 'Copy all to clipboard' so the transcript can be pasted into something like Notepad for editing, annotating and posting here if some analysis is needed.

Good luck!
 
For re-installing the firmware?
That's straightforward enough.
Analysing a failure would require some detail such as serial console logs.

Firmware install via the serial console :

Install a tftp server on the PC - such as Jounin's one here :

Drop the digicap.dav from the same firmware that you updated with to the same folder as the tftp server will be run in.
Install PuTTY from here :

With the USB to RS232 convertor connected to the PC, and plugged in to the NVR, find and note down which COM port it's been assigned with Windows Device Manager.
Start PuTTY and create a serial connection using the COM port you noted, with baud rate=115200 8 bits no parity.
For convenience name it and save it.
Open the saved connection.
Note down the PC IP address.
Start the tftp server.

Power on the NVR.
PuTTY should straight away show some activity.
Quickly use Control-U to interrupt the bootloader.
The bootloader will respond with an update dialogue where you specify the IP address of the PC running the tftp server, and pick an IP address in the same range for the NVR to use during the update.
Then, after confirming you wish to update, the NVR will download the firmware and apply it.
On completion, the NVR will be in an 'Inactive' state.
It can be 'Activated' by creating your own strong password, either using SADP or the web GUI logon page.
SADP can then be used to assign the required IP address to the NVR.

Here is a sample transcript of a firmware install via the bootloader:
The menu will be the same, but the details of the update files will vary with NVR models and firmware versions.

Code:
U-Boot 2010.06-svn (Aug 14 2015 - 14:50:25)

Hit ctrl+u to stop autoboot:  0

This program will upgrade software.
*******************************************************
*  ATTENTION!! PLEASE READ THIS NOTICE CAREFULLY!     *
*  Don't reset machine,or anything that interrupt it. *
*  The upgrade process must finish in 10 minutes!     *
*  If this program fails,machine might be unusable,   *
*  and you will need to reflash again.                *
*  If you find this too risky,power off machine now.  *
*******************************************************

Now press [u/U] key to upgrade software: u
File system error,please upgrade by TFTP

Please input ip address of device: 192.168.1.79
Please input ip address of upgrade server: 192.168.1.99
Confirm?(y/n): y
timeout for link [4999]!
MAC:   4C-BD-8F-9C-7D-B8
TFTP from server 192.168.1.99; our IP address is 192.168.1.79
Download Filename 'digicap.dav'.
Download to address: 0x40008000
Downloading: #################################################
done
Bytes transferred = 55296204 (34bc0cc hex)
uImage checkSum ok !
start.sh checkSum ok !
sys_app.tar.lzma checkSum ok !
gui_res.tar.gz checkSum ok !
webs.tar.lzma checkSum ok !
TX1_Version.bin checkSum ok !
RSA checkSum ok !
new_10.bin checkSum ok !
start to erase nand flash partition 0  start: 0x200000 end: 0x6200000 len: 0x6000000 ...
Erasing at 0x61e0000 -- 100% complete.
--- OK!
start to erase nand flash partition 1  start: 0x6200000 end: 0xC200000 len: 0x6000000 ...
Erasing at 0xc1e0000 -- 100% complete.
--- OK!
start to erase nand flash partition 2  start: 0xC200000 end: 0x10000000 len: 0x3E00000 ...
Erasing at 0xffe0000 -- 100% complete.
--- OK!

start to write files to partition 0...
yaffs: Mounting /nand
9-1.  write /nand/uImage len: 8834120
9-2.  write /nand/start.sh len: 8976
9-3.  write /nand/sys_app.tar.lzma len: 29337672
9-4.  write /nand/gui_res.tar.gz len: 9458672
9-5.  write /nand/webs.tar.lzma len: 7654688
9-6.  write /nand/TX1_Version.bin len: 40
9-7.  write /nand/RSA len: 24
9-8.  write /nand/new_10.bin len: 744
9-9.  write flag file /nand/version.bin len: 4
update partition 0 success!
save exit: isCheckpointed 1

start to write files to partition 1...
yaffs: Mounting /nand
9-1.  write /nand/uImage len: 8834120
9-2.  write /nand/start.sh len: 8976
9-3.  write /nand/sys_app.tar.lzma len: 29337672
9-4.  write /nand/gui_res.tar.gz len: 9458672
9-5.  write /nand/webs.tar.lzma len: 7654688
9-6.  write /nand/TX1_Version.bin len: 40
9-7.  write /nand/RSA len: 24
9-8.  write /nand/new_10.bin len: 744
9-9.  write flag file /nand/version.bin len: 4
update partition 1 success!
save exit: isCheckpointed 1
Press ENTER key to reboot
resetting ...


U-Boot 2010.06-svn (Aug 14 2015 - 14:50:25)

Hit ctrl+u to stop autoboot:  0
t


In PuTTY, use the menu at the top left of the window to 'Copy all to clipboard' so the transcript can be pasted into something like Notepad for editing, annotating and posting here if some analysis is needed.

Good luck!

Thanks a lot for this help, I appreciate it..

But I can't make a connection with the NVR through Putty
COM Port identified, drivers installed etc
trying now from a laptop, same result (tried first from a desktop) All Win 10 Pro, yesterday at some point I could get a connection with putty once doing tests but now after 80 attempts trying to follow your selfless help I have not been able to get a connection.

Nothing is connected to my pc like extra usb, usb stick or some other device that can interfere, If I have to stay up late again today, I will.

Ty.
 
Did you use a null modem cable to connect the USB cable to the NVR?

Sadly I can't find a way for this to make a connection via putty, bought other new wires and nothing, try from desktop and laptop
I leave you here these photos to know if I am failing in something?

Ty.



Did you use a null modem cable to connect the USB cable to the NVR?
 

Attachments

  • 2C8C2012-D54D-4364-88EB-865AC9D52CDF.jpeg
    2C8C2012-D54D-4364-88EB-865AC9D52CDF.jpeg
    3.9 MB · Views: 16
  • DD030C9C-53B3-41BF-AF7F-D8CFE2D79617.jpeg
    DD030C9C-53B3-41BF-AF7F-D8CFE2D79617.jpeg
    4.1 MB · Views: 15
  • 466B46E5-A3A0-415B-80B9-D35EE7184FF6.jpeg
    466B46E5-A3A0-415B-80B9-D35EE7184FF6.jpeg
    4 MB · Views: 19
  • 28D3AF63-12A6-4698-B877-A7AA35700DF4.jpeg
    28D3AF63-12A6-4698-B877-A7AA35700DF4.jpeg
    319.3 KB · Views: 26
  • 8E1DAFB9-0355-424F-A7DE-B06695E6AE4E.jpeg
    8E1DAFB9-0355-424F-A7DE-B06695E6AE4E.jpeg
    418.4 KB · Views: 29
  • E24E1AD5-CC73-4E3E-B17C-CCAB0D23265C.jpeg
    E24E1AD5-CC73-4E3E-B17C-CCAB0D23265C.jpeg
    398.7 KB · Views: 23
  • 6C6D3A30-DA0E-4945-B237-F3A712FEFF79.jpeg
    6C6D3A30-DA0E-4945-B237-F3A712FEFF79.jpeg
    329.9 KB · Views: 16
  • 86B03E13-4E7C-4B0E-9D61-54AABE7F15D1.jpeg
    86B03E13-4E7C-4B0E-9D61-54AABE7F15D1.jpeg
    398.5 KB · Views: 16
I leave you here these photos to know if I am failing in something?
It does look like you have the correct items.

As a test of the PuTTY configuration, connect the USB convertor to the null model cable and at the female end of the cable, the end that you would connect to the NVR, use a small piece of wire, or a paper clip or similar to join pin 2 to pin 3.
Then see what happens on the PuTTY window when you type some characters at the PC.

Do you have a link to where USB convertor and the null modem cable were purchased?