STM32 Discovery USB development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-13 1:52 AM
Hello everybody,
I want to start the USB development for the Discovery board, basically to send data and download data from a PC. Could you please tell me which library can I use for that?
Thanks in advance,
#stm32-discovery-usb- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-13 12:42 PM
I want to start the USB development for the Discovery board, basically to send data and download data from a PC. Could you please tell me which library can I use for that?
Most of us use the ST-LINK USB connection, either with the ST-LINK Utility or the debug environment within the tool chain's IDE via a DLL/driver provided by ST, to download code/data onto the part. As far as I'm aware, the STM32F100 does not support USB. I have not observed the SWD debug communication channel being viable.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-13 2:24 PM
yes, you are right. I spent the whole day and found that there is no way to program stm32 discovery via USB. What it is weird is that there are two controllers onto the stm32 discovery: stm32f100 and stm32f103, the later much powerful than the first of course, but used only for downloading data from a pc and for debugging. stm32f103 has USB as one of its peripherals able to be programmed. So, I need to look for something else. Thanks a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-13 5:49 PM
The STM32F103C8T6 part provides the ST-LINK JTAG/SWD function to program the STM32F100 part via USB.
While it's technically feasible to program the 103, your ability to escape the part is rather limited.Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-15 11:08 PM
''What it is weird is that there are two controllers onto the stm32 discovery''
Actually, that's not weird at all! If you open up a Keil uLink (JTAG adaptor) you will see that it contains a microcontroller to do its stuff. In the Discovery board, ST have simply implemented the JTAG adaptor on the board.A complex system designed from scratch never works and cannot be patched up to make it work.
