Anything worth sharing?
The
tftp updater can be affected by using PoE for power, and direct LAN connection to the PC, both likely to be timing related.
Here are some details from my experience. The issues I had are probably covered somewhere in this thread, but I didn't read the entire thread before jumping right in (I only really read the first page of posts..)
Since this is a little long, so I'll put the lessons learned up front:
- Run everything as 'Administrator' (TFTP Server, HxD etc).
- Turn off windows firewall.
- Use short network cables.
Here are the details:
My set up was a Windows 10 laptop, connected to a Trendnet TPE-S44 switch (8 ports, 4 with PoE), and the cameras connected to a PoE port on that switch. Using 6 foot Cat6 cables.
First upgrade was the DS-2CD2432F-IW. This camera was still working, but was running an old Chinese firmware. Here were the issues I encountered:
1. Initially, the camera would not connect to the Hikvision TFTP server. At first I thought it might be because I was using PoE for power, so I changed to an external power supply. That made no difference. Eventually I found I needed to disable the Windows Firewall on my laptop to get the connection to work (NetSh Advfirewall set allprofiles state off). After disabling the firewall, the camera connected just fine.
2. When running the first /dav/fixup.sh I would receive an error when it tried to upload the file to the FTP server. The message was 'error(2) permission denied' or something like that. I eventually determined that I needed to run the TFTP server (tftpd32) as 'Administrator' - that fixed the permission issue.
3. When editing the mtd6ro_mod file in HxD, I found I could not save the file to the 'C:\Program Files (x86)\Tftpd32' folder unless HxD was running as 'Administrator'.
4. I would periodically lose my putty telnet session connection, so just needed to start a new session. Not sure what the cause of that, but it happened with both of my cameras.
Next upgrade was the Chinese DS-2CD2032-I - this is the camera that was hobbled after the failed English V5.4.5 upgrade attempt. Only one issue with the process here:
This camera is installed outdoors, so I attempted to upgrade it over the existing network cable. About 100' of
Cat5e. That didn't go so well. Several attempts to upload the brickfixV2EN digicap.dav file using the Hikvision FTP server failed. The camera failed to connect to the TFTP server initially, then when it did connect I received 'Receive Data ACK error' messages and the process hung after the 'completed file transfer' message (never received 'system update completed!' message). I had a few other failure messages after several other attempts too.
I moved my switch and laptop to the camera's location and connected the camera to a PoE port with a 6' Cat6 cable. That did the trick - the rest of the process went smoothly from there.
Thanks again for the time and effort put into this process. I have no idea how you figured out how to do this, but I'm sure glad you did!