Need dump from spi flash Mini Ptz V2 (ipcx-scb405ip-v10)

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,962
Reaction score
6,794
Location
Scotland
Need dump for it. Dump on device is crashed.
What are the symptoms?
A common cause is a corrupted or missing PTB partition.
You could confirm if this is the case using 'show ptb' an the Amboot prompt.
It should list the partitions - if not, ptb is corrupt.
I can post some simple instructions here if you want to try recovering it.
I do also have a flash .bin image though I cannot be sure what the exact model was except 'Mini PTZ V2' as I only had the board itself.

The missing ptb can be fixed with a sneaky trick.
The Amboot environment variables resides in the same flash partition as the 'dtb' data
The fix is to tftp load to a specific memory location a copy of the dtb data (a few kB) and do a dummy 'setenv' to write the flash.
 

komplex

n3wb
Joined
Mar 10, 2017
Messages
16
Reaction score
3
It does not execute any command includes tftp. It stops on "amboot>". I saw dump from spi, it most contains garbage.
For repair i need atleast working amboot . I would try your flash.bin.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,962
Reaction score
6,794
Location
Scotland
You could confirm if this is the case using 'show ptb' an the Amboot prompt.
Out of interest, what was the result of doing this?
And what does the tftp command produce?

Attached is a file that is the result of doing this :
cat mtd0ro mtd1ro mtd2ro mtd3ro mtd4ro > allmtd.bin
I have used this method before on a Mini PTZ V2 board with a CH341A SPI NOR programmer in-circuit, with the camera powered off and it programmed the flash OK.
Presumably that is also how you have read the SPI flash.
Good luck!
 

Attachments

komplex

n3wb
Joined
Mar 10, 2017
Messages
16
Reaction score
3
I do not know what is the reason for "brick" camera.
tftp - for downloading data into spi by specific address

Thank you for allmtd.bin, I`ll try it in some days and tell the result.
 

komplex

n3wb
Joined
Mar 10, 2017
Messages
16
Reaction score
3
Camera alive. I download allmtd.bin to spi, camera started normally? but after rebooting died again. I change spi to another one new and it works normally about 2 hours.
 

Attachments

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,962
Reaction score
6,794
Location
Scotland
Hey, well done!
It looks like you may have solved the problem.
You should be able to do some writes / verifies to the faulty SPI chip to confirm that it does not work fully.
 
Top