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.

USB - First try - PIC 18F4550

Status
Not open for further replies.

atferrari

Full Member level 4
Full Member level 4
Joined
Jun 29, 2004
Messages
237
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,298
Location
Buenos Aires - Argentina
Activity points
1,996
18f4550 read

PIC 18F4550.

After downloading the Brad Minch's LAB1 software for USB, and having read a lot, I have some questions:

a) What is the software I should run in the PC (much like Hyperterminal when using old RS-232)? Is it anything like that included with Windows XP?

b) LEDs blinking on the PIC side, and on the PC's screen I should see what?

c) I managed to understand he uses PORTB to get additional info on the progress but I can not see how to make of good use of this software for a simple application sending just plain text to PC (debugging purposes and eventual final use with my board) and receiving from time to time simple ASCII codes from the PC.

d) It seems that even Jan Axelson have been using some basic software initially supplied by Microchip (is it USBCH9.ASM or something like that?) I couldn't find it after searching for long time.

Sorry, is my first time with USB and I work in Assembler. And yes, I have read USB rev 2.0.

Help appreciated.
 

18f4550+usb+asm

well Isuppose U have read the 18f4550 datasheet... at least the USB part and the system clock part... well anyway its too darky even there... anyway.. the Jan Axelson USB COMPLETE has many info already (but with older pic... as far i remember...)!!! so..
a) no... there are some USB debuggers... but they work with the USB Driver you are using...
b) first- you should check if the pic has been detected nd installed correctly... so. checl your device manager (control panel>system>hardware>device manager...) when you connect your PIC it should be also there...
c)sorry haven seen exactly your lab1 soft...
d) i think it uses the older pic an pìc16c... or so...

I recommend download the USB framework and all the info at microchip

Microchip Full-Speed USB Framework v2.1
**broken link removed**

and all the docs by there.. here in the framework (that works with the MCC18 and you can download the student version at microchip too) has many examples that work with the FS USB Demo board...(witch you should download and use the circuit there) the first and most easy is the mouse example... you should see the mouse movement.. and the new mouse HID in the device manager...

any way, a good start...
(the framework and the Demo board work nicely and you should check all the features in these examples... even the driver part. and the PC application part (i.e. the bootloader...))
 

pic18f fs usb hid download

Hi,
I have a complete working USB starting point, including source code for PIC18F4550 and PC CDC VB6.
If you want I could sent it, or upload (I have not yet uploaded and do not know how to)
With this you can test your PC software the connection and the PIC firmware.

Added after 18 minutes:

I found out how to upload, so :D

Here is the starting point for new users of PIC18F usb
Included are source codes (which you can change to your needs) and a helpfile
 
18f4550 max speed usb

Ok. Downloaded. I will revert with the outcome.

It will take time. I have not so much available.

Thanks.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top