DS-2CD2132-I Camera not responding - How to load factory default ?

sunix

n3wb
Joined
Jun 5, 2017
Messages
8
Reaction score
0
Hi,

I have a DS-2CD2132-I camera, serial DS-2CD2132-I20141126CCWRXXXXXXX, that is no longer reporting in SADPTool. I have 4 similar cameras and the 3 others report without problem (so this is not a computer setup problem)

I was playing in network settings when the camera stop reporting so I probably screw up something.

So now I am trying to reset the camera to factory default to see if this solve the problem. The camera is not reachable by any way (SADPTool, web, RTSP or server port). The original firmware was 5.4.0_160530.

Look like there is no reset button on this model. I try to upload the firmware with TFTPserver tool to reset settings. The update process seems to work but settings does not look to reset.

When i put the power on camera, the normal boot process occurs (IR led turn on, then after 30 sec, the turn off, all internal power and network led are open). But camera still not reachable after that.

When I do the TFTP upload, I am able to telnet the camera and login (192.0.0.64, root, pass 12345).
I am able to see and navigate thru folders structure, i am able to start process (ftpd, etc.) I am able to manually do the firmware update via update command. I am able to reboot, etc, etc.

I also try to upgrade firmware to 5.4.41_170312 with TFTP. The process seems to work without issue, but after reboot the camera still not reachable.

What can I try now? Is there another firmware I can try. Is there a telnet command that will reset the settings. If there a file I can edit or erase via telnet to reset settings?

Thanks for your help.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,976
Reaction score
6,800
Location
Scotland
The serial number with CCWR does suggest this is an updateable camera - but the symptoms you've described are consistent with what can happen when applying EN/ML firmware to a CN camera.
When I do the TFTP upload, I am able to telnet the camera and login (192.0.0.64, root, pass 12345).
At this point - maybe interesting to confirm the camera language by grabbing a copy of mtdblock6 and checking the contents, eg
cat /dev/mtd6ro > mtd6copy
or
cat /dev/mtdblock6 > mtd6copy

And tftp or ftp it out.
The 'Language Byte' is in relative location 0x10
02-CH, 01-EN/ML

I was playing in network settings when the camera stop reporting so I probably screw up something.
Are you convinced you haven't created an address conflict? Did you change the Hikvision media port, 8000?
 

sunix

n3wb
Joined
Jun 5, 2017
Messages
8
Reaction score
0
Hi, I confirm that location 0x10 of mtd6ro is 01.
I am pretty sure this camera is updateable as I updated my 3 others that I purchased in the same batch.

