| |

VerySource

 Forgot password?
 Register
Search
View: 635|Reply: 7

By popularity, how do I write commands and data to breakpoint 0 of the USB flash drive?

[Copy link]

3

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

Post time: 2020-2-23 11:30:01
| Show all posts |Read mode
Waiting online ~~~ Urgent !!!
Reply

Use magic Report

2

Threads

18

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-5-8 20:00:01
| Show all posts
Just fill in the data according to the USB spec.
Reply

Use magic Report

3

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

 Author| Post time: 2020-5-8 23:30:02
| Show all posts
Can you be more specific?
How to fill it in?
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-6-4 08:30:01
| Show all posts
There should be a development kit with functions to call.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Great Britain

Post time: 2020-6-5 01:00:01
| Show all posts
BulkOnly Sample from DDK.
Pipe0 is a Control Pipe, which requires the cooperation of driver and AP.

If there is a development kit, it is another matter.
Reply

Use magic Report

3

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

 Author| Post time: 2020-6-25 18:00:01
| Show all posts
Now I use the windows driver and want to write commands into the EP0 of the U disk.
Daniels help.
Reply

Use magic Report

2

Threads

18

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-7-13 05:45:01
| Show all posts
Oh, I thought you wrote the firmware of the hardware. I think Windows U disks have drivers, so you don’t have to write drivers with ddk.
After inserting the U disk, the windows driver will execute the control pipe command.
If you want to write EP0 through the xp driver, do you need to rewrite the windows driver? Or you can look at CreateFile, WriteFile does not work.
Reply

Use magic Report

3

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 China

 Author| Post time: 2020-7-17 12:15:01
| Show all posts
I added the EP0 command to the firmware.I need the host to send the command to EP0, but I just don't know how to send it through the windows driver.
Use DeviceIoControl + SCSI_PASS_THROUGH to send commands to EP2, but somehow write to EP0.
WriteFile has also tried and always returns an error.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list