Home › Forums › snickerdoodle Baseboards › • piSmasher › Intermittent problem with i2c and PiSmasher

Tagged: 

Viewing 5 reply threads
  • Author
    Posts
    • phdussud
      Participant
      Post count: 5

      Hello,

      I am trying to use the PYNQ 2.5 image but for 90% of the boots, I get the following error:

      [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
      [    6.576273] cdns-i2c e0005000.i2c: timeout waiting on completion
      [    6.584444] usb251xb 0-002c: configuring block 0 failed: -110
      [    6.590847] usb251xb 0-002c: Failed to connect hub (-110)
      [  OK  ] Started Create Volatile Files and Directories.

      i2cdetect -r -y 0 fails with the same message and I can’t initialize the HDMI receiver.

      The same image boots without problems when the PiSmasher isn’t connected (using breaky breaky instead).

      My board is a snickerdoodle black V4.1

      I believe that I don’t have this problem with the r3p0 image. At least not often enough that I have noticed.

      I suspect that a chip isn’t initialized properly on boot and jams the i2c bus. However, I can’t tell for sure…

      Thanks, Patrick

    • Ryan Cousins
      Keymaster
      Post count: 343

      Hi Patrick,

      Apologies for the delay. That’s not an issue we’ve seen and unfortunately this was an image provided to us so we don’t have intimate knowledge as to the boot sequences, timing, etc. Perhaps @bfrantz can comment (if he’s still checking the forum) as he drove the majority of the effort around creating the PYNQ image.

      In the meantime, have you tried checking the pynq.io forums to see if others are having similar issues on different platforms?

      -RC

    • phdussud
      Participant
      Post count: 5

      Ryan, thank you for the suggestion. I went to the pynq.io forum and looked for i2c issues. They are all about i2c on the PL side…

      Meanwhile I found out a work around: Boot the board, then press the reset button on the board. At this point it seems to boot reliably with the i2c bus in the right state.

      Patrick

    • Ryan Cousins
      Keymaster
      Post count: 343

      Thanks for the update, Patrick. That’s an “interesting” workaround…thanks for sharing and sorry for not being able to provide a better answer—but at least it works!

      -Ryan

    • briggtrim
      Participant
      Post count: 1

      Hi…What is the Slave? is it a Hardware gadget? Is you are meddling with the Bus you should clear the non reacting slave. This is typically done by sending 9 timekeepers then a stop bit.

    • phdussud
      Participant
      Post count: 5

      I am not adding any hardware beyond the PiSmasher board. By looking at the schematics I see a USB hub and the TX/RX HDMI chips being slaves through level shifters. During boot, the OS is trying to access the USB hub and fails but I don’t think I  have control over this unless I produce my own OS image.

Viewing 5 reply threads
  • You must be logged in to reply to this topic.