CubeOrange debug connector

Howdy. I have a Black Magic debugging dongle which I want to use with my Rev B CubeOrange. I note that there are two 6-pin connectors on my CubeOrange which will accept the Black Magic connector. I understand that one of these two connectors is for the FMU and the other is for the I/O coprocessor.

My question is: which connector is which? I do not see any indications in the silk screen or anywhere else letting me know which is which. I suspect the FMU connector is close to the USB connector…but I am not certain.

Thanks for any and all help.

bob

Hi Bob,

On the CubeOrange Rev B, the two 6-pin SWD/debug headers are indeed separated between the FMU (STM32H7) and the IO MCU.

From the board layout/orientation commonly used on CubeOrange, the debug connector closest to the USB port is usually the FMU debug port, while the second connector is generally for the IO coprocessor.

That said, I would still recommend verifying with continuity or the schematic before connecting, especially when using a Black Magic Probe, since some revisions/layouts may differ slightly.

An easy confirmation method is:

  • FMU SWD lines will route to the STM32H7 MCU.

  • IO SWD lines will route to the STM32F1/F3 IO processor.

You can also identify the FMU port by probing SWCLK/SWDIO continuity to the H7 pins.

Wish you all the best.

Regards,

Dr. Fares Aldhaheri

Dr. Aldhaberi,

Thanks much for that. I have been unable to find Rev B schematics for the CubeOrange. That makes use of the suggested confirmation method a bit problematic ;->.

I am unsure where the H7 pins are; I do not see labels on the silkscreen indicating such pins (it’s possible I am missing the obvious).

Bob

Hah! Found the relevant diagram here on this website: https://discuss.cubepilot.org/uploads/default/original/2X/6/6aac6152cc70173816182fa4ab4399631ccfd187.jpeg

My suspicions were correct: the FMU connector is the one closest to the USB connector.

Excellent — glad you were able to confirm it successfully.

And thank you as well for sharing the diagram link back into the thread. That will definitely help others working with Rev B units and external debug probes in the future.

Best of luck with the debugging work.

Dr. Fares Al-Dhaheri

Al-Etihad Industrials, UAE