Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Virtual PIC18F4550 USB communication (Proteus & MPLAB)

Status
Not open for further replies.

Eimantas

Newbie level 3
Newbie level 3
Joined
Mar 4, 2011
Messages
4
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Activity points
1,312
Hi,
I have been doing virtual PIC18F4550 USB communication project using MPLAB and Proteus. I managed to connect virtual Pic board using Proteus VSM debugger in MPLAB (Win XP makes "USB connected" sound). I installed required drivers so I can see that PIC18F4550 is connected.
My questions would be:
o If I virtual can send some data to HyperTerminal?
o If yes, how?
o Or should I buy components, build the board and then try to send data?
thx.

p.s. I attached my MPLAB project and Proteus file with board schematics in .rar file.
**broken link removed**
 

Attachments

  • Pic18 tut.rar
    186.1 KB · Views: 276

I found out that USB simulation is very hard. Simulation software would have to simulate USB host device, simulate enumeration process and even would have to
allow device driver installation - it would be very similar to whole
virtual PC machine. Other approach would be to create some kind of
universal virtual device and it would not be easy either.
For simulation purposes use UART as communication interface rather
than USB. UART is easy to simulate, USB is not.
 

Eimantas can u please tell me how to use your code to send a value to PC via USB
 


    V

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top