I don't think I created an address conflict, the camera is now standalone with my laptop.
I did not change port. If I remember, I was playing with ipV6 settings (don't ask me why).

I did an ip scan and a port scan and nothing seems to be opened when I boot the camera normally.

Any suggestion? Do you know where the settings are stored ? Is there any hardware tweak I can do to trigger a reset ?
Is there a way to confirm the currently installed firmware?
Any help would be appreciated. Thanks.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,976
Reaction score
6,800
Location
Scotland
Any suggestion? Do you know where the settings are stored ?
The settings are held in a sqlite3 database file, which under normal ruunning is held as below in plain text internally:
What I don't know though is if when you are accessing the camera when it's running the 'min-system' kernel, after the tftp update process, the same-named files in that environment are the same as those in the running environment. If that makes sense.
A rename - I think in 'min-system' mv is unavailable, so a cp / rm is needed - might just trigger a set of defaults.
Code:
alastair@PC-I5 ~ $ telnet 192.168.254.13
Trying 192.168.254.13...
Connected to 192.168.254.13.
Escape character is '^]'.

Hikvision login: root
Password:


BusyBox v1.19.3 (2014-07-11 11:25:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# ls -al /davinci/ipc*
-rw-r--r--    1 root     root        424960 Apr 27 10:28 /davinci/ipc_db
# ls -al /config/ipc*
-rw-r--r--    1 root     root        424960 Apr 27 10:27 /config/ipc_db_backup
# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
ramfs on /home type ramfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/ubi1_0 on /dav type ubifs (rw,relatime)
/dev/ubi3_0 on /davinci type ubifs (rw,relatime)
/dev/ubi4_0 on /config type ubifs (rw,relatime)
# ubinfo -d 3 -a
ubi3
Volumes count:                           1
Logical eraseblock size:                 129024 bytes, 126.0 KiB
Total amount of logical eraseblocks:     32 (4128768 bytes, 3.9 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  2
Current maximum erase counter value:     983
Minimum input/output unit size:          2048 bytes
Character device major/minor:            251:0
Present volumes:                         0

Volume ID:   0 (on ubi3)
Type:        dynamic
Alignment:   1
Size:        26 LEBs (3354624 bytes, 3.2 MiB)
State:       OK
Name:        cfg_pri
Character device major/minor: 251:1
# ubinfo -d 4 -a
ubi4
Volumes count:                           1
Logical eraseblock size:                 129024 bytes, 126.0 KiB
Total amount of logical eraseblocks:     32 (4128768 bytes, 3.9 MiB)
Amount of available logical eraseblocks: 0 (0 bytes)
Maximum count of volumes                 128
Count of bad physical eraseblocks:       0
Count of reserved physical eraseblocks:  2
Current maximum erase counter value:     812
Minimum input/output unit size:          2048 bytes
Character device major/minor:            250:0
Present volumes:                         0

Volume ID:   0 (on ubi4)
Type:        dynamic
Alignment:   1
Size:        26 LEBs (3354624 bytes, 3.2 MiB)
State:       OK
Name:        cfg_sec
Character device major/minor: 250:1
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00020000 "bst"
mtd1: 00100000 00020000 "ptb"
mtd2: 00100000 00020000 "bld"
mtd3: 00100000 00020000 "hal"
mtd4: 00100000 00020000 "ano_ptb"
mtd5: 00080000 00020000 "env"
mtd6: 00080000 00020000 "param"
mtd7: 00100000 00020000 "dpt"
mtd8: 00a00000 00020000 "rcvy"
mtd9: 00800000 00020000 "krn_pri"
mtd10: 00800000 00020000 "krn_sec"
mtd11: 00400000 00020000 "rmd_pri"
mtd12: 00400000 00020000 "rmd_sec"
mtd13: 01800000 00020000 "app_pri"
mtd14: 01800000 00020000 "app_sec"
mtd15: 00400000 00020000 "cfg_pri"
mtd16: 00400000 00020000 "cfg_sec"
mtd17: 01000000 00020000 "dbg"
#
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,976
Reaction score
6,800
Location
Scotland
Hi, I confirm that location 0x10 of mtd6ro is 01.
As you've pulled out mtd6ro - just out of curiosity, what are the values held in relative locations :
0x54, 0x5E, 0x64
Is there a way to confirm the currently installed firmware?
On a working camera, the command prtHardInfo (case-sensitive) would show that detail - but I don't think that command will be available in the current status.
 

sunix

n3wb
Joined
Jun 5, 2017
Messages
8
Reaction score
0
0x54 = 05, 0x5E = 15, 0x64 = 06

I updated another camera in the same batch with the same TFTP procedure to see if I was doing something wrong and everything works as expected on the other camera.
So there must be something wrong with this one, maybe hardware I don't know. I have ordered material to build a serial cable and hope this will give me more information.
 

sunix

n3wb
Joined
Jun 5, 2017
Messages
8
Reaction score
0
Hi finally receive the part to build my serial cable. Here is what I get when I boot the camera:

Code:
U-Boot 1.3.4-100728 (Nov 11 2014 - 13:58:34)

ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
|BIND err|
Unknown command:null
nand booting ...
load kernel...
load ramdisk...
init started: BusyBox v1.19.3 (2016-05-23 16:23:55 CST)
starting pid 375, tty '': '/etc/init.d/rcS'
Starting udev:      [ OK ]
UBI device number 1, total 192 LEBs (24772608 bytes, 23.6 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi1_0.
waiting for /dev/ubi1_0.
pri_iUpgSuccCnt:0x1, sec_iUpgSuccCnt:0x1
UBI device number 3, total 32 LEBs (4128768 bytes, 3.9 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi3_0.
Check dir /davinci ok! (0)
UBI device number 4, total 32 LEBs (4128768 bytes, 3.9 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi4_0.
Check dir /config ok! (0)
diagnose_way = 15, repair_way = 1, interval = 30
route: ioctl 0x890c failed: No such process
mount: mounting none on /proc/bus/usb failed: No such file or directory
/dav
map_size = 0x300000
nr_item = 3
addr_offset = 0x0 filename = orccode.bin
addr_offset = 0x200000 filename = orcme.bin
addr_offset = 0x2a0000 filename = default_binary.bin
mmap returns 0x40254000
loading ./orccode.bin...addr = 0x40254000, size = 0x1a0a91
loading ./orcme.bin...addr = 0x40454000, size = 0x3a4fc
loading ./default_binary.bin...addr = 0x404f4000, size = 0x40000
===============================
u_code version = 2016/4/6 3.0
===============================
ln: /dev/rtc: File exists
=====check_config start=====
===main db is ok===
netprocess version[getaddrinfo security]: 1.6.1 [14:12:02-Apr  5 2016].
No need to recover kernel pri partition.
No need to recover ramdisk pri partition.
[07-05 22:42:56][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:42:56][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:42:56][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:42:56][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
infd read End
Unix bus   0 .
[07-05 22:42:57][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:42:57][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:42:57][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:42:57][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
==================PPPoE is disable!!!
[07-05 22:42:58][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:42:58][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:42:58][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:42:58][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:42:59][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:42:59][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:42:59][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:42:59][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:00][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:00][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:00][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:00][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
IEfile uncompressed.
[07-05 22:43:01][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:01][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:01][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:01][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:02][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:02][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:02][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:02][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:03][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:03][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:03][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:03][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:04][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:04][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:04][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:04][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:05][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:05][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:05][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:05][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:06][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:06][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:06][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:06][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[07-05 22:43:07][pid:837][STRM_ANLS][ERROR] from daemon ack, dst not work  len 0 , load_type is [10012]
[07-05 22:43:07][pid:837][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[07-05 22:43:07][pid:837][UNI_IF][ERROR]communicaite_to_davinci failed!!!
[07-05 22:43:07][pid:833][STRM_ANLS][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
Unix bus  End
insmod: can't insert 'uart232.ko': File exists
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

powerLineFrequencyMode = 1
@@@motion NTSC!!!!!!!!!!!!!!!!!
[07-05 22:43:09][pid:854][UNI_IF][ERROR]stream request out range 3(2)
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param



version = 16777472

get 0-0-0-0.000000-0-0-0


version = 16777472

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

<init_run>3823:p_devcfg->ccdPara[1].capture_mode [18]
<MEGA_DSP>Platform Value:
<MEGA_DSP>Main mux type [0x4].
<MEGA_DSP>Sub   mux type [0x4].
<MEGA_DSP>Thi  mux type [0x2].
<MEGA_DSP>audio enc type[0x2].
<MEGA_DSP>voicetalk type[0x2].
<MEGA_DSP>Need PS SysHdr[0].
[07-05 22:43:10][pid:854][SYSINIT][ERROR]device not support RS485
[07-05 22:43:10][pid:854][HW_IF][ERROR]transfer_485_config_options error [options:57]
starting pid 868, tty '': '-/bin/psh'
BusyBox v1.2.1-171136 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

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

<DSP> DBG:init_dsp_lib() begin
<DSP> DBG:init_dsp_lib() end
[07-05 22:43:16][pid:854][DSP][ERROR][2]g_pdsp->audioTBShare.frameLen=80, g_pdsp->audioTBShare.totalFrame=128..
mknod: /dev/snd/controlC0: File exists
mknod: /dev/snd/pcmC0D0c: File exists
mknod: /dev/snd/pcmC0D0p: File exists
[07-05 22:43:16][pid:854][HW_IF][ERROR]<read_fixed_noise_info_from_flash> (CFG_MAGIC != read.magicNumber(ffffffff)
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

<DSP> DBG:setup_dsp() begin
<DSP> DBG:init_cmem_module:cached_size=33030144(31M),noncached_size=6815744(6M)
init_cmem_module:CMEM_cmdline=insmod /dav/cmemk.ko phys_start=0xc6600000 phys_end=0xc8c00000 pools=1x33030144,1x6815744

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

gdma Init Successful
b_fd=0,b_smd=1,b_scd=0,device_type=6,enableswaec=0
channel 1 is not 1 or 2<DSP> DBG:DSP start with Vout:Disabled,Audio:Disabled,VT:Disabled,MD:Enabled, vsync_guard:Enabled,vout_osd: Disabled, oversampling:Disabled, roi: Enabled, primacy: Disabled . hdr mode Disabled qr Disabled
<DSP> DBG:dsp_object.device_mode 0
<DSP> DBG:enc channel cnt 2, delay mode 0
Use CMEM buffer!
goto_idle done
pDspInitPara->VideoInitParam.capture_mode 125967390(width = 1920, height = 1080, fps = 30, interlace = 0)
device_type: 6, vitype: 21, fps: 30.000000
find_video_mode sucusss!! mode 125967390 p_mode_table[i].vin_mode 30 vin_object.vin_fps 30.000000 vin w 1920 h 1080
set mode 30 type 21
vin_mode 2304*1296 vin_mode_temp 2304*1296 vin_mode_temp2 2304*1296enc_chan_cnt=2
vin_object.vi_param chan = 1, fps/resolution/width/height = 30/4123/1920/1080
vin_object.vi_param chan = 2, fps/resolution/width/height = 30/4097/352/240
#######pDspInitPara vout enable 0
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=0,maxRate(maxFps)=30.000000,fps=0x1
<VidThrd> DBG:update_encode_fps_ctrl: f_frame_rate=1.000000,clockStep=45000
<VidThrd> DBG:update_encode_fps_ctrl:Finally chan=0,fps=0x1,fpsFlg=0x1,frmPerSec=1,fpsCounter=0,fpsCycle=30,g_md_interval 5 ms
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=1,maxRate(maxFps)=30.000000,fps=0x1e
<VidThrd> DBG:update_encode_fps_ctrl: f_frame_rate=30.000000,clockStep=1500
<VidThrd> DBG:update_encode_fps_ctrl:f_frame_rate=30.000000,[30].clockStep=1500,[30]
<VidThrd> DBG:update_encode_fps_ctrl:Finally chan=1,fps=0x1e,fpsFlg=0x3fffffff,frmPerSec=30,fpsCounter=0,fpsCycle=30,g_md_interval 5 ms
<VidThrd> DBG:update_video_config_param: chan=1,encode_type=1,          (1920x1080), mirror type0, I inerval 50, bps 4014,quality 60 i_quant 29,               complexity 1 rate_type 0,p_encode_param->f_frame_rate 30.000000,svc mode 0 qp 6
<chan 1> in None MotionJPEG, skip!
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=2,maxRate(maxFps)=30.000000,fps=0x1e
<VidThrd> DBG:update_encode_fps_ctrl: f_frame_rate=30.000000,clockStep=1500
<VidThrd> DBG:update_encode_fps_ctrl:f_frame_rate=30.000000,[30].clockStep=1500,[30]
<VidThrd> DBG:update_encode_fps_ctrl:Finally chan=2,fps=0x1e,fpsFlg=0x3fffffff,frmPerSec=30,fpsCounter=0,fpsCycle=30,g_md_interval 5 ms
<VidThrd> DBG:update_video_config_param: chan=2,encode_type=1,          (352x240), mirror type0, I inerval 50, bps 501,quality 60 i_quant 29,           complexity 1 rate_type 0,p_encode_param->f_frame_rate 30.000000,svc mode 0 qp 6
<chan 2> in None MotionJPEG, skip!

overlay: start = 0x43ce7000, total size = 0x100000 ( bytes)
b_rotate 0 overlay_level64 width 1920 height 1072
osd_width 1280 osd_scale_first 64 total 81920
b_rotate 0 overlay_level16 width 352 height 240
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
init osd memory ok
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count 24,osd_lines 1
<SetOsd()> line=1 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=2 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=3 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=4 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=5 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=6 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=7 y=0 line_char_count=0, valid char count 0,osd_lines 1
chan 1, osd size 0 osd_size_changed 1
chan 2, osd size 0 osd_size_changed 1
b_rotate 0 overlay_level16 width 1920 height 1072
osd_width 1280 osd_scale_first 16 total 20480
b_rotate 0 overlay_level16 width 352 height 240
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=0,flgOsd=0x1, bStart=1
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count 24,osd_lines 1
<SetOsd()> line=1 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=2 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=3 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=4 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=5 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=6 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=7 y=0 line_char_count=0, valid char count 0,osd_lines 1
chan 1, osd size 0 osd_size_changed 0
chan 2, osd size 0 osd_size_changed 0
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=1,flgOsd=0x3, bStart=1
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count 24,osd_lines 1
<SetOsd()> line=1 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=2 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=3 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=4 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=5 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=6 y=0 line_char_count=0, valid char count 0,osd_lines 1
<SetOsd()> line=7 y=0 line_char_count=0, valid char count 0,osd_lines 1
chan 1, osd size 0 osd_size_changed 0
chan 2, osd size 0 osd_size_changed 0
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=2,flgOsd=0x7, bStart=1
init osd success
<VidThrd> DBG:setup_video_input begin
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

<VidThrd> DBG:set framerate 30.000000
<VidThrd> DBG:set framerate 17066667
<VidThrd> DBG:init_vin done
sink 2 is DBus-LCD
sink_type 1, chan 1, sink_info type 2 sink_info.source_id 1
sink 1 is DBus-All
sink_type 1, chan 1, sink_info type 2 sink_info.source_id 0
sink 0 is CVBS
sink_type 1, chan 1, sink_info type 1 sink_info.source_id 1
sinkid 0
<config_vout_flip> rotate_type 0
<DspThrd> DBG:#######vout enable 0
sink 2 is DBus-LCD
sink_type 2, chan 0, sink_info type 2 sink_info.source_id 1
sink 1 is DBus-All
sink_type 2, chan 0, sink_info type 2 sink_info.source_id 0
sink 0 is CVBS
sink_type 2, chan 0, sink_info type 1 sink_info.source_id 1
sinkid 1
<config_vout_flip> rotate_type 0
<DspThrd> DBG:#######vout enable 1
init_vout0 done
bsb_mem = 0x43f0c000, size = 0x400000
<VidThrd> DBG:Stream [0] change frame rate 1/30
h264 main profile !
<VidThrd> DBG:Stream [1] change frame rate 30/30
h264 main profile !
<VidThrd> DBG:Stream [2] change frame rate 30/30
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param

davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
and then the 2 last line continue forever. Any idea ?
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,976
Reaction score
6,800
Location
Scotland
The camera is not reachable by any way (SADPTool, web, RTSP or server port).
Your serial console log above shows that davinci (the main program) does not reach the final initialised stage, where normal web services and SADP response would become available.
But it's not clear why that's so.
The many 'error' lines are normal enough and can be quite confusing.
The update process seems to work but settings does not look to reset.
What might provide some useful info would be to do the normal Hikvision tftp updater process, which usually clears the configuration, and watch the progress and messages via the serial console to see if there are any clues showing.
 

sunix

n3wb
Joined
Jun 5, 2017
Messages
8
Reaction score
0
Here is the update log:

Code:
U-Boot 1.3.4-100728 (Nov 11 2014 - 13:58:34)

ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
[ INFO][MIN]FORMAT: Formatting Flash
[ INFO][MIN]FORMAT: ..................................
[ INFO][MIN]FORMAT: Format Flash [OK]
[ INFO][MIN]TFTP: TFTP from server 192.0.0.128
[ INFO][MIN]TFTP: Filename: 'digicap.dav'
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ################################################################################
[ INFO][MIN]TFTP: ####################################################################
[ INFO][MIN]TFTP: Download File [OK]
[ INFO][MIN]BURN: File size is 22224258 bytes (21703 KB)
[ INFO][MIN]BURN: Writing Flash
[ INFO][MIN]BURN: ................................................................
[ INFO][MIN]BURN: Write Flash [OK]
***** UPDATE COMPLETE *****

#
[/CODE}
 
Top