Skip to main content
lanchon
Associate III
April 4, 2009
Question

stdio via USB virtual COM port

  • April 4, 2009
  • 48 replies
  • 8706 views
Posted on April 04, 2009 at 17:08

stdio via USB virtual COM port

    This topic has been closed for replies.

    48 replies

    killgi
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:28

    Hi, I want to control my device via Usb. And I think that library can help me. But my toolchain based on IAR EW-ARM 5.2 (on WindowXP pc) and I have problems with integration into my environtment - errors during linking process:

    Code:

    Error[Li005]: no definition for ''USB_Init'' [referenced from C:Documents and

    SettingsAlfiyaÌîè äîêóìåíòûICtest_icVCPprojSTM3210B-EVALObj

    main.o]

    Error[Li005]: no definition for ''__cs3_interrupt_vector'' [referenced from C:

    Documents and SettingsAlfiyaÌîè äîêóìåíòûICtest_icVCPproj

    STM3210B-EVALObjmain.o]

    Error[Li005]: no definition for ''NMIException'' [referenced from C:

    Documents and SettingsAlfiyaÌîè äîêóìåíòûICtest_icVCPproj

    ....

    And so on

    71 Errors

    :-[

    http://rapidshare.com/files/214108747/VCP.rar.html

    my project

    pandoraems
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:28

    well, i feel like a fool now

    the only change i made and completely forgot that i made it (that evidently caused things not to work) was commenting out that one line (mentioned by someone earlier in the thread).

    thanks for having patience with me. It works now!

    pitman
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 12:28

    The forum seems to have lost the attachment for this code.  Would it be possible to re-post it?

    andreas2
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:28

    There's a ''__cs3_interrupt_vector'' in there, which suggests that you're trying to use something for CodeSourcery's GCC in IAR, likely some startup file or something like that.

    saimaddy123
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:28

    I could have it working for STM32F107VCT6. Reference design is olimex STM32-H Posted the code here... Let me know if you guys find any problems with it...

    https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/stdio over USB serial in STM32-H107&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E&currentviews=87

    saimaddy123
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:28

    Did any one has this working on Olimex STM32-H107?

    Timo- the code is still there on first post in the thread. look into attachments above the post..

    alexborysevych9
    Associate II
    August 8, 2011
    Posted on August 08, 2011 at 12:36

    Can anyone re-attach project source code once again, pls! There are no attachments in current topic(

    giu
    Associate II
    December 6, 2011
    Posted on December 06, 2011 at 17:54

    Could you repost the file? There is no attachment available anymore

    fbl2000
    Visitor II
    December 15, 2011
    Posted on December 15, 2011 at 22:16

    Hello,

    if somebody has a working program file for the olimex STM32-P107, then please upload.

    dion
    Associate II
    March 26, 2012
    Posted on March 26, 2012 at 14:43

    Hello to all,

    is it only me who can't find the code in the attachment? it would be great if somebody could upload the code again.

    Best regards,

    Dion