Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5136

Bare metal, Assembly language • usb host on raspberry pi 4

$
0
0
Hi all,

I am trying to access the usb host on rpi4 bare metal, located at base+0x980000. Does the pi use it for its usb ports or is it only connected to some gpio pin?

I tried the csud driver and a derivative of it and both return only the main hub, neither keyboards nor mice attached.

Is there any magic to making it work? I do power it on by using the mailbox and it recognises the main hub. Is there any gpio pin to set or anything like that?

EDIT: in bcm270x.dtsi I see that there is another set of registers for it at 0x006000. What are those for?

EDIT2: I found out that the old usb host is used for the usb-c port on the pi400 and for other ports one has to go through pcie, correct? Isn't there a way to route the old ones ( at least the usb2.0 ones) through the old controller?

Thanks in advance.

Statistics: Posted by yaw moo — Fri Mar 08, 2024 10:49 pm — Replies 0 — Views 25



Viewing all articles
Browse latest Browse all 5136

Trending Articles