i got it to work! Now to understand it all! Not to mention get it working alongside a USB bootloader.
Thanks for the example. The code looks excellent. Way beyond anything I can conceive of.
cheers.
i got it to work! Now to understand it all! Not to mention get it working alongside a USB bootloader.
Thanks for the example. The code looks excellent. Way beyond anything I can conceive of.
cheers.
Yep got mine working today too!!! Woo Hoo!!
Golly gosh, loaded Mr E's sample prgram, connected the USB cable and Presto - Windows detected it and it started to work first time!!!
On the demo PCB I added a serial connector so that I can program the 18F4550 via serial ICSP, and also added a couple a RS422/232 line driver receiver so that the PC can communicate via USB to serial devices.
I'm sure I'll have more to add once I've played around with this toy some more.
Cheers
Squib.
See photo attached.
Now there's a circuit that made for the mister_e USBDEMO.
Uhhh, let me guess.
USB to DMX convertor?
<br>
DT
hey squibcakes - nice demo board..
question... you have 3 LEDs by you USB port, is one an activity indicator by chance? I want to put a activity LED on my USB, and was wondering if that is what you have there..
what do you plan on doing with that board, just learn? i considered building a special purpose mister e pcb as well.. but didnt.. instead i put most of the circuit on a protoboard from demicro.com, and the rest is on a breadboard with leader from sockets i put on the protoboard IO..
that code mister e posted is.. yeah... have you got any plans to move it into .net? i may start a seperate thread detailing my progress attempting to convert the usbdemo software from vb6 to .net... i dont know if i can do it without help...
thanks!
Robert
Hi Vacpress,
The Two LEDs are for the PWM output and the Other green led is just connected to Vdd to indicate that there is power on the board.
I built the board for two reasons -
1. Get a grip on all this USB stuff
2. Use it as a programmer for these chips.
I added a DB-9 / Max3486 chips so that I can learn a bit about serial to usb as well.
Now can someone please explain how to use Microchip's CDC? http://www.microchip.com/stellent/id...param=en022625
No plans for Dot net. We use PowerBasic around these parts.
Cheers
powerbasic. cool... i wish i wasnt addicted to the VB language...
if vb would compile for mac like powerbasic does i would be extremely happy.. in the meantime ive downloaded so much stuff in an attempt to learn cross compatability... and never really got too far, as i havent got a mac so it is no fun..
hehe... you must use power basic cuz its free... i like .net express for the same reason!
how is the usb battle going? any luck comprehending the usbdemo code? it sure looks different from my picbasic code!
currently i am trying to find the best usb bootloader, hopefully one that has code for the PC side as who knows, I may eventually develop something marketable!
carry on
-robert
Yeah your right it is a battle!
Couple of things.,... I am finding that jumping straight into USB with these 18F chips may be a bit ambitious.
These 18F series do seem to be a bit more complex than your average 16F chips.
Just getting my head around the config fuses and using mpasm as opposed to using PBP Compilier is mind boggling but I think I got it.
At this stage I'm just trying to get the 18F to flash the LEDs and stuff LOL!
On another note, I tried to compile Mr E's usbdemo.pbp file and I get all soughts of errors. Any idea why? I mean the hex file works, but cant I compile his pbp file. I want to make sure that I can get the basics working first.
I tried tiny bootloader which apparantly supports 18F4550 chips but couldnt get it to work yet.
Squib
I just ordered and received the wrong USB connector...AGAIN!!! (insert Mr_E's headbanging against desk picture here)...
Could ya take a look at www.digikey.com and match up a part number if you get a chance?
Bookmarks