Menu Content/Inhalt
Home arrow Guides arrow Hackaday Competition Entry

Main Menu

Home
- - - - - - -
Guides
- - - - - - -
Gallery
Contact Us
Poll
Google

RSS Feed

Hackaday Competition Entry
Written by nuxie1   
Monday, 18 December 2006
Article Index
Hackaday Competition Entry
USB Bootloader
3D Renders
Completed DIP version
Completed SMD version
Summary
Modifications
Comments

I hope you've enjoyed reading this guide. If you have any questions, please feel free to leave a comment, or contact me:
 
 
 

Comments

Written by Winston on 2007-01-04 07:43:27
that usb is impressive. gotta luv microchips.
Very nice!
Written by JP on 2006-12-30 09:31:10
I like how simple and useful your little project is. I think I may just have to build one for myself!
Weasle
Written by weldo on 2007-01-01 23:30:02
I don't have the skill set to build one but I'd like to buy one.

Written by nuxie1 on 2007-01-02 01:58:54
You could get the DIP board made at somewhere like BatchPCB which should only cost $15 or so and solder on the parts. I may look into selling both the bare board and fully made up board if there is enough interest to warrant it.
Hole Drilling
Written by Dave on 2007-01-05 11:55:38
What method or tool do you use to drill the PC B holes in the DIP version?
You beat me to it
Written by Matthew Nuzum on 2007-01-05 14:06:53
I spent a few hours the week after christmas laying out the board and etching it, with my goal being exactly the same as yours... I wanted to mount 18F2450 smt chips. I was going to make three boards. Since you've already tested yours and you know it works, I'm ditching mine and building the one you made. 
 
Thanks!
RE: Hole Drilling
Written by nuxie1 on 2007-01-05 18:27:41
Hi Dave, 
I just used a dremel with a dremel drill press I borrowed from a friend. 
Matthew, let me know how you go!
A premade would definitely be useful..
Written by Anders Frihagen on 2007-01-06 06:08:58
As I am a lazy sod without any soldering skills, and too much money.. :-)
Re: Anders
Written by nuxie1 on 2007-01-06 06:16:55
I might get a dozen boards made up and look to sell them in the next month or so. I may change some more parts to SMD like the resistors and capacitors to make it a bit more compact. 
Cheers.

Written by matt on 2007-03-03 10:33:24
sweet man, good job. kudos on the HAD swag you won, also. express pcb as well as batch pcb are both good for prototype small + cheap runs.
interested in an smd board
Written by Will on 2007-03-03 13:52:24
I'll be interested in a smd board, would be great if it's completely smd based. Also, can you post a picture of the board with a commonly known object (coin, etc.) so we can tell the size? Your comment about it being a business card intrigued me. 
 
Thanks, and congrats.
Extended revision
Written by Jonathan on 2007-03-04 06:52:18
I'd be really interested in seeing an upgraded board with the extra modifications listed, Ethernet and the LCD sound good.
Arduino
Written by nebulous on 2007-03-05 09:29:48
This could be the Arduino of PIC based devices. If it could sell assembled for < $31 that is.

Written by nuxie1 on 2007-03-06 09:27:40
Will, I'll try and work on a fully SMD board, although the crystal, headers and possibly buttons would need holes. It can be made as small as 61mmx50mm or 2.4"x2", but can be spaced out to a normal business card width with extra space for contact details etc. 
 
Jonathan, I am wanting to get Ethernet working, however it would need to run at 3.3V which would require two power supplies etc.
confirming 1 thing
Written by Mark on 2007-03-09 21:18:11
Okay, so, just to confirm... If I have no access at all to any PIC programmer, I can still get the 18F2450 totally up and running using the modified USB bootloader? or, All I need is this very circuit and my computer w/ the files, right? 
 
If so, I'm going to have to build myself one of these. 
 
Thanks.
RE: Mark
Written by nuxie1 on 2007-03-09 21:19:31
Unfortunately you will need a PIC Programmer to program it for the first time with the bootloader software. 
 
I am looking at getting some made, just been busy with things.
oh, sorry for my n00bness w/ PICs... but
Written by Mark on 2007-03-10 00:56:33
Earlier I found this site and got quite excited. 
 
http://products.foxdelta.com/art2003.htm 
 
Would this amazingly simple design get the bootloader software on the PIC for the first time? 
 
Thanks for the help, nuxie1

Written by nuxie1 on 2007-03-10 01:33:17
It should, but not having used it I cannot be certain. There are quite a lot of cheap PIC Programmer designs out there, I use a JDM based serial one from Sparkfun.
JDM
Written by Merc on 2007-03-19 22:43:00
The JDM programmers I see on Sparkfun, Is that all I would need to program this board say if I build one myself or would I need one of those expensive ones I see? 
 
Thanks.

