Author Topic: Battery grip pins / UART  (Read 25939 times)

kitor

  • Contributor
  • Member
  • *****
  • Posts: 193
Re: Battery grip pins / UART
« Reply #25 on: February 15, 2019, 07:41:30 AM »
In case of R, UART is hidden under thumb rubber, next to Trash button (there's a hole to access connector). Pinout:
Code: [Select]
1. 0V (not GND)
2. RXDICU (1v8)
3. TXDICU (1v8)
4. GND
5. RXDMPU (3v3)
6. TXDMPU (3v3)
7. ? (3v3)
8. ? (3v3)



For upcoming RP I expect the same.
Note that R (and RP on mentioned photo) has 2nd similar connector next to this one. No communication was visible, something tells me this may be JTAG. However not accessible without disassembling camera.
EOS R

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12466
Re: Battery grip pins / UART
« Reply #26 on: March 01, 2019, 11:34:11 AM »
5D Mark III: it's available right under the rubber cover, see these pictures from iFixit, or this from fixyourcamera.org. It's the white connector on the bottom right, with 12 pins. You don't need to disassemble the camera to access it.

Probed the pins with a FTDI RS232 dongle, at 3.3V 115200 baud with the serial terminal from Arduino, and got the following:
- TXDICU: pin 4 from top (starting with 1); didn't check the voltage, but I'd expect it to run at 1.8V
- TXDFPU: pin 6 from top (prints <FPU terminal>)
- TXDMPU: pin 10 from top, or 3 from bottom (prints MON>>> and E1OFF)
- GND: didn't check; used the metal plate at the bottom; it might be pin 8 from top, from looking at the PCB.

Offtopic: my 5D3 was defective, so I was more or less forced to take it apart. It's now working again, but I have no idea what I did to fix it (other than disassembling and reassembling it a few times, and trying to run some diagnostic routines).

edit: discussion about this defect moved over here.

kitor

  • Contributor
  • Member
  • *****
  • Posts: 193
Re: Battery grip pins / UART
« Reply #27 on: May 01, 2019, 01:00:42 PM »
For upcoming RP I expect the same.
Note that R (and RP on mentioned photo) has 2nd similar connector next to this one. No communication was visible, something tells me this may be JTAG. However not accessible without disassembling camera.

https://www.mirrorlessrumors.com/the-canon-eos-rp-disassembly-and-teardown/

After
Quote
A few more hide behind the button pad rubber which needs to peeled away, also like the EOS R.
Hole to UART connector is clearly visible. From board photos seems that only one of two connectors was left (lower one), unfortunately testpads positions suggests they may be hardly/not accessible through that hole, so proper FPC cable will be needed.
EOS R

jack001214

  • New to the forum
  • *
  • Posts: 28
  • EOS 200D
Re: Battery grip pins / UART
« Reply #28 on: June 22, 2019, 06:49:43 PM »
This UART connector is also available on the 200D(@kitor suggested)under the 'thumb resting rubber' which is very similar to the EOS R.


Unofficial Magic Lantern Discord Server : https://discord.gg/uaY8akC

jack001214

  • New to the forum
  • *
  • Posts: 28
  • EOS 200D
Re: Battery grip pins / UART
« Reply #29 on: January 31, 2020, 07:02:06 AM »
Okay so i took apart the 200D and the connector was visible. Using a arduino due and a needle i was able to get some logs from the UART.
(115200,8N1)
Unofficial Magic Lantern Discord Server : https://discord.gg/uaY8akC

coon

  • Contributor
  • New to the forum
  • *****
  • Posts: 44
Re: Battery grip pins / UART
« Reply #30 on: September 26, 2020, 12:51:01 AM »
I have taken a macro shot of EOS RPs connector, which looks very similar to R and 200D:



Pinout is unknown yet. However, I am working on a Flex PCB cable to break out the pins of the connector to 2.54mm pin headers. As soon as I have succeeded with that I will hook up a scope / logic analyzer and will post the pinout here. I expect it to be the same as on R.

Since we cannot find any information about this connector, jack001214 and me have done some assumptions about his 200Ds connector inner width. I have designed a potential cable with various pin pitches in KiCad and jack printed them out on paper in a 1:1 scale until one of them seemed to fit.

Currently we are assuming the following dimensions:
Inner width: 3.5mm
Pin pitch 0.4mm

I did a print of the final version as well. Connector of RP seems to be compatible mechanically:



The Flex PCB version of that cable is already in production at OSH Park and I assume it to arrive until 15th of October. I will then do a another macro shot to check if the cable does fit and if the pin pitch is correct. Meanwhile I am also working on a little ML dev kit circuit board where the other end of that cable can be connected to. It will provide 3 UARTs (ICU, MPU, FPU) and 1 JTAG port which can be accessed via USB then. ICU communication pins will have a proper level shift to 1.8V.

Cable in production does look like this:



The work in progress dev kit I am currently working on does look like this so far:



To be continued...
EOS RP

t3r4n

  • Contributor
  • New to the forum
  • *****
  • Posts: 49
Re: Battery grip pins / UART
« Reply #31 on: October 03, 2020, 03:57:21 PM »
Hi,
as winter comes and the "stay home and safe thing" continues I might be interested in testing that hardware thingy.


coon

  • Contributor
  • New to the forum
  • *****
  • Posts: 44
Re: Battery grip pins / UART
« Reply #32 on: October 21, 2020, 12:06:03 PM »
The cable has finally arrived this weekend:



Production quality is better than I have expected. The cable fits into the connector. Pitch of 0.4mm matches perfectly:

(For some reason the image is not displayed here, so please follow this link)

However, we were wrong about the width of 3.5mm. The cable needs to be a bit wider because it moves a bit and already lead to a tiny bend of the pins of my connector. Therefore I will produce another, little wider cable which should have a better fit.

After I've visually confirmed that the pin pitch is correct and I couldn't find any shorted pins with my multimeter I have powered the camera and did some measurements by using a multimeter and a logic analyzer:




Pinout on RP is about the same as on R and 200D:

Code: [Select]
1: (Unknown traffic on boot) (1v8)
2: Maybe RXICU (1v8)
3: TXICU (1v8)
4: GND
5: Maybe RXMPU (3v3)
6: TXMPU (3v3)
7: Unknown (3v3)
8: Unknown (3v3)

There is some traffic on pin 1 when switching on the camera but I can't make any sense of it yet by just using a logic analyzer. I'll check that again as soon as I have a better flex pcb cable and access to an analog scope.

Pins 3 and 6 have typical ICU and MPU traffic.

I have not checked pins 2 and 5, since I have only used a logic analyzer but I assume they are the same as on R and 200D and therefore RXICU and RXMPU.
Pins 7 and 8 are unknown.

Ground is also available on hot shoe mount, tripod mount and strap mounts (when black color is scraped):


EOS RP

Mike Tornado

  • New to the forum
  • *
  • Posts: 10
Re: Battery grip pins / UART
« Reply #33 on: October 21, 2020, 03:14:24 PM »
I think, the connector on board is JST 08FZC-SM1-GAN-TB

http://www.jst-mfg.com/product/detail_e.php?series=638

Pinout is same on all cameras with this connector, 5D4, 200D, R, RP, 250D, etc... now im working on 250D with 3.3 Levels, it's ok, no plain to die :)

Quality of your fpcs is pretty good, where you print it? and what about costs?
There is no knowledge that is not power

coon

  • Contributor
  • New to the forum
  • *****
  • Posts: 44
Re: Battery grip pins / UART
« Reply #34 on: October 21, 2020, 05:47:07 PM »
I have printed it on Oshpark for $6.30. You get 3 pieces per order.
EOS RP

coon

  • Contributor
  • New to the forum
  • *****
  • Posts: 44
Re: Battery grip pins / UART
« Reply #35 on: October 21, 2020, 06:01:09 PM »
I think, the connector on board is JST 08FZC-SM1-GAN-TB

http://www.jst-mfg.com/product/detail_e.php?series=638

Nice! Measurements in that paper look reasonable also the connectors footprint. Paper says that inner width is 3.6mm. That's the same value I get when comparing connector width with pin pitch on the images. I think I will try 3.6mm in the next revision then.
EOS RP

coon

  • Contributor
  • New to the forum
  • *****
  • Posts: 44
Re: Battery grip pins / UART
« Reply #36 on: November 20, 2020, 09:17:20 PM »
I have made another cable with a width of 3.65mm. This fits perfectly now and won't cause any mechanical damage to the connector anymore. Meanwhile I have designed a PCB as counter part for the cable:



It will have a quad FTDI which I will configure for 3xUART and 1xJTAG. I don't know where JTAG is yet or if it is available at all. But if we should find it we can use it that way.
I'll try to solder it this weekend.
EOS RP