2012-05-21 06:16 AM
Hi everyone!
I'm new to the STM32 world, so I'm looking for some concrete example that USB OTG application with a STM32 uC.Did someone have sucess with a similar project that can be shared here?If however you can advise me to guide me, I would be thankful.2012-06-27 12:39 PM
I have got the ZIP file you cited - (it's
http://www.4shared.com/zip/afqd65Wh/BDK_Download1.html
)I used LeJOS language to communicate the Lego NXT to the PC;There were two programs: A java applications running on the NXT and another Java app running in the PC;I have ran two programs: 1º - Download data into the NXT flash memory; 2º - Data exchange between NXT and PC;The results are in thishttp://www.4shared.com/folder/C6_tm4p_/USB_TRACER_RESULTADOS.html
. (Google Drive)The NXT uses Fantom Driver for USB comm. Can I modify the STM32 MSD driver taking base on the Fantom? Could it be useful? (however, I still have no technical info about it)Thank you very much, Tsuneo!2012-06-27 05:52 PM
Inside the NXTGCCECLIPSE-project files I found the file
d_usb.c
. This file contains several USB device info; Tsuneo, could you see this file? I think it can be useful. It's attached. Thank you. ________________ Attachments : d_usb.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0b0&d=%2Fa%2F0X0000000baz%2FhPRbZ4fXsibu2DL4SXSfFS72sJZD1r5ohYgD0R__nxc&asPdf=false2012-07-31 07:53 AM
[replicating this
https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/ST USB Host releases - Generic Driver;&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=84
- looking for some help]Using BulkSendData I get a packet in the device side - I think it worked fine;
Using BulkReceiveData it doesn't work - However I have no ideia why the error occours. When I stop the degug, the program stop on interrupts routines, at the usb_hcd_int.c file. Is the host expecting something from the device? Can't the device response the host? I'm investigating about this currently.
If someone has some idea, please help me.
2013-07-26 05:56 PM
stm32_nxt, were you ever able to get anywhere with this issue of yours? I am also working on a similar usb otg issue as you are. I am trying to communicate to a device via USB using a Bulk interface also.
2015-03-12 07:48 AM
2015-03-12 08:44 AM
Hi i wanted to ask you if you have an idea about the porting netmf : i want to change the Oberon micro-system drivers(like usb, spi and i2c) from direct register access to hal layer to make it more portable but when i try to open the Oberon Library it is open with Block note, so i can find the declaration and the reference of many functions
can you please help me to know how to open Oberon project with Keil
and how can i migrate to the hal layer
Best regards,
Rihab.
Remember to top post your responses here.