Skip to content

usb_bulk_send() ERROR -7: Operation timed out on Raspberry PI 3 B+ #162

Open
@studiofuga

Description

@studiofuga

When trying to boot from FEL mode on a perfectly working setup (cable and board) from a Raspberry PI 3B+ board, timeout happen:


pi@raspberrypi:~/sunxi-tools-1 $ ./sunxi-fel  ver
AWUSBFEX soc=00001667(A33) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000

pi@raspberrypi:~/sunxi-tools-1 $ ./sunxi-fel -v uboot u-boot-sunxi-with-spl.bin 
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
=> Executing the SPL... done.
Writing image "U-Boot 2018.05 for sunxi board", 549287 bytes @ 0x4A000000.
usb_bulk_send() ERROR -7: Operation timed out

According to this thread, the issue may be related to the maximum transfert block size. Indeed changing from 512kib to 128kib fixes the issue.


pi@raspberrypi:~/sunxi-tools-1 $ ./sunxi-fel -v uboot u-boot-sunxi-with-spl.bin 
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
=> Executing the SPL... done.
Writing image "U-Boot 2018.05 for sunxi board", 549287 bytes @ 0x4A000000.
Starting U-Boot (0x4A000000).
pi@raspberrypi:~/sunxi-tools-1 $ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions