brandonlw / Psychson

Phison 2251-03 (2303) Custom Firmware & Existing Firmware Patches (BadUSB)
MIT License
4.11k stars 1.28k forks source link

FATAL: System.InvalidOperationException: DeviceIoControl failed: 0002 Phison 2251-33 (2233) #151

Open nicolasle opened 8 years ago

nicolasle commented 8 years ago

Hello, I was trying to make a bad usb from a 8Gb usb drive with a phison 2251-33 controller. Everything goes fine until the "SendFirmware" step. Here is the result : "C:\Users\vle>C:\Users\vle\Desktop\Asupprimer\Psychson\tools\DriveCom.exe /drive=F /action=SendFirmware /burner=C:\Users\vle\Desktop\Asupprimer\BN33BBN108.BIN /firmware=C:\Users\vle\Desktop\Asupprimer\Psychson\firmware\bin\fw.bin Action specified: SendFirmware Gathering information... Reported chip type: 2233 Reported chip ID: 98-D5-94-32-76-54 Reported firmware version: 6.03.10 Mode: Firmware Switching to boot mode... FATAL: System.InvalidOperationException: DeviceIoControl failed: 0002 à DriveCom.PhisonDevice._SendCommand(SafeFileHandle handle, Byte[] cmd, Byte[] data, Int32 bytesExpected) dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\PhisonDevice.cs:ligne 365 à DriveCom.PhisonDevice.SendCommand(Byte[] cmd, Byte[] data) dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\PhisonDevice.cs:ligne 314 à DriveCom.PhisonDevice.TransferFile(Byte[] data, Byte header, Byte body) dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\PhisonDevice.cs:ligne 246 à DriveCom.PhisonDevice.TransferFile(Byte[] data) dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\PhisonDevice.cs:ligne 238 à DriveCom.Startup._ExecuteImage(String fileName) dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\Startup.cs:ligne 403 à DriveCom.Startup._SendFirmware() dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\Startup.cs:ligne 375 à DriveCom.Startup.Main(String[] args) dans C:\Users\vle\Desktop\Asupprimer\Psychson\DriveCom\DriveCom\Startup.cs:ligne 114 " At the end I think my usb is in boot mode (the led is on) Can anyone help me ? Thank you so much Ps : Sorry for my newbie english, I'm Belgian :D

p0syd0n commented 9 months ago

same issue 8 years later haha. did you fix it