summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-03 20:05:44 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-06-03 20:05:44 +0000
commit4bfe9cb6fb77dc164da8204439e89112d9ef110d (patch)
treeb8f7b119b13d5243084377e2e596ee43a2178843 /nuttx/configs/pic32-starterkit
parent1dbcadb0b760c2c0073bf2cc4eb4ba96270c7059 (diff)
downloadpx4-nuttx-4bfe9cb6fb77dc164da8204439e89112d9ef110d.tar.gz
px4-nuttx-4bfe9cb6fb77dc164da8204439e89112d9ef110d.tar.bz2
px4-nuttx-4bfe9cb6fb77dc164da8204439e89112d9ef110d.zip
PIC32 USB mass storage device works; USB and MSC are now enabled by default in the PIC32MX7 MMB configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4801 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/pic32-starterkit')
-rw-r--r--nuttx/configs/pic32-starterkit/README.txt30
1 files changed, 2 insertions, 28 deletions
diff --git a/nuttx/configs/pic32-starterkit/README.txt b/nuttx/configs/pic32-starterkit/README.txt
index bd04bc37f..4a58862f3 100644
--- a/nuttx/configs/pic32-starterkit/README.txt
+++ b/nuttx/configs/pic32-starterkit/README.txt
@@ -1171,31 +1171,5 @@ Where <subdir> is one of the following:
NOTE: This modification should be considered experimental. IN the
little testing I have done with it, it appears functional. But the
logic has not been stressed and there could still be lurking issues.
-
- Update. The following was added to the top-level TODO list:
-
- Title: PIC32 USB DRIVER DOES NOT WORK WITH MASS STORAGE CLASS
- Description: The PIC32 USB driver either crashes or hangs when used with
- the mass storage class when trying to write files to the target
- storage device. This usually works with debug on, but does not
- work with debug OFF (implying some race condition?)
-
- Here are some details of what I see in debugging:
-
- 1. The USB MSC device completes processing of a read request
- and returns the read request to the driver.
- 2. Before the MSC device can even begin the wait for the next
- driver, many packets come in at interrupt level. The MSC
- device goes to sleep (on pthread_cond_wait) with all of the
- read buffers ready (16 in my test case).
- 3. The pthread_cond_wait() does not wake up. This implies
- a problem with pthread_con_wait(?). But in other cases,
- the MSC device does wake up, but then immediately crashes
- because its stack is bad.
- 4. If I force the pthread_cond_wait to wake up (by using
- pthread_cond_timedwait instead), then the thread wakes
- up and crashes with a bad stack.
-
- So far, I have no clue why this is failing.
- Status: Open
- Priority: High
+ (There is a bug associated with this configuration listed in the
+ top-level TODO list).