/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / USB PC Host source code

Username:     
Password:     
             

Forum

# 1   2008-03-02 01:12:33 USB PC Host source code (project: ECG Primer 1.0)

jingxizhang
Member
Registered: 2007-12-13
Posts: 35

USB PC Host source code (project: ECG Primer 1.0)

Since many people downloaded my project, ECG Primer 1.0, I think some of the people may also be interested in knowing how to handle the USB ECG data on the PC host side. It is appropriate for me to put my Windows source code and project to public. I think it can be a reference for other developers who like to use the STM32 Primer USB to exchange data to the PC host. However, I don’t know how I can upload it to STM32Circle website since the contest uploading is closed. Maybe I can send it individually by email if you send a request to my email. Any suggestion?

The program uses USB HID (Human Interface Device) class. Don’t be fooled by the class name. You can use the HID class to transmit many different data stream which have nothing to do with the human interface (ECG data is one example). The program is adapted from Ashley Deakin’s article “Making USB C# friendly” (http://www.vsj.co.uk/articles/display.asp?id=600). Although it is a C# project (Visual Studio 2005), the system USB API calls are converted from C/C++. It can easily be adapted to C/C++ project.

Jingxi Zhang

Last edited by jingxizhang (2008-03-02 01:13:19)

Offline

 

# 2   2008-03-02 08:41:45 USB PC Host source code (project: ECG Primer 1.0)

tybos
Member
Registered: 2007-08-07
Posts: 22

Re: USB PC Host source code (project: ECG Primer 1.0)

I think adding a "non contest" project would do the trick : it's there.

Regards
Tybos

Offline

 

# 3   2008-03-02 21:51:02 USB PC Host source code (project: ECG Primer 1.0)

jingxizhang
Member
Registered: 2007-12-13
Posts: 35

Re: USB PC Host source code (project: ECG Primer 1.0)

Yes, I uploaded it as a non contest project "ECGMonitor".

Jingxi

Last edited by jingxizhang (2008-03-02 21:52:22)

Offline

 

# 4   2008-04-09 16:10:04 USB PC Host source code (project: ECG Primer 1.0)

englere
Member
Registered: 2007-12-11
Posts: 11

Re: USB PC Host source code (project: ECG Primer 1.0)

Thanks a lot for sharing this C# code!

The article you mentioned, “Making USB C# friendly”, has a broken download link for it's code. I emailed the editor of that site and hopefully they will fix it.

Your ECG application is amazing for this particular device. You did a great job!

Eric

Offline

 

Board footer