Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nicolasle opened this issue Sep 9, 2016 · 1 comment

Comments

@nicolasle
Copy link

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
Copy link

p0syd0n commented Jan 7, 2024

same issue 8 years later haha. did you fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants