Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 27th May 2008, 05:47 PM   (permalink)
Default

The USB bit wacker provides the PIC end. You can write the PC end in anything you like including C#.
3v0 is offline  
Old 28th May 2008, 09:08 AM   (permalink)
Default

The bit whacker was just good if i didn't mind using COM port emulation... but i want to make a real USB device without any king of ports emulation... And after having the PIC firmware developed i can use it with little changes on other projects as well.

I just didn't have where to start before, now i do

USB has some issues when it comes down to make programs on the PC because each USB device has an diferente USB chip and each chip needs an diferente drivers, that just does it...

I don't understand the END POINT, PID meanings, but i will try to spend more time on this, i think that USB is an great periperal interface.


__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Old 28th May 2008, 01:37 PM   (permalink)
Default

Just wanted to say that the com port emulation runs at USB speeds. The com port speed parameter is ignored.

I would guess that C# has a good support for USB. It is one of the things on the long list that I would like to futz with.

Have fun.
3v0 is offline  
Old 28th May 2008, 10:42 PM   (permalink)
Default

LOL i'm sorry to say this, but the framework it uses () has no no suport for USB... it only has an SerialPort component that allows communications with COM ports... very good component, works well with emulated ports, i had an experience with the SerialPort from an PDA's Bluetooth module... But it doesn't have USB or even LPT port support.
This is mainlly because each hardware manufactor develops an diferent driver and thus an diferent API for communicating with their devices... When someone whants to develop an program that works with an USB device on Windows he has to seek info about the USB chip used and get the API to work with... It's very boring actually, i'm bored of just think about it.
...anyhow, you can "wrap" (assign) methods (functions) headers to Dynamic Linked Libraries (DLLs) and use them as if using them with C... but it needs some work, for ex. you would need to define an WORD as being an common Int16, BYTE as a Char... etc...

The good stuff about C# is the .Net Framework, it has many things, like encryption algoritms implementations, IP stack with support for allmost everything that IP can carry...
cool UIs... fast development, integrated garbage collector... many things...

__________________
Best Regards,
Tiago Silva.

Visit my personal webpage: http://www.tiagosilva.eu/
TiagoSilva is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
May I make some friends here? Albert Su Chit-Chat 6 18th April 2007 06:25 PM
friends dhanasekar.u Feedback/Comments 0 1st July 2004 01:15 PM
hi friends imgemini General Electronics Chat 2 24th April 2003 02:37 AM
Hello Friends gemm General Electronics Chat 1 15th April 2003 01:00 PM
hello friends could anyone help me kwamesimpe Datasheet/Parts Requests 1 20th March 2003 08:13 AM



All times are GMT. The time now is 03:20 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker