Now there's a circuit that made for the mister_e USBDEMO.
Uhhh, let me guess.
USB to DMX convertor?
<br>
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
mmm, i suspect those usuals
1. upgrade your MPASM version
2. comment all default PBP config fuses in the 18F4550.inc file, AND if you don't have PBP 2.47, modify the LIST line to.....
once done, if everything is in the same directory, it MUST work!3Code:LIST p = 18F4450, r = dec, w = -311, w = -230, f = inhx32
for the Tiny loader, i know there's some DEFINEs to add... wich? i don't know, i don't and won't use it.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
HI Mr E,
Yep tried that but still get those errors BTW I have Mpasm 5.03, PBP 2.46.
Anyways after searching the posts the only thing that works is this (I think maybe one of your ideas)....
Don't use any preset fuses in the main code, and edit them manually in the .inc file. This for sure is working!!!
I have all the fuses setting in this file, and just REM out the ones I dont use.
OK after all that, I now have some simple programs working on the demo PCB at last including my serial coms!!!
Squib
interesting. So i can't confirm if it's a MPASM problem (5.06 now) or a PBP V2.46 problem.
I know they fixed the config fuse problem in 2.47, but can't say if they have only edit the .INC file (LIST line) or they also change something else.
Anyways, if it's working![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks