Another 'How to unbrick' a Huisun Mini PTZ V2 ...

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
Sorry, but I don't know what the size limits of the SD card are for that camera.
 

Handler

n3wb
Joined
Nov 17, 2018
Messages
5
Reaction score
0
Location
Indonesia
@alastairstevenson,
i've got a different camera with Ambarella chip, i can get into Amboot, but the problem is, it will not stay on amboot, about a minutes it will reboot. And another problem is, it dont have fs command.

Here are some commands that exist in AMBoot:
r32
w32
boot
erase
reboot
setenv
show
fdt
nand
usbdl
gpio
tftp
ping
sd
help

my question is:
1. How can i stop the board to reboot randomly.
2. How do i backup the partitions before write it with the partitions from other camera?
3. Does the other command can replace the fs command?
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
1. How can i stop the board to reboot randomly.
It sounds like a watchdog timer, if it's after a fixed time. Not something I've experienced on Amboot, I don't know of any commands to inhibit thta.

2. How do i backup the partitions before write it with the partitions from other camera?
The 'nand' command usually has some very useful capabilities - try 'help nand' or 'nand' with no parameters to see what functionality is available.
If it can read a partition to memory, the tftp command should be able to extract it externally.

3. Does the other command can replace the fs command?
maybe explore what the 'sd' and usbdl' commands provide.
 

Handler

n3wb
Joined
Nov 17, 2018
Messages
5
Reaction score
0
Location
Indonesia
1. Yes, i set a stopwatch and it is reboot after 30 seconds, and it not enough for me to do anything to restore the camera partitions.
2.
amboot> nand
Help for 'nand':
nand show bb|bbt|partition
nand erase bbt
nand erase BLOCK BLOCKS
nand markbad BLOCK
nand rclm init|late|other|all
nand verify free|all|BLOCK [no_ecc]
nand dump PAGE [PAGES] [no_ecc]
nand prog PAGE [PAGES] [no_ecc] [BITFLIP]
nand speed [free]|[BLOCK BLOCKS]

3.
amboot> sd
Help for 'sd':
[slot]: sd/sdio/sd2
[type]: sd/sdhc/mmc/MoviNAND
sd init slot type
sd show partition
sd read slot type
sd write slot type
sd verify slot type
Test SD.

amboot> usbdl
Start transferring using USB...
init_usb_dev done
init_usb_hardware done
entering usb_task


the board dont have RJ45 port, how can i do a tftp without it?
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
It sounds like you'll need to buy a flash programmer and rewrite the flash chip.
This can be done 'in-place'.
 

Handler

n3wb
Joined
Nov 17, 2018
Messages
5
Reaction score
0
Location
Indonesia
It sounds like you'll need to buy a flash programmer and rewrite the flash chip.
This can be done 'in-place'.
i think it is a little hard, since it is nand flash chip... Do you got any recommended flash programmer for this chip? I think Toshiba TC58BVG1S3HTA00 is the nand flash chip...
20190727_213429.jpg
 

Attachments

Last edited:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
Ouch! That's not going to be able to be programmed.
The ones I've done have been the 8-pin serial flash chips. Easy peasy in comparison.
 
Top