Skip to main content
saimaddy123
Associate III
March 9, 2011
Question

stdio over USB serial in STM32-H107

  • March 9, 2011
  • 6 replies
  • 1092 views
Posted on March 09, 2011 at 20:48

stdio over USB serial in STM32-H107

    This topic has been closed for replies.

    6 replies

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    This depends upon the tools that you are using - so you are going to have to study the manuals for your compiler, linker, etc,...

    Keil call this ''retargetting''...
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    saimaddy123
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    I think I am not doing retargetting. Instead, I am modifying the Virtual COM port demo given by ST to transfer the data to and from USB instead of transferring the data to and from USB to USART and vice versa...

    If any one has done this, can any one confirm first this works?

    saimaddy123
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    I could have it working...

    olimex STM32-H107 board -> Just connect it to the PC/laptop through mini-USB connector and open a terminal software like putty/Teraterm. You will get printfs..

    i am posting code here...It is Crossworks based one..

    saimaddy123
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:27

    Let me know if you face any problems with this... 

    BTW, the code is attached in my previous post view attachements

    swapnilkhorate
    Visitor II
    December 30, 2011
    Posted on December 30, 2011 at 13:17

    Hi sai.mmg,

    I'm using Olimex STM32-H107 board for my graduation project. I can't find any attachment to above posts that contains USB vcom source. Could you please provide pointer for it?

    dion
    Associate II
    March 26, 2012
    Posted on March 26, 2012 at 13:32

    sai.mmg could you please repost the code because unfortunately it isn't available any more. it would be a great help. thank you in advance.

    Best regards,

    Dion