...which should be sufficient for you to trace the pinout to the female header so you can butcher a USB cable to make a USB A to duPont pin adaptor cable.
It may be sufficient to image the good drive with a raw disk imaging utility, but you may need a Phison OEM utility to initialise and defect map the new FLASH chip. There's a page of Phison utilites here: http://usb-fix.blogspot.com/p/phison.html
I haven't used any oif them so YMMV.
Great, thanks for the info! So basically I could connect that PCB module to USB and use it like a USB Flash drive?
I'll definitely try my luck with a USB A to duPont pin adaptor cable.
Does that also mean that I could simply connect the USB flash drive to that firewall flash connector (with the USB to duPont cable) and use it instead of the original flash PCB?
Flash is probably only used for storing firewall logs and firmware.
Aren't the USB 2.0 connectors of a normal PC ATX mainbaoard using a 2x5pin 2mm pitch connector? Maybe you don't even need a adapter.
Edit: But you should first check if the pinout match!
Use a programmer
Great, thanks for the info! So basically I could connect that PCB module to USB and use it like a USB Flash drive?
I'll definitely try my luck with a USB A to duPont pin adaptor cable.
Does that also mean that I could simply connect the USB flash drive to that firewall flash connector (with the USB to duPont cable) and use it instead of the original flash PCB?
Flash is probably only used for storing firewall logs and firmware.Once you've got the replacement FLASH chip, there's little risk in hooking up the rebuilt module to a PC. Once you are satisfied it works as a mass storage device, you can risk imaging the good module, preferably under Linux to avoid Windows' unpleasant tendency to write stuff to filesystems it doesn't really understand.
Re: Thumbdrive substitution in the router: Maybe, maybe not. It very much depends on if the host firmware is looking for a specific mass storage device, or if those extra pins on the connector are anything except power, ground and n/c.
That memory module really looks like an USB flash module (e.g. https://www.swissbit.com/de/usb-produkte/). So there's a good chance that this will be compatible to access via a normal PC.
That only 4 pins are assigned is normal as the 10-pin header provide 2x USB 2.0: (https://doc.xdevs.com/doc/_PC_HW/Form_factors/fpio_design_guideline.pdf ; Page 21).
I would say: That module is compatible to the USB-Connectors you'll find on a normal PC-ATX mainboard.
I would have thought that the next step would be to try a regular USB flash drive, with a suitable cable.
Use something like this:
https://ae01.alicdn.com/kf/HTB1APEKSpXXXXbhXpXXq6xXFXXXy/6-pcs-PCI-C-bles-9pin-USB2-0-Connecteur-Carte-M-re-USB-Extension-C-ble.jpg
https://ae01.alicdn.com/kf/HTB14QP_SpXXXXakapXXq6xXFXXXR/6-pcs-PCI-C-bles-9pin-USB2-0-Connecteur-Carte-M-re-USB-Extension-C-ble.jpg
Then plug a regular USB flash drive into it.
One thought. Looking at those messages, I suspect the Kernel is checking for an EXT2/3/4 partition.
As in https://linux.die.net/man/8/mke2fs
Create an EXT2 or 3 partition on a blank USB drive and see if the boot sequence likes that.
I suspect the kernel does not need a 'sexy' NAND partition type (like UBI), as the NAND chip is hidden away on the USB bus.
Do you have a copy of the boot log, as this may give clues as to what is being loaded?
That's high risk compared to simply cloning the USB mass storage device the module presents as. Also it quite likely that the router only mounts USB devices at boot as its expecting it to be non-removable.
One thought. Looking at those messages, I suspect the Kernel is checking for an EXT2/3/4 partition.
As in https://linux.die.net/man/8/mke2fs
Create an EXT2 or 3 partition on a blank USB drive and see if the boot sequence likes that.
I suspect the kernel does not need a 'sexy' NAND partition type (like UBI), as the NAND chip is hidden away on the USB bus.
Do you have a copy of the boot log, as this may give clues as to what is being loaded?
Thanks, I'll try.
Well I've access to the working firewall. Will try to find the boot log location, maybe it will reveal some clues.
That's high risk compared to simply cloning the USB mass storage device the module presents as. Also it quite likely that the router only mounts USB devices at boot as its expecting it to be non-removable.yes, it's a little risk, but the router won't see device as removable if you cut power and restore it to flash controller. I tested once on some device
the only risk is on interface comm signals, but those things are well made, I never saw one fried by taking it off with voltages applied, but I saw some with dead firmwares from toying with him, took me 1/2 day to restore one
[edit]
after looking at module ( http://www.rflashdata.com/uploadfile/2011/1117/UP19-PS2251%20datasheet.pdf) , if you cut power is similar to ejecting a usb stick from computer, where power is cut first cause the power pad V+ is shorter, so there's almost zero risk. in fact, zero