Unable to create raw terminal in USB CDC Example

Sysprogs forums Forums VisualGDB Unable to create raw terminal in USB CDC Example

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8389
    Ken Macfarlane
    Participant

    I have built & run the basic USB CDC device sample based on the ST USB library.

    I’ve installed the ST VCP USB CDC driver (http://www.st.com/web/en/catalog/tools/PF257938) – v1.4

    The STM32F7 Discovery board USB FS port appears as Com 13 when I plug it in, & I can initially connect to it using Teraterm (haven’t got to the stage of worrying about baud rate). I suspect that its meant to autobaud.

    I don’t get the option to create a raw terminal – the options not there under VGDB project properties. The example given in  http://visualgdb.com/tutorials/arm/stm32/usb/ has more tabs than I see. I am running a recent VGDB v(5.1 build 712).

    As soon as I start to download the demo to debug it, the USB detaches, so when I get to the first VCP_write call,

    VCP_write(“USB Test\r\n”, 10);

    the program disappears off into the USB stack & I never get past repeated calls to this line.

    Here’s a link to a screen shot:

    https://www.dropbox.com/s/iybfvtoan7fi4kq/Screenshot%202016-06-10%2015.53.42.png?dl=0

     

    This seems somewhat similar to

    STM32 USB CDC Demo is missing an interrupt handler

    which is the closest topic that I could find.

     

     

     

    #8390
    support
    Keymaster

    Hi,

    Most likely when you stop at a breakpoint your PC is still sending some requests to the board and once it times out (as it is stopped in the debugger), the PC assumes it has disconnected. Can you confirm that it does not disappear when you don’t set any breakpoints?

    #8411
    Ken Macfarlane
    Participant

    Yes, that’s exactly what happens. However, there is no Raw Terminal tab in the project props.

    I tried creating the same but on an F407VG (my target, not an ST eval board), but there, the F4 doesn’t even appear in device manager.  I was careful to make a USB_FS example. I’m pretty sure that the USB is a FS slave.

     

    #8412
    support
    Keymaster

    The Raw Terminal feature is only available in the Custom edition and higher. If you want to upgrade, please simply contact our sales.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.