Help Wanted: Schematic for BP5 JLink debug adapter?

Ok, will send out the gerbers tomorrow and get it going.

1 Like

Iā€™m definitely interested.

1 Like

Hi Ian ā€¦ easy questions / low priority

  1. Are these boards going to be populated?

    • If not, can you add a ā€œpartsā€ option corresponding to the schematicā€™s BOM? (With machined pins for debug connector, of course!)
  2. Similarly, are the protoboards shipping w/o the SMD parts populated?

    • If so, having a ā€œpartsā€ option there would also be appreciated.
Why? ...

I tinker, but I donā€™t often use SMD parts. I imagine the cost youā€™d have to charge for a small bag of parts would be less than Iā€™d have to pay for shipping a single SMD resistor from Digikey / Mouser / Arrow / etc. I mean, for the ā€œFix Your Sixā€ thing, I bought 50x of the resistor packs, and the parts cost was still dwarfed by the shipping charge. :slight_smile:

2 Likes

Itā€™s not much, the cost will be in doing low volume. The assembly cost at low volume is 18rmb ($3) a board.

1 Like

Can someone with a JLink please confirm if the orientation of the keyed connector is correct here? It might depend on the specific IDC cable as well. I could just populate the first prototype with plain pin header so it works either way.

To more thoroughly answer your questions:

Are these boards going to be populated?

Yes, this board will be populated.

Similarly, are the protoboards shipping w/o the SMD parts populated?

I wasnā€™t planning to populate them or include parts. I assumed that folks who buy prototyping boards have part books/bin/etc. It would be a negligible cost to add a 0805 R/C/D, but is that useful or just more e-waste?

2 Likes

As always, I will defer to your knowledge of the market. I only share my personal desire for things. Glad the JLink adapter will be populated!

  1. Yes, I can confirm that a standard 20-pin IDC connector is used with the JLink, and that the orientation you used works well. The cable will lie flat in the following configuration:

    +-------+              
    |       |              /---+----USB-----+
USB | JLINK |=====IDC =====|x  |            |
    |       |              |x  | BusPirate  |
    +-------+              \---+            |
                               |            |
                               +-||||||||||-+

Iā€™d really prefer an IDC header. The key just removes one more source of user error, and I need all the help I can get. :wink:

1 Like

Parts are sourced. Weā€™re doing three prototypes, which have a 2x10p pin header instead of a keyed IDC connector. Iā€™ll send one each to @henrygab and @kd7eir to confirm it works, and also the direction&pinout for the IDC connector.

An issue I didnā€™t consider: the 3P milled pin header has about 3mm of stand-off from the board.

  • Bottom type (what I have) has an additional metal stand under the plastic material
  • Top type (on order) does not have the additional stand and is about 3mm tall. This is what we sourced for the board.

This is an example with the extra metal stands. Iā€™m not sure what to do about this. It kind of circles back to needing a cradle and eventually changing the programming connector type.

The issue is that the BP now is not parallel to the adapter board below, right?

Would the contact be reliable if it were, or is the contact of these kind of milled pin headers not good enough in your testing?

Maybe a shim under the screw on the right side in your photo could offset the height of these standoffs on the connector and make the BP parallel again.

1 Like

This is to demonstrate that the bus pirate will not sit flat on the adapter PCB. The contacts I assume will wear faster but the connections should be okay for some K of insertions. I use a tiny PCB and do this all the time, but itā€™s not the most elegant solution.

I think for a debug and development setup it doesnā€™t need to look perfectly polished. Also it doesnā€™t really matter if you have to replace the connectors every few thousand insertions. If you do that much plugging and unplugging, then you are developing heavily, so investing a few cents and minutes to solder on new connectors isnā€™t that much of an issue.

But you want it to always make a reliable connection when the connectors are not yet worn out. Because connection issues can be a huge time waste - you suspect some issue in the code, debug back and forth, scratch your head while reviewing the code and after many hours you find out it was just an unreliable connector.

1 Like

Maybe not the right place to post this, butā€¦

I decided to do a little light soldering this afternoon and make a more stable RTT adapter for the BP5 and Picoprobe.

I had a stack of small perfboard around. I soldered 3 of the milled breadboard pins into it. Then I soldered a 3x2 header on it (I only had two row header laying around, lol). Soldered some bodge/wirewrap wire between the milled pins and the header. Added some rubber feet to the bottom of the whole thing to keep it in place on my desk.

Once I put the BP on the top, I realized I had the same stability kind of problem and tried putting 3 of the rubber feet on the top side. Success! Itā€™s not pretty, but it works well and is stable :slight_smile:

Of course itā€™s a lot more simple with a picoprobe.

3 Likes

Have had connection problems twice in the last year and a half that turned out to be frayed wires I soldered that didnā€™t have temperature proof coating. I only use silicone coated wire now.

3 Likes

I see a V2 case! Thatā€™s the one I think we should go with. Glad it arrived.

3 Likes

The case is really nice :slightly_smiling_face:

3 Likes

OK, so we just need to add 3mm of EVA foam, or other slightly compressible support, to avoid stress on the connector. That is doable.

For next Gen BP, consider the debug port having an insertion motion parallel to the insertion motion of the USB-C connection. This would greatly simplify creating a dock with debug port.

2 Likes

BTW, for the style on the bottom ā€¦ I think the larger diameter metal part is not supposed to sit on top of the PCB, but rather is intended to be embedded in the PCB. See also the counterpart:

Iā€™m just guessing, but maybe that thicker post provides a stronger solder joint, and thus allows it to take more stress? In other words, I would guess that the slightly conical side of the male pins is the mating side, and the thick posts need a larger plated through hole for proper attachment? (then again, Iā€™m just guessing ā€¦ anyone know for certain?)

1 Like

@jin was also curious and asked the factory the difference between with and without the ā€œstepā€ and they said they donā€™t know :slight_smile: Itā€™s all just standardized tooling that factories buy in because thatā€™s what already exists in the market.

Yesterday when we discussed this part I thought it might be interesting to do a very occasional video documentary digging into the history and basis for a single part. What standards are common in milled and stamped header and why? Why do all the SOT23-5 LDO vregs have similar pinouts and what is the origin. Sort of sourcing archeology .