Search found 13 matches

by dsigma
Tue Feb 25, 2014 11:56 pm
Forum: User Projects
Topic: STM32 Time capture with channel 3
Replies: 2
Views: 2518

Re: STM32 Time capture with channel 3

I ran into the same limitation, but had a more complicated set of requirements. I've implemented a TIMCAP driver that can handle captures for all 4 channels (or 2 channels for timers that only support 2 channels), and call respective callbacks when each of the respective channels does a capture. You...
by dsigma
Mon Dec 30, 2013 7:08 pm
Forum: User Projects
Topic: [TODO] HAL for Watchdog timer (for STM32F10x)
Replies: 6
Views: 4542

Re: [TODO] HAL for Watchdog timer (for STM32F10x)

cool! thanks! :)
by dsigma
Sun Dec 29, 2013 11:55 pm
Forum: User Projects
Topic: [TODO] HAL for Watchdog timer (for STM32F10x)
Replies: 6
Views: 4542

Re: HAL for Watchdog timer (for STM32F10x)

Hi Giovanni, I was wondering if you were planning on integrating this at any point in time? This would be very useful...

Best Regards,
-D
by dsigma
Mon Dec 02, 2013 11:16 pm
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

Quick update: I tracked down the read performance issue to something that was specific to one of the SD cards that I was testing. Swapping SD cards resolved the issue. I also did some re-factoring to the error handling behaviors. I'm now getting about 2.0 megs/second read and write performance to a ...
by dsigma
Wed Nov 27, 2013 1:09 am
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

I finally got around to digging into the details of this. To summarize: Fixed: * There was an un-supported command (SCSI_CMD_READ_FORMAT_CAPACITY) that was being sent by Windows 7 (but not XP or Mac OS or Linux) that was putting the firmware into a state where it would indefinitely wait for an ISR. ...
by dsigma
Tue Nov 12, 2013 1:35 am
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

Hi, Just wanted to provide a quick update. I spent some time last week looking at this and found that the service thread was waiting for an interrupt right after the "Inquiry" step of the MSD init process. I'm not sure the exact cause of this. It may be timing related, or a combination of ...
by dsigma
Wed Oct 30, 2013 1:34 am
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

Hmmm, a few thoughts.... In regards to the USB errors, I suspect the same thing that Geovani suspects. There is likely something in either the MSD or CDC driver that is not responding at all to the host request type, or that is stalling instead of failing on the request. I would suspect the MSD driv...
by dsigma
Mon Oct 28, 2013 10:02 pm
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

Update: I've updated the MSD code, merged with the latest upstream/master Chibios code and pushed to my repo....
by dsigma
Mon Oct 28, 2013 7:00 pm
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

Hi, In regards to the MSD taking 1-2 minutes to show up in the host OS, I did experience this issue early on, and after some investigation I found that it was due to long command processing times (by long, it was like on the order of 10's of milliseconds), combined with the fact that windows needs t...
by dsigma
Thu Feb 28, 2013 10:29 pm
Forum: Development and Feedback
Topic: STM32F107 OTG Mass Storage ultra slow
Replies: 24
Views: 11210

Re: STM32F107 OTG Mass Storage ultra slow

Just wanted to provide a quick update and some interesting stats. I've got the critical error handling logic integrated into the mass storage driver, and I moved the mass storage driver into the OS's 'hal' directory and modified it to use the normal #define techniques for enabling and disabling func...

Go to advanced search