SEARCH
TOOLBOX
LANGUAGES
Register    Login    Forum    Search    FAQ

Board index » Electronics Projects » PIC18F USB development




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Other Microcontroller
 Post Posted: Tue May 29, 2012 2:09 pm 
Offline

Joined: Tue May 29, 2012 2:03 pm
Posts: 3
Dear Simon,

Thanks for your completely open source solution. Appreciate that.
I want to use another Micro controller (Infineon xc886) instead of which one you used.
How can I modify your project to detect my special micro controller? I need to set port (COM4) , Baud rate (115200) and Data (8 bit) also.

Looking forward to hearing from you

Regards
Bamshad


Top 
 Profile  
 
 Post subject: Re: Other Microcontroller
 Post Posted: Wed May 30, 2012 5:14 am 
Offline

Joined: Thu Apr 01, 2010 6:23 am
Posts: 893
Hi

Unfortunately that's not something I can really assist you with as I have no experience with your microcontroller.

The host C# software is fairly universal and should work with any Generic HID USB firmware, however you will need to either source or develop the firmware yourself to provide the same functionality as the example for the PIC18F or AVR supplied on this site.

/Simon


Top 
 Profile  
 
 Post subject: Re: Other Microcontroller
 Post Posted: Thu May 31, 2012 1:54 pm 
Offline

Joined: Tue May 29, 2012 2:03 pm
Posts: 3
Dear Simon,

Thanks for your reply.
As I understood in "USB Generic HID Reference Application" project, you can communicate with your hand made PCB. So you implemented also a firmware which connect your PCB to your reference application.
In my project I have a programmed PCB and also a firmware (like a driver for a hardware) which already has installed on my laptop. Now, I can communicate with my programmed PCB via Tera Term (http://ttssh2.sourceforge.jp/) software.
I tried to just replace the VID and PID of my special PCB on your reference application to communicate with my PCB. But it did not work. The question is: which part of your project do I need change for communicating with my own PCB? How can I use the installed driver (firmware) in your reference application?

Regards
Bamshad


Top 
 Profile  
 
 Post subject: Re: Other Microcontroller
 Post Posted: Thu May 31, 2012 7:11 pm 
Offline

Joined: Thu Apr 01, 2010 6:23 am
Posts: 893
If you are communicating with your board using Tera Term (which is a serial terminal) then your board is running the USB CDC protocol which emulates serial com ports using USB. The project on this site is about USB Generic HID protocol which is a completely different thing and does not provide a simulated serial port.

If serial support is what you want you have the wrong project... You will need to find a USB CDC firmware for your board which will do what you require.


Top 
 Profile  
 
 Post subject: Re: Other Microcontroller
 Post Posted: Fri Jun 08, 2012 9:50 am 
Offline

Joined: Tue May 29, 2012 2:03 pm
Posts: 3
Thanks Simon, It works ;)


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 5 posts ] 

Board index » Electronics Projects » PIC18F USB development


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Translated by MaĆ«l Soucaze © 2009 phpBB.fr