This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need USB Device HID, Mass Storage Example for Nucleo F103RBT6

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

Parents
  • 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

Reply
  • 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

Children