Written by nuxie1 on 2007-03-20 00:20:44
Yep, I use the JDM serial programmer from Sparkfun and it works fine.
which programming software ?
Written by smiki on 2007-03-27 14:59:17
hello  
which programming sotware did you used to program the PIC for the first time?  
ICProg doesn't seems to list the 18F2450 as a supported one. 
It would be a great idea to put together a few lines about the first time programming process. For us, "PIC-noobs" :) 
 
thanx 
(I'm eager to get running this cool design of yours)
Programming Software
Written by nuxie1 on 2007-03-27 20:56:04
I used PICPgm, or WinPIC. I forget which one now. I'll add it to the article, thanks.
Circuit Setup
Written by Anthony on 2007-03-28 23:50:08
Hey, 
 
I liked the simplicity of your design so I tired to follow your plan, but have run into a stop. 
 
I loaded the bootloader hex file you provided to the pic18f2550 with a programmer, and have reproduced the circuit as in the schematic on a bread board, but cannot seem to get the boot loader to recognize with the microchip software. 
 
Wondering if you had any pointers. Great post. 
 
~Anthony
bootloader problem
Written by smiki on 2007-03-30 09:28:48
I have the same problem.  
I completed the board with the SOIC 18f2550.  
 
I'm using a JDM2 programmer 
 
I had no luck with the picpgm programmer since it did not recognized the PIC, hence refused to dowload the bootloader code into pic (despite the fact that picpgm claims to support 18f2550) 
I tried to use 16f84A to verify that the problem is not in the programmer, and the pic was detected ok and programmed as well. 
 
than I moved to winpic. I couldn't program the board with this soft either until I supplied the 18f2550.dev file from MPLAB. Other pic's got programmed even without appropriate .dev files. 
Nevertheless finally it miraculously went through. 
 
Then I installed the microchip custom driver and the pdfsusb programm.Then I plugged the board to USB, pressed both buttons, released the reset followed by the user button, but the OS only reported an "unknown device". Tried to force the driver update and pointed it to the mchpcdc.inf but windows is refusing it comlaining taht: "the specified location does not contain inforamtion about you hardware" 
 
And there's my stop.  
Do anybody have some idea what could be the problem ? (Is the bootloader.hex ok? does it refers to the correct pin for firmware programming button? I'm quite new to pic programming so i cannot verify this)  
 
thanx
RE: Smiki / Bootloader
Written by nuxie1 on 2007-03-30 20:19:20
Did you create the board using the Eagle files supplied? I'm sorry to say but I believe my uploaded files have a mistake shorting out the power and ground circuit: 
http://people.ubuntu.com/~mnuzum/short.png 
I had a lot of revisions floating around on my computer and must have uploaded the wrong one, sorry about that. I will upload the revised files in the next few hours. 
If this is not the problem, please email me and I'll try and help you further.
problem solved
Written by smiki on 2007-04-04 05:29:20
I did created the board from the eagle files, but I had no short circuit on it, so that was not the problem.  
 
I tried a couple of other programmers listen at: http://pic18fusb.online.fr/wiki/wikka.php?wakka=ToolsAndProgrammers 
But that wasn't the problem either. BTW the WinPic800 (it's not the WinPic program!!) turned out to be the best for me (however not the fastest).  
 
Then I made another board (this time the DIP version). And that behaved even more ridiculously than the SOIC version. 
 
At this part I was pulling my hair out :)) 
 
The problem is the bypass capacitor for the USB (C_USB between Vusb and Vss). 
220nF is not enough!! I raised it to 470nF and immediatly windows called out that a new hardware was found (PIC16f4550 family device) and also showed up at the listbox in the picdem tool. 
 
The UBW hardware also uses 470nF as I found out afterwards.  
 
Please mention this issue somewhere in the article. And also please add the following link to the bootloader instructions, since I found this explanation more useful than the UBW instructions.  
http://pic18fusb.online.fr/wiki/wikka.php?wakka=UsbBootload 
3D Rendres
Written by Domingos Gonçalves on 2007-04-05 09:22:05
which software you use to create 3D Renders images? 
Thank you.

Written by nuxie1 on 2007-04-05 10:48:55
Smiki, Microchip specifies 220nF in the datasheet, and I have used that successfully a number of times. Perhaps a higher capacitance is needed in some cases. Glad you got it working however. 
 
And Domingos, Eagle3D is used for the renders.
neat like the UBW like the eagle files B
Written by josheeg on 2007-07-05 14:52:54
neat like the UBW like the eagle files Bill O materials is nice with supplier I am adding USART usb converter no USB on laptop. maby a usb converter and programmer also.

Write Comment:
Name:
Title:
Comment:

Security image required for posting
Enter above 4 letters:

Powered by AkoComment 2.0 and SecurityImage 3.0.0rc2


Last Updated ( Wednesday, 28 March 2007 )
 
< Prev
designed by www.madeyourweb.com