阅读:2125回复:3
u盘的启动和格式化
我做的u盘设备已经可以进行文件读写了,但是有两个问题无法解决,
1.我通过pc格式化u盘时,总是告诉我windows无法格式化,在这期间我收到的command有 1)read10,logic address = 0,length = 1, 返回Boot sector (不包括CSW) 2)inquiry 返回0xB,00,00,0x08,00,01,0xF4,00,00,00,0x02,00(不包括CSW) 3)read capacity 返回 00,1f,4,00,00,00,02,00(不包括CSW) 2.如何制作可启动U盘,在什么地方做改动 |
|
|
沙发#
发布于:2002-07-10 10:19
Booting and operating system from a USB Bass Storage Class device requires no special considerations with regard
to Mass Storage Class support. Either CBI or Bulk-Only devices may be bootable. Bootability may, however, require other considerations such as particular types of media formatting, etc. Such considerations are hardware- or operating system dependent, and are beyond the scope of the Mass Storage Class specifications.这是我看到的一段E文,不知是否会对你有所帮助,而我收到的命令是Inquery。 |
|
板凳#
发布于:2002-07-09 17:57
很简单,
1.在设备端加入存储主机命令的程序,导出 2.在pc端用windriver向设备发出导出的命令,跟踪对应endpoint 的输出,就可以得到所有双方的过程和内容。 另外,更正一下,受到的是mode sense而不是inquiry |
|
|
地板#
发布于:2002-07-09 16:03
请告诉我你是如何得到那些又设备返回PC的数据的,你的第二个问题我看到过,但是要去查一下,请回答我的问题先:)
|
|