English

Information about the "debug connector" on the FP2

Tagging people here I know work(ed) at Fairphone and may have information about that @keesj @Douwe @jftr @dirkv @MaartenD @borjan

I have several questions about the “debug connector” on the Fairphone 2.

  1. Is this picture correct with the labels I added? (the slide I got this picture from wasn’t very precise what the debug connector was) it was very wrong, but click here if you really want to see it

  2. I have disassembled my phone (which was really easy, thank you :slight_smile: ) and want to connect a cable to it to get the kernel messages out of the phone. Quote from keesj from the IRC (a while back, when I asked about last_kmsg):

< keesj> I normally use a serial

So that’s basically all the information I have about that port…

And one last question (only applies when I get some information about that debug port^^): Can I buy just the outer plastic shell, so basically the “Core module” without everything you can screw out? Like that (except the antenna):

6 Likes

Hey, I’m not an expert either but I can give some clarification concerning what you labeled “special points for flashing?”:

They are what Kees referred to when he talked about using a serial connection. You can solder Rx and Tx to two of these connectors and attach a serial to it. That way you can connect a serial console to the phone without relying on screen for input and output. Unfortunately I have never done this myself and do not know what points to connect to, nor what baudrate to use, etc.

Concerning the expansion port, I believe you are aware of https://github.com/dirkvl/FairPhone/tree/master/Electronics

Have fun hacking!

4 Likes

Hi Luca -

See the layout for the USB test points and the debug connector on the FP2 main PCBA:

The debug UART console is routed both to two test points and to the B2B connector. I have included the reference of the connector and the matching plug. You can order those at Digikey (and you can get just a few, not a full reel of 6k units).

The USB test points are simply pads that expose the USB1 port that is going down the length of the PCB to the bottom modular connector.

This is used to access the USB port after assembly of the PCBAs in the set of flashing, test and calibration stations. The fixtures simply have a set of spring contacts to touch those pads for accessing the USB port. See picture here of the first station after the PCB panels have been assembled, de-paneled, and inspected - that’s the flashing station where we program the content of the eMMC:

We happen to have some stock of the chassis. Send me a private message and we’ll try to sort you out.

(FYI - the small PCB with the RF cable routed on the side is only the antenna feed board, the actual antennas are all on the chassis).

Cheers

Olivier

7 Likes
  1. Thank you very much :grinning:!
  2. EDIT: I have ordered the part from the latter link. The JAE WP7-P020VA1-R6000 is out of stock on digikey and on mouser… Any idea where to get it else from? EDIT: Apparently the Rxxxx number is the Reel Part Number (see footnote) number so that part is also the correct one, right?
  3. So when then have that “plug”, I solder 3 cables to it, like that and plug it into the counterpart on the phone?

    And then probably plug it into something like this (I have that cable at home; used it for un-bricking my belkin router)?

footnote (copied from http://www.mouser.com/ds/2/206/B-0228-2E_WP7-706678.pdf):

Note 1) An embossed tape reel contains 6,000 pieces of standard porduct, or 300 pieces of inspection jig product.

2 Likes

OKAY.
So I have finally found time and enough reason to cut a hole into the spare chassis thing @Olivier_Hebert sent me (thanks again :slight_smile: )


sorry for the potato photo, it was taken by an iPod touch

Then I held a creation out of paper clips and male->female jumper wires (as I didn’t have any others :frowning: ) to the pad which is labeled as MSM UART TX in @Olivier_Hebert s schematic. I connected this cabel monstrosity to a ‘USB to TTL UART Converter’ (converter ground->usb ground; converter RX->fairphone TX) and entered sudo screen /dev/ttyUSB0 115200 into my terminal. During the bootup process I received messages like this:

I still have to find a better solution than using both of my hands to hold cables very steady on the correct position to get messages but it’s the first step :slight_smile:

6 Likes

I would suggest using “Fädeldraht” (:de:, I dont’t know the english word, but the device it comes out is obviously called wiring pencil), it’s thin copper wire isolated with a temperature-sensitive isolation. When you solder it, the isolation burns away. It’s how we fix small bugs on our PCBs at work. :wink:

If you solder with Fädeldraht on the pads at the PCB and some kind of header (2.54 mm) on the other side, you can easily connect your serial cable for debugging. :wink:
You can glue that header somewhere with hot glue.

1 Like

Quick question: Are the other pins on the b2b connector used or can I ‘solder them together’? That connector is so small but I don’t want to risk a short circuit.

2 Likes

They are definitely used.

Shorting them would probably result in a very unresponsive device.

2 Likes

Too bad. Thanks for the info :slight_smile:

1 Like

Is this 3.3V RS232 or 5V?

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.