This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001084] New: STM32 USB driver unplugging/replugging issue


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001084

           Summary: STM32 USB driver unplugging/replugging issue
           Product: eCos
           Version: CVS
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: NEW
          Severity: normal
          Priority: normal
         Component: USB driver
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: john@dallaway.org.uk
                CC: ecos-bugs@ecos.sourceware.org, chris@zynaptic.com,
                    ilijas@siva.com.mk
             Class: Advice Request


There appears to be a problem with configuration of the STM32 USB driver
following unplugging and reconnection of the USB cable. This is observed with
both the USB mass storage and USB serial tests against a Linux host (CentOS 5).
For example, with the USB mass storage test (usbs_test_ramdisk):

a) run the test
b) mount the disk on a remote machine
c) check reading/writing of files on the FAT12 partition OK
d) unmount
e) unplug USB cable
f) reconnect USB cable
g) observe STM32 USB driver does not reach the configured state

Note that both the USB serial tests and the USB mass storage handler
usbs_msd_handler() are designed to loop and wait for a new connection by
calling usbs_*_wait_until_configured() following disconnection.

Has anyone else observed this issue?

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]