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

facedancer-umass.py cannot mount in RW mode #65

Closed
Tracked by #79
JimmyTD opened this issue Jul 15, 2022 · 2 comments
Closed
Tracked by #79

facedancer-umass.py cannot mount in RW mode #65

JimmyTD opened this issue Jul 15, 2022 · 2 comments
Labels
technical support request for technical support

Comments

@JimmyTD
Copy link

JimmyTD commented Jul 15, 2022

I have made a simple vfat32 disk image that i can separately mount and write to, however when i try to use it when on my greatfetOne using facedancer-umass.py it stops on the first write command in the sequence. It pauses at the performing WRITE command below in bold, before eventually trying to mount again i believe. I have changed the mmap to prot=PROT_WRITE but this has not helped.

I am using Ubuntu 20.04
thanks

<-- handling READ (IN) 512:[00 00 00 01 b1 00 00 01 00 00 00 00 00 00 00]
<-- performing READ (10), lba 433 + 1 block(s)
<-- reading sector 433 [all zeroes]
--> responded with 512 bytes
<-- handling READ (IN) 512:[00 00 00 01 b2 00 00 01 00 00 00 00 00 00 00]
<-- performing READ (10), lba 434 + 1 block(s)
<-- reading sector 434 [all zeroes]
--> responded with 512 bytes
<-- handling READ (IN) 512:[00 00 00 01 b3 00 00 01 00 00 00 00 00 00 00]
<-- performing READ (10), lba 435 + 1 block(s)
<-- reading sector 435 [all zeroes]
--> responded with 512 bytes
--> handling WRITE (10) (OUT) 512:[00 00 00 00 00 00 00 01 00 00 00 00 00 00 00]
--> performing WRITE (10), lba 0 + 1 block(**s)
USB mass storage device received request <, standard request to device (GET_DESCRIPTOR: value=DEVICE descriptor (index=0x00), index=0, length=64)
USB mass storage device received GET_DESCRIPTOR req 1, index 0, language 0x0000, length 64
USB mass storage device received request <, standard request to device (GET_DESCRIPTOR: value=DEVICE descriptor (index=0x00), index=0, length=18)
USB mass storage device received GET_DESCRIPTOR req 1, index 0, language 0x0000, length 18
USB mass storage device received request <, standard request to device (GET_DESCRIPTOR: value=CONFIGURATION descriptor (index=0x00), index=0, length=32)
USB mass storage device received GET_DESCRIPTOR req 2, index 0, language 0x0000, length 32
USB mass storage device received request <, standard request to device (GET_DESCRIPTOR: value=STRING descriptor (index=0x03), index=409, length=255)
USB mass storage device received GET_DESCRIPTOR req 3, index 3, language 0x0409, length 255
USB mass storage device received request >, standard request to device (SET_CONFIGURATION: value=1, index=0, length=0)
USB mass storage device received SET_CONFIGURATION request
--> continue write with 31 more bytes of data

@straithe straithe added the technical support request for technical support label Jul 19, 2022
@shutingrz
Copy link
Contributor

The following issue may be helpful.

greatscottgadgets/greatfet#373 (comment)

@antoinevg
Copy link
Member

Fixed in: greatscottgadgets/greatfet#425

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

No branches or pull requests

4 participants