|
threesixtyuser
|
 |
« Reply #580 on: January 13, 2010, 10:55:34 AM » |
|
Have I misread the USB socket pinout? From the datasheet - http://www.farnell.com/datasheets/29091.pdf it looks to me like pin1 is top left and then it goes clockwise and pins 1 and 2 are the rear board pins and 3 and 4 the front ones. Nope, faulty datasheet! I used the same Lumberg socket and it simply doesn't match the USB standard. Just google for "usb b" pinout and you'll find this one is wrong. I measured the pins because pin number weren't mentioned in the PCB layout of the datasheet either and came out with the following pinout (seen from te top) for the circuit board/socket: Incorrect schematic removed, refer to this post for a (at this moment) correct one
|
|
|
|
« Last Edit: January 15, 2010, 09:13:38 AM by threesixtyuser »
|
Logged
|
|
|
|
|
doveman
|
 |
« Reply #581 on: January 13, 2010, 11:16:22 AM » |
|
Thanks. It won't take much re-arranging to correct for that.
|
|
|
|
|
Logged
|
|
|
|
|
bigfish58
|
 |
« Reply #582 on: January 13, 2010, 12:17:10 PM » |
|
Can anyone confirm this is right before I go ahead and build it;  Thanks 
|
|
|
|
« Last Edit: January 13, 2010, 12:19:58 PM by bigfish58 »
|
Logged
|
|
|
|
|
Arakon
|
 |
« Reply #583 on: January 13, 2010, 01:27:21 PM » |
|
Pin 26 goes to GND on the chip, pin 27 doesn't have any connection after the resistor.
|
|
|
|
|
Logged
|
I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
|
|
|
|
bigfish58
|
 |
« Reply #584 on: January 13, 2010, 01:37:14 PM » |
|
Oops Switched them round  Thanks
|
|
|
|
|
Logged
|
|
|
|
|
bigfish58
|
 |
« Reply #585 on: January 13, 2010, 02:00:38 PM » |
|
The final PCB;  Hopefully should get this made tomorrow 
|
|
|
|
« Last Edit: January 13, 2010, 02:04:04 PM by bigfish58 »
|
Logged
|
|
|
|
|
SpikedCola
|
 |
« Reply #586 on: January 13, 2010, 02:43:14 PM » |
|
If you relocate the parts and add a ground plane, you can make the entire board single-sided, with no jumpers 
|
|
|
|
|
Logged
|
|
|
|
|
doveman
|
 |
« Reply #587 on: January 13, 2010, 03:24:21 PM » |
|
I just realised there's a couple of mistakes in my layout. Most importantly, I hadn't connected pin 19 to anything  I also don't need that diagonal lead to the - of C3 as I can just join the long vertical lead to the GND of the jumper. Sorry for the sloppy edits, but I was only using a demo of LochMaster, so I couldn't save and my PC crashed!  
|
|
|
|
|
Logged
|
|
|
|
|
doveman
|
 |
« Reply #588 on: January 13, 2010, 03:25:38 PM » |
|
bigfish58, what 8x8 connecter and lead are you using as that would make my layout somewhat tidier?
|
|
|
|
|
Logged
|
|
|
|
|
bigfish58
|
 |
« Reply #589 on: January 13, 2010, 03:33:46 PM » |
|
I'm using a 8x8 pin Header. Btw, I'm using some software called PCB Wizard - good for this kinda thing  It also converts it to a PCB for you 
|
|
|
|
|
Logged
|
|
|
|
|
doveman
|
 |
« Reply #590 on: January 13, 2010, 04:12:54 PM » |
|
Cheers for the tip but I don't design enough to justify the price.
I think I'm going to stick with the 5x5 headers and 10-core cable. The 8x8 and 16-core are quite a bit more expensive and I'm not sure there's room to mount the 8x8 connector on the Xbox.
|
|
|
|
|
Logged
|
|
|
|
|
bigfish58
|
 |
« Reply #591 on: January 13, 2010, 04:27:18 PM » |
|
Who says we have to buy it 
|
|
|
|
|
Logged
|
|
|
|
|
Arakon
|
 |
