下固件网 http://www.XiaGuJian.com - 专注于免费技术分享的网站!

下固件网-XiaGuJian.com,计算机科技

当前位置: 主页 > 安防报警 > 安防资料 >

海康HIK ZD-3WS128-H 串口线超级终端刷机升级分析

软件大小:未知 发布时间:2024-09-23 刷新次数:
内容详情
海康HIK ZD-3WS128-H 串口线超级终端刷机升级分析
通过本地命令行升级
升级前准备
在升级设备启动文件前,请完成如下准备工作:
准备工具:串口线、超级终端软件(如MobaXterm)、升级文件
配置设备与AC网络可达。
开启文件服务器的TFTP/FTP Server功能。
通过配置终端登录到设备的命令行配置界面中。
图1 设备升级环境
海康HIK ZD-3WS128-H 串口线超级终端刷机升级分析

升级操作步骤

本手册以HIK ZD-3WS128-H为例介绍Comware V7操作系统的软件升级操作。
    (1)在任意试视图下,执行save命令保存当前配置信息:
<HIK> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<HIK>
      (2)在用户视图下,执行dir命令查看设备当前的文件系统,确认启动文件级配置文件名,
       以及存储介质的剩余空间,保证存储介质有足够空间放入新的软件包:
<HIK>dir
Directory of flash: (VFAT)
   0 -rw-         112 Jul 21 2023 16:55:48   apcfg.txt
   1 drw-           - Oct 16 2023 13:41:20   apimage
   2 -rw-    17465344 Oct 16 2023 13:39:40   boot.bin
   3 -rw-      279768 Jun 11 2024 11:00:58   defaultfile.zip
   4 drw-           - Jun 01 2023 14:04:02   diagfile
   5 drw-           - Apr 24 2024 10:15:28   dpi
   6 -rw-        7223 Jun 11 2024 11:01:19   drvciu_backup_0f52.cfg
   7 -rw-           0 Jun 11 2024 11:01:19   drvciu_update_0f52.cfg
   8 -rw-          63 Jun 01 2023 14:04:08   hikvision_cfginfo.txt
   9 -rw-           0 Jun 11 2024 11:01:07   hikvision_sdkmsg.log
  10 -rw-         735 Jul 21 2023 09:46:04   hostkey
  11 drw-           - Oct 16 2023 13:41:26   logfile
  12 drw-           - Jun 20 2024 11:17:27   pdt_reserve
  13 drw-           - Jun 01 2023 14:04:16   pki
  14 drw-           - Jul 21 2023 16:58:58   portalWeb_cn
  15 drw-           - Jul 21 2023 16:58:58   portalWeb_en
  16 -rw-           0 Jun 11 2024 11:01:19   portal_pageinfo.txt
  17 drw-           - Jun 01 2023 14:04:02   seclog
  18 -rw-         591 Jul 21 2023 09:46:04   serverkey
  19 -rw-        7223 Jun 06 2024 15:21:26   startup.cfg
  20 -rw-      168911 Jun 06 2024 15:21:26   startup.mdb
  21 -rw-   107304960 Oct 16 2023 13:39:56   system.bin
 
7586812 KB total (7232192 KB free)                                                                                                                                                                                                                    
<HIK>
存储介质剩余存储空间约为7232MB
(3)下载升级软件包至AC
用户可以将设备做为客户端,通过TFTP协议,将升级软件包下载到设备的存储介质上:
在用户视图下,执行tftp get命令将升级软件包ZD-WS40H-CMW710-V1.1.2800.ipe下载到设备的Flash中:
<HIK> tftp 192.168.0.1 get ZD-WS40H-CMW710-V1.1.2800.ipe
Press CTRL+C to abort.                                                        
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed   
100  244M  100  244M    0     0  1657k      0  0:02:31  0:02:31 --:--:-- 1641k  
Writing file...Done.
<HIK>
(4)加载升级软件包
在用户视图下,执行boot-loader命令设置AC下次启动使用的启动文件为ZD-WS40H-CMW710-V1.1.2800.ipe,并制定启动文件类型为main:
<HIK> boot-loader file flash:/ZD-WS40H-CMW710-V1.1.2800.ipe all main
Verifying the file flash:/ZD-WS40H-CMW710-V1.1.2800.ipe on slot 1............Done.
ZD-3WS128-H images in IPE:
  boot.bin
  system.bin
