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

komplex

n3wb
Mar 10, 2017
16
5
Need dump for it. Dump on device is crashed.

Share please who has it.
 

Attachments

  • IMG_2981.JPG
    IMG_2981.JPG
    733.3 KB · Views: 97
  • IMG_2982.JPG
    IMG_2982.JPG
    1.1 MB · Views: 102
  • IMG_2983.JPG
    IMG_2983.JPG
    1,004.4 KB · Views: 96
  • IMG_2984.JPG
    IMG_2984.JPG
    995.7 KB · Views: 95
  • IMG_2986.JPG
    IMG_2986.JPG
    2.7 MB · Views: 97
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.
 
  • Like
Reactions: vasycara
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.
 
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

  • Like
Reactions: komplex
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.
 
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

  • version.jpg
    version.jpg
    82.2 KB · Views: 58
  • Like
Reactions: vasycara
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.