Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 8th February 2008, 12:02 AM   (permalink)
Default

Hi, guys!

I've made a Junebug (just the programmer & debugger part) on a test board. Used a modified JDM to write PK2V021000.hex in the pic18f2550, but I still get "USB device not recognized" message when I plug it on my PC..

Measured 5V on U5V, and 3.3V over the 0.47uF capacitor. If I press the bootloader switch the red led blinks: I guess the oscillator is running, so is the firmware inside. Maybe some configuration bit was set wrong (but how!)?

I overchecked the connexions and it appears to be ok.

What should I do? :|
the_scavenger is offline  
Old 8th February 2008, 12:48 AM   (permalink)
Default

On an early version of the schematic the USB D+ and D- lines were swapped. Try reversing them. They are correct on the PCB and the current Junebug manual.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 8th February 2008 at 12:51 AM.
blueroomelectronics is online now  
Old 9th February 2008, 01:16 AM   (permalink)
Default

Yes, you're right, the D+ and D- pins were swapped (because I didnt't verify this in the pic's datasheet..). Thanks, Bill!

My Junebug it's not the best looking one, but is small and it fits in a 7x4 (cm) plastic box. Now it seems to work fine (it passed the troubleshooting test in Pickit2). I just need to build a test board for it (maybe Unicorn ?).

I'll attach a picture of it (while it is connected and running ):

the_scavenger is offline  
Old 9th February 2008, 07:39 PM   (permalink)
Default

Very nice, looks terrific. The Unicorn is a good choice if you want to work with LCDs or GLCDs.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 14th February 2008, 01:58 AM   (permalink)
Smile My PicKit2 part of the Junebug

This is my Junebug version of the PicKit2.

MyPicKit2.jpg


It is built on stripboard so it is kinda big but it works.
__________________
August Treubig
AG5AT
August Treubig is offline  
Old 14th February 2008, 02:31 AM   (permalink)
Default

Nice job August and the scavenger. You should also consider adding (or building seperately) the tutor part. It makes trying out ideas so much quicker.

Mike.
Pommie is offline  
Old 14th February 2008, 03:37 AM   (permalink)
Cool Junebug meets Nigel

Pommie,

Actually I built a Nigel sort of version that has a 18F1320 on it. I still need to build the I/O boards for it yet.
__________________
August Treubig
AG5AT
August Treubig is offline  
Old 14th February 2008, 04:15 AM   (permalink)
Default

Looks pretty neat August, my first prototype was point to point using 30guage Kynar.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 14th February 2008, 10:18 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Looks pretty neat August, my first prototype was point to point using 30guage Kynar.
Looks nice from the top Bill, how about a picture of the bottom?
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 14th February 2008, 02:31 PM   (permalink)
Default

Hmm, it's pretty natty but it works. Do you really want to see it?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 14th February 2008, 02:39 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Hmm, it's pretty natty but it works. Do you really want to see it?
I feel, Hand wiring will work reasonably well at these frequencies. Only when a data or port bus wiring is involved, that too at higher speeds are involved, perhaps path lengths matter. thus there also hand wiring might work, compared to difficulties of artwork routing restrictions.
At the outset, the component overlay has been really nice.
__________________
Regards,
Sarma.
mvs sarma is offline  
Old 14th February 2008, 03:12 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Hmm, it's pretty natty but it works. Do you really want to see it?
Yes, be interesting to see - bear in mind a lot of mainframe computers were all hand wired.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 11th May 2008, 05:00 PM   (permalink)
Default

Just received my Junebug kit yesterday. One minor question on assembly.

Most pictures I have seen show L1 as a green large bodied inductor. resistor like in appearance.

I think I've narrowed down the list of possible suspects in my kit to a large black bodied inductor looks like a huge diode without a polarity stripe.

There is also a smaller one that I am assuming is FB1.

Brian
parts-man73 is offline  
Old 11th May 2008, 05:33 PM   (permalink)
Default

The big one is the inductor, the small one is FB1 the ferrite bead.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 11th May 2008, 06:41 PM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
The big one is the inductor, the small one is FB1 the ferrite bead.
Thank you for verifying my suspicions. I'd hate to have it soldered together to find out it was the other way round.

Now I have to break out the maginifying glass to figure out which transistors are which!
parts-man73 is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Junebug kit ready, (PICkit2 & tutor) blueroomelectronics Micro Controllers 37 28th October 2007 03:47 AM
Assembly? Marks256 Micro Controllers 43 28th July 2006 04:45 PM
Assembly compiler Thunderchild Micro Controllers 4 12th March 2006 02:25 PM
Learning Assembly Programming Language Johnson777717 Micro Controllers 4 22nd March 2004 03:00 PM
Assembly Language Question Jeggyman General Electronics Chat 6 30th January 2004 10:54 PM



All times are GMT. The time now is 08:12 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker