We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am working on Nucleo F103RBVT6 development board, In pack example, I didn't have USB device HID, MSD codes for F103RBVT6. I am unable to check the USB device functionality in the board. I need to develop the USB Custom class in Development board. Once I verified the HID or MSD then I will start custom class implementation.
Is there a USB custom class example project or HID/MSD for F103RBVT6?
Regards R.Dhanapal
The Nucleo board, and the STM32 chip on it, are ST products - not Keil.
So ST's site would be the place to be looking.
Start here: www.st.com/.../nucleo-f103rb.html for the board
And here: www.st.com/.../stm32f103rb.html for the chip
Hello Dhanapal,
It looks like this is the board you are talking about:
www.st.com/.../nucleo-f103rb.html
There are CMSIS-PACK examples for the STM32F103RB. Only certain devices have middleware drivers provided by their device manufactuerer. Fortunately, tis device is one of those:
http://www.keil.com/support/docs/3707.htm
To see a USB example for a STM32F103RB:
Open the Pack installer, C:\Keil_v5\uv4\PackInstaller.exe
- On the top left of the window, for "Search", type "STM32F103RB" - the list below gets filtered. - Select the device (entry with a green icon) from the list below – on the right side of the dialog updates with Software Packs relevant to this device - For "Packs", install the Keil:STM32f1xx_DFP pack (if necessary) - On the top right of the screen, select the yellow "Examples" tab. - On the "USB Device HID(MCBSTM32E)" row, click the "copy" button - a adialog pops up. - Pick a directory, click both the check boxes, and press OK - a new Keil µVision session opens with the example. - Build the project, Connect a USB cable to the board and start the debugger
======
See also - the Getting Started guide at http://www.keil.com/gsg - Learning page http://www.keil.com/learn - Creating applications at http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm
I see you asked about the custom class. You can read more about it here:
http://www.keil.com/pack/doc/mw/USB/html/_custom_class.html
There is example code in here:
www.keil.com/.../group__usbd__class_functions.html
I hope that helps
Hi Kevin,
The example is available for STM32F103ZG not for STM32F103RB If I change the target to STM32F103RB in Uvision then it is not working.
Regards R.Dhanapal.
that's entirely uninformative!
www.catb.org/.../smart-questions.html
What debugging / testing / investigation have you done?
Have you checked with the ST documentation to see what are the differences between STM32F103ZG and STM32F103RB ?
What, exactly, is "not working" ?
Have you looked on the ST pages for alternative examples?