« Reply #592 on: January 13, 2010, 04:34:40 PM » |
|
Who says we'll tolerate piracy discussions? First and only warning.
|
|
|
|
|
Logged
|
I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
|
|
|
|
doveman
|
 |
« Reply #593 on: January 13, 2010, 04:48:20 PM » |
|
Is there a maximum recommended length for the LPT cable to the ART2003 programmer? I'm re-using the lead I was using for flashing the NAND, which worked most of the time (had to re-dump the odd block, but then there was the additional wiring inside the Xbox), so should that be OK?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
maximilian0017
|
 |
« Reply #595 on: January 13, 2010, 07:04:42 PM » |
|
Ok, lets settle this  Latest Pic datasheet -------------------------- 17.2.2.8 Internal Regulator An external 220 nF (±20%) capacitor is required for stability. TABLE 28-5:USB INTERNAL VOLTAGE REGULATOR SPECIFICATIONS Min 0.22 μF Typ 0.47 μF Max 12(2) μF Ceramic or other low-ESR capacitor recommended 2: This is a recommended maximum for start-up time and in-rush considerations. When the USB regulator is disabled, there is no maximum. -------------------------- Ok 220nF seems to be the minimum, but 0.47 μF is typical and should this be the best option, agreed? ( higher as 0.22 μF would probably be used id the Vusb was used for something.) 100nF is standard for decoupling per ic but i would ad a larger capacitor for the complete circuit. Would it be better to add two independant capacitors or would one larger one be enough?
|
|
|
|
|
Logged
|
|
|
|
|
SpikedCola
|
 |
« Reply #596 on: January 13, 2010, 09:13:28 PM » |
|
Correct, 0.47uF is *the* proper value.
|
|
|
|
|
Logged
|
|
|
|
|
geep6
|
 |
« Reply #597 on: January 14, 2010, 12:38:19 AM » |
|
here is the one im making here is the eagle cad file http://www.filefactory.com/f/bb3892e1da3ae838/ 
|
|
|
|
« Last Edit: January 14, 2010, 01:10:21 AM by geep6 »
|
Logged
|
|
|
|
|
threesixtyuser
|
 |
« Reply #598 on: January 14, 2010, 03:17:39 AM » |
|
Ok, lets settle this  Latest Pic datasheet -------------------------- 17.2.2.8 Internal Regulator An external 220 nF (±20%) capacitor is required for stability. TABLE 28-5:USB INTERNAL VOLTAGE REGULATOR SPECIFICATIONS Min 0.22 μF Typ 0.47 μF Max 12(2) μF Ceramic or other low-ESR capacitor recommended 2: This is a recommended maximum for start-up time and in-rush considerations. When the USB regulator is disabled, there is no maximum. -------------------------- Ok 220nF seems to be the minimum, but 0.47 μF is typical and should this be the best option, agreed? ( higher as 0.22 μF would probably be used id the Vusb was used for something.) 100nF is standard for decoupling per ic but i would ad a larger capacitor for the complete circuit. Would it be better to add two independant capacitors or would one larger one be enough? So shortly this means that the ideal conclusion for this circuit ends up in: Crystal Cap (COG/NPO): (2x C crystal) - PIC's C osc2 Cap on pin 14 (X7R/X8R): 470nf/0,47μF (or within a range of 0,22μF - 12μF) Cap on pin 19/20 (X7R/X8R): 100nF/0,1μF (or within a range of 0,1μF - 10μF) COG/NPO and X7R/X8R because X5V X7S Z5U and Y5V have too much capacitance change over temp (this doesn't mean they won't work) Correct me if I'm wrong and I'll correct my post!
|
|
|
|
« Last Edit: January 14, 2010, 10:15:59 AM by threesixtyuser »
|
Logged
|
|
|
|
|
maximilian0017
|
 |
« Reply #599 on: January 14, 2010, 04:12:50 AM » |
|
So shortly this means that the ideal conclusion for this circuit ends up in:
Looks good, The only question remaining is the single 10 μF or a 100nF and a 10 μF.
|
|
|
|
|
Logged
|
|
|
|
|