How to Unbrick Dahua DH-IPC-HDW4300C

Joined
Feb 27, 2018
Messages
1
Reaction score
0
Hi
I have a Dahua camera with DH-IPC-HDW4300C model that does not boot, and resets permanently, I do not have an update file that wants to edit IC Nand content (update.img).

I have the same dump file from a healthy camera.

Please guide how to inject a dummy file or send it if you have an update file.

I connected to RS232 and have these parameters in PUTTY software.


bootdelay=3
baudrate=115200
ipaddr=192.168.1.108
autoload=yes
gatewayip=192.168.1.1
netmask=255.255.255.0
wifiaddr=00:12:34:56:78:91
dh_keyboard=1
appauto=1
sysbackup=1
logserver=127.0.0.1
loglevel=4
autolip=192.168.1.108
autogw=192.168.1.1
autonm=255.255.255.0
ethact=ambarella mac
BSN=1J00B27PAA02040
HWID=IPC-HDW4100C:01:02:05:19:0A:00:01:06:01:00:00:210:00:00:02:00:00:00:00:00:100
devalias=IPC-HDW4300C
da=tftp 0xc2000000 dhboot.bin.img; flwrite; tftp dhboot-min.bin.img;nand protect off;flwrite;nand protect on
dr=tftp 0xc2000000 romfs-x.ubifs.img; flwrite
dk=tftp 0xc2000000 kernel.img; flwrite
du=tftp 0xc2000000 user-x.ubifs.img; flwrite
dw=tftp 0xc2000000 web-x.ubifs.img; flwrite
ds=tftp 0xc2000000 dsp-x.ubifs.img; flwrite
dc=tftp 0xc2000000 custom-x.ubifs.img; flwrite
dt=tftp 0xc2000000 data-x.ubifs.img; flwrite
df=tftp 0xc2000000 fpga.img; flwrite
up=tftp 0xc2000000 update.img; flwrite
tk=tftp 0xc2000000 uImage; bootm
bootcmd=nand read 0xc2000000 0x00c80000 0x00580000;bootm 0xc2000000
bootargs=console=ttyS0 mem=138M ubi.mtd=romfs root=ubi0:romfs ro rootfstype=ubifs init=/linuxrc video=amb0fb:720x480,720x480,1,0 lpj=2392064
ID=1J03B66PAA00043
native=1
ethaddr=4C:11:BF:E9:9D:86
SysMem=130M
DspMem=DSP=0xc8800000,0x07800000 BSB=0xc8400000,0x00400000
serverip=192.168.1.4
filesize=1A0040
fileaddr=C2000000
autosip=192.168.1.4
stdin=serial
stdout=serial
stderr=serial

Environment size: 1387/131068 bytes

And


? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootf - boot from flash
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dcache - enable or disable data cache
echo - echo args to console
editenv - edit environment variable
exit - exit script
false - do nothing, unsuccessfully
flwrite - flwrite - write data into FLASH memory

go - start application at address 'addr'
gpio - gpio test
hal - Perform RESET of the CPU
help - print command description/usage
hwid - hwid - set hardware id and save to flash

icache - enable or disable instruction cache
iminfo - print header information for application image
itest - return true/false on integer compare
kload - kload - load uImage file from parttion

lip - lip - set local ip address but not save to flash

loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
mac - mac - set mac address and save to flash

md - memory display
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nm - memory modify (constant address)
partition- print partition information
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
showvar - print local hushshell variables
sip - sip - set server ip address but not save to flash

sleep - delay execution for some time
smi - MII utility commands
source - run script from memory
sync_uboot- sync_uboot - sync uboot to uboot-bak

test - minimal test like /bin/sh
tftpboot- tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
uartUp - uartUp- update image via uart using uart4

usbdl - The command execute actions over USB

version - print monitor version
 
Top