This command will set the main startup software images. Continue? [Y/N]:y
Add images to slot 1.
Decompressing file boot.bin to flash:/boot.bin........................................Done.
Decompressing file system.bin to cfa0:/system.bin.........................Done.
Decompression completed.
You are recommended to delete the .ipe file after you set startup software image
s for all slots.
Do you want to delete cfa0:/ZD-WS40H-CMW710-V1.1.2800.ipe now? [Y/N]:
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on slot 1.
<HIK>
<HIK>boot-loader file flash:/ZD-WS40H-CMW710-V1.1.2800.ipe main                                 
Verifying the file flash:/ZD-WS40H-CMW710-V1.1.2800.ipe on the device....Done.                  
 ZD-3WS128-H images in IPE:                                                  
  boot.bin                                                                      
  system.bin                                                                    
  ap.bin                                                                        
This command will set the main startup software images. Please do not reboot the
 device during the upgrade. Continue? [Y/N]:y                                   
Add images to the device.                                                       
File flash:/boot.bin already exists on the device.                              
File flash:/system.bin already exists on the device.                            
Overwrite the existing files, rename the new files, or abort the operation?     
  O: Overwrite the existing files.                                              
  R: Rename the new files.                                                      
  A: Abort the operation.                                                       
Please make a choice.[O/R/A]:o                                                  
Decompressing file boot.bin to flash:/boot.bin...Done.                          
Decompressing file system.bin to flash:/system.bin.....Done.                    
Decompressing file ap.bin to flash:/ap.bin..........Done.                       
Verifying the file flash:/boot.bin on the device...Done.                        
Verifying the file flash:/system.bin on the device....Done.                     
Verifying the file flash:/ap.bin on the device...Done.                          
The images that have passed all examinations will be used as the main startup so
ftware images at the next reboot on the device.                                 
Decompression completed.                                                        
You are recommended to delete the .ipe file after you set startup software image
s for all slots.                                                                
Do you want to delete flash:/ZD-WS40H-CMW710-V1.1.2800.ipe now? [Y/N]:y                         
<HIK>
(5)重启AC
a.在用户视图下,执行reboot命令重启AC:
<HIK> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
b.AC重启后,通过display version命令查看设备的启动版本信息是否与升级的启动文件一致。
<HIK>display version
HIK Wlan Software, Version 7.1.064, ESS 5572P50
Copyright (c) 2021 Hikvision Digital Technology Co., Ltd.                    
HIK ZD-3WS128-H uptime is 0 weeks, 0 days, 2 hours, 47 minutes               
Last reboot reason : User soft reboot
 
Boot image: flash:/boot.bin                                                  
Boot image version: 7.1.064, ESS 5572P50                                    
  Compiled Jun 16 2021 15:00:00                                          
System image: flash:/system.bin
System image version: 7.1.064, ESS 5572P50
 Compiled Jun 16 2021 15:00:00
Feature image(s) list:
  flash:/devkit.bin, version: 7.1.064
    Compiled Jun 16 2021 15:00:00
  flash:/freeradius.bin, version: 7.1.064
    Compiled Jun 16 2021 15:00:00
with 1 1600MHz Multi-core Processor 
2048M bytes DDR4
7456M bytes EMMC Memory
 
Hardware Version is Ver.A
CPLD Version is 001
                                                        
Basic Bootrom Version is 1.05                  
Extend Bootrom Version is 1.05                     
[Subslot 0]ZD-3WS128-H Hardware Version is Ver.A
 
<HIK> 
升级完AC之后,会同步将AP的版本下发到AP上,AP无需单独升级。
注意;:仅供交流学习
微信公众号
获取资料
★下载时请注意网站提示!如未成功下载勿关闭页面并联系网站客服。
使用必读
1.浏览或下载本站资料前务必阅读并知晓本站服务条款点击阅读
2.严禁将资料或笔记用于非法用途,或以任何形式的传播、修改、造成一切损失由使用人承担后果.
3.内容仅供无商业目的得交流学习,使用时需征得所有权人的授权.
4.资料仅供交流测试,资料存在的未知风险由使用此资料的用户承担一切未知事件而产生的后果,正式场景勿以此资料当做正式用途,仅作为过期,过保修,损坏,遗弃或用户主动放弃对此产品的重要性评估认为此产品不在重要时使用。

顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
昵称: 验证码:点击我更换图片
栏目列表
扫码关注免费咨询海量资料每日推送
下固件网公众号