Hi,
Some news on this. I have not been successful after 2 weeks of an
agent running directly on a Pi5 with access to a logic analyzer
connected to the pins. The hardware in the Pi5 is very different, and
the agent was not able to go very far. The protocol is not quite I2C,
and that confuses agents to no end. They keep trying to go with what
they know of I2C, and that does not get anywhere.
I have some failed implementations trying to use direct registers
access, the Linux I2C driver or even a software I2C implementation
using bit-banging, and none of them worked. The Linux I2C driver was
the closest, as I was able to see signals being sent out by the Pi5
using the logic analyzer, however I got no reaction from the clock.
I pushed the changes I have to my repo:
https://github.com/ghislainbourgeois/dgtpi
If anyone wants to have a go at it with an agent, there is plenty of
documentation added to it, and the structure is better to separate
hardware access from the rest of the logic. That still worked on my
Pi4, so nothing should be broken for older Pis.
I might try again if I think of something, but for now I am fresh out
of ideas of things to try. Hopefully the refactored code and
documentation can help someone think of something I didn't and move
this further.
Ghislain
> --
> You received this message because you are subscribed to the Google Groups "PicoChess" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
picochess+...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/picochess/CAE5Wduvvy8zpCzF%3DPwwAD3%2BE6WSuf4EpUPe6BLXk05SATMXM4g%40mail.gmail.com.