Search found 46 matches

by etmatrix
Sat May 10, 2014 10:58 am
Forum: Development and Feedback
Topic: USB descriptors larger than 127 bytes don't work (STM32 OTG)
Replies: 17
Views: 10718

Re: USB descriptors larger than 127 bytes don't work (STM32

Thank you avrhack for your source, while I see the difference, I have found the problem. SDU2 is not initiliazed, so this make problem to usb init.
by etmatrix
Sat May 10, 2014 9:05 am
Forum: Development and Feedback
Topic: USB descriptors larger than 127 bytes don't work (STM32 OTG)
Replies: 17
Views: 10718

Re: USB descriptors larger than 127 bytes don't work (STM32

@avrhack have you an example? I tring with branch 2.6.4 but with my dualcdc example I have an error. usb 4-2.1: configuration #1 chosen from 1 choice usb 4-2.1: can't set config #1, error -110 Single CDC is working without problem. The error message is different from my previous thread http://forum....
by etmatrix
Thu May 02, 2013 5:15 pm
Forum: MIPS32 Support
Topic: Patch for USB
Replies: 7
Views: 8898

Patch for USB

Hi Dmytro Giovanni help me to resolve a problem with my project Dual USB CDC, with some patches. One patch has changed the usb_lld template and his test archictecture STM32. I replicated it on MIPS-PIC32. Could you submit in your repository? diff --git a/os/hal/platforms/MIPS-PIC32MX/usb_lld.h b/os/...
by etmatrix
Wed May 01, 2013 8:59 pm
Forum: General Support
Topic: [DONE] DualCDC associate new SerialUSBDriver
Replies: 40
Views: 20288

Re: [DONE] DualCDC associate new SerialUSBDriver

Hi Giovanni,

thank you so much, now it work very well.
2 shell is ok,
2 write command in both shell in the same instant is ok.
Tomorrow I submit your patch in usb_lld STM32 to Dmytro for MIPS-PIC32, and I post a better code example for Dual CDC,
I hope it is useful to someone.
by etmatrix
Tue Apr 30, 2013 6:01 pm
Forum: General Support
Topic: [DONE] DualCDC associate new SerialUSBDriver
Replies: 40
Views: 20288

Re: [DONE] DualCDC associate new SerialUSBDriver

In my test source code I have sduObjectInit(&SDU1); sduStart(&SDU1, &serUsbCfg); sduObjectInit(&SDU2); sduStart(&SDU2, &serUsbCfg2); On SDU1 there is attached the shell. When I open the serial port with my program (minicom for linux or hyperterminal for windows) I expect a pr...
by etmatrix
Mon Apr 29, 2013 9:00 pm
Forum: General Support
Topic: [DONE] DualCDC associate new SerialUSBDriver
Replies: 40
Views: 20288

Re: [DONE] DualCDC associate new SerialUSBDriver

Hi Giovanni,

thank you for your update. I still have problems with flush data on first serial.
I tried to disable the second serial and all work very well.
Sure with your patch serial usb work in all custom implementations.
by etmatrix
Thu Apr 25, 2013 9:08 am
Forum: STM32 Support
Topic: Higher Speed SPI Configurations
Replies: 4
Views: 6757

Re: Higher Speed SPI Configurations

inca wrote:PS: I have no idea how the SPI_CR1_BR2 bit actually affects anything. The reference manual does not add any clarity to those seemingly random possible baud rates on the left hand column above.
I had a similar problem and I wrote this post
by etmatrix
Thu Apr 25, 2013 9:00 am
Forum: General Support
Topic: [DONE] DualCDC associate new SerialUSBDriver
Replies: 40
Views: 20288

Re: [TODO] DualCDC associate new SerialUSBDriver

Hi Giovanni, new patch diff --git a/os/hal/include/serial_usb.h b/os/hal/include/serial_usb.h index cdde81e..955a641 100644 --- a/os/hal/include/serial_usb.h +++ b/os/hal/include/serial_usb.h @@ -92,6 +92,7 @@ typedef struct { * @brief USB driver to use. */ USBDriver *usbp; + uint8_t endpdata; } Ser...
by etmatrix
Tue Apr 23, 2013 9:08 pm
Forum: General Support
Topic: [DONE] DualCDC associate new SerialUSBDriver
Replies: 40
Views: 20288

Re: [TODO] DualCDC associate new SerialUSBDriver

I tried to develop a patch, very expiremental. Works but is not perfect. I added a field (Endpoint Data) in SerialUSBDriver, so endpoint data is not static. In my test I create 2 shell one for each serial, with different commands. First serial has problem in receive data, I receveid data only after ...
by etmatrix
Mon Apr 22, 2013 9:11 pm
Forum: General Support
Topic: [DONE] DualCDC associate new SerialUSBDriver
Replies: 40
Views: 20288

Re: DualCDC associate new SerialUSBDriver

I give me a first reply alone, I think I need to rewrite ./os/hal/src/serial_usb.c for manage multiple SerialUSBDriver. There are static definition of endpoints.

Go to advanced search