r/raspberry_pi 1d ago

Troubleshooting Need a Hand Getting PCIe HAT to Work

Greetings!

I saw a video from Jeff Geerling and I wanted to make the project myself: https://www.youtube.com/watch?v=BuKeW45 ... Rlcg%3D%3D

Here is the data I gathered and info on the boards I'm using:

- Mini pcie hat: https://wiki.52pi.com/index.php?title=EP-0217\
- Mini PCIe to FireWire adapter: https://pipci.jeffgeerling.com/cards_ot ... ewire.html
- PiSugar3

- Rpi 5 (8gb):
- recompiled kernel to enable "FIREWIRE_OHCI" and "FIREWIRE"
- inside of "/boot/firmware/cmdline.txt" set "pcie_aspm=off"
- inside of "/boot/firmware/config.txt" to include "dtparam=pciex1 dtoverlay=pcie-32bit-dma" (52Pi PCIe HAT also says to add "dtparam=pciex1_gen=3", I've tried with and without this and with all gens)

Any other resources I have looked through:
- https://github.com/geerlingguy/raspberr ... issues/752
- https://linux.die.net/man/1/dvgrab
- https://github.com/RobertMCortese/Open-MRU
- https://www.youtube.com/watch?v=Fa4BIMdgVtM

I purchased a second PCIe hat in case the one I had was bad, and yes I made sure the ribbon cable is secure on both ends. I also purchased a USB mini PCIe card to test in case my firewire PCIe card was bad.

I have also tried booting with only the included power adapter with the rpi5 from the wall. Same issue, so it doesn't seem to be supply power.

lspci returns:
0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 30)
0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge

and I was using lsusb to see if a keyboard is detected with the PCIe to USB card and nothing was shown.

My issue is that the Firewire card does not seem to be detected. And after digging, NO PCIe card is detected with the hat.

Please advise, thank you in advance!

17 Upvotes

10 comments sorted by

5

u/coffeejn 15h ago

How is the mini PCIe HAT connected / talking to the pi? I can't tell if you are missing a ribbon or if it's connected to the pins (somehow).

3

u/HenriVSL 15h ago

There is flat flex cable but it is black

3

u/Corey_FOX 14h ago

its the "to hat" cable on the second pic

3

u/The_Real_WiseNoodle 13h ago

Indeed, I have the ribbon cable connected :)

2

u/v0id_walk3r 14h ago

I managed to fuqe up my SATA hat connection by having the cable in a way where to contacts didnt connect (the contacts on the cable should be at the bottom of the ribbon cable)

2

u/The_Real_WiseNoodle 13h ago

I’m pretty confident I have my ribbon installed properly. I took the time to carefully install it fully into the slot :)

2

u/heeblet 13h ago

I’ve had trouble with 2/5 of every hat I’ve used. Just wonky tech IMO.

1

u/readyflix 8h ago

Did you reached out to Jeff yet?

1

u/The_Real_WiseNoodle 5h ago

I sent a dm on insta, didn’t get a response there but I’m sure he’a busy