• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Duet 3 6hc and raspberry pi 3 B+ DCS not started

Scheduled Pinned Locked Moved Solved
Duet Web Control
4
47
2.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Macgyver1307
    last edited by 24 May 2020, 14:09

    @bearer said in Duet 3 6hc and raspberry pi 3 B+ DCS not started:

    should

    pi@duet3:~ $ sudo ~/spidev-test/spidev_test -v -s 8000000 -D /dev/spidev1.2
    spi mode: 0x0
    bits per word: 8
    max speed: 8000000 Hz (8000 KHz)
    TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....▒..................▒.
    RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................
    pi@duet3:~ $
    ? 1 Reply Last reply 24 May 2020, 14:24 Reply Quote 0
    • ?
      A Former User @Macgyver1307
      last edited by A Former User 24 May 2020, 14:24

      @Macgyver1307 I'm not sure what would cause that to fail on both SPI ports, which is why I dragged out the logic analyzer and double checked the test setup, and its does work both with the software and the hardware.

      It could be there is something wrong with the Raspberry Pi image, but given you used the DuetPi image that is pre-configured it shouldn't matter.

      If the rPi4 doesn't work come Tuesday, you're best bet is probably to either download the DuetPi image afresh - or you can get a jump on it now if you can find the inclination to do so.

      pi@duet3:~ $ sudo ~/spidev-test/spidev_test -v -s 8000000 -D /dev/spidev1.2
      spi mode: 0x0
      bits per word: 8
      max speed: 8000000 Hz (8000 KHz)
      TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....▒..................▒.
      RX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D | ......@....▒..................▒.
      pi@duet3:~ $

      2020-05-24 16_45_12-Logic 2 [Logic Pro 8 - Connected].png
      IMG_20200524_164430925.jpg

      1 Reply Last reply Reply Quote 0
      • undefined
        Macgyver1307
        last edited by 24 May 2020, 14:39

        yeah crazy it's not working. the sd card is the one from the duet 3 box I got last week. my duet 3 is working in standalone mode for the moment. this pi had a gpio header touch screen the image before I used it as a duet pi. the question is do I wait till Tuesday with the new PI 4 and just try the sd card in it or do I flash a new complete fresh start on it?

        ? 1 Reply Last reply 24 May 2020, 14:48 Reply Quote 0
        • ?
          A Former User @Macgyver1307
          last edited by A Former User 24 May 2020, 14:48

          @Macgyver1307 hard to say, it won't take long to test the same card, and it'll give you an indication as to weather or not the issue is the Pi or the card - on the other hand, you could get the same answer by just formatting the card and getting a fresh image. I guess it comes down to what you feel like spending your time on

          1 Reply Last reply Reply Quote 0
          • undefined
            Macgyver1307
            last edited by 27 May 2020, 17:35

            New pi came in today and I reloaded a fresh image and the issue is resolved ! Thank you for your help !

            ? 1 Reply Last reply 27 May 2020, 17:38 Reply Quote 0
            • ?
              A Former User @Macgyver1307
              last edited by 27 May 2020, 17:38

              @Macgyver1307 good to hear it got sorted! curious; did you try without a fresh image, or try the fresh image in the old rPi? (i.e was the problem the pi?)

              1 Reply Last reply Reply Quote 0
              • undefined
                Macgyver1307
                last edited by 27 May 2020, 19:37

                so the problem was the image > I redid the pi3 with a fresh image also and the pins worked. but I'm running the pi 4 on my duet 3!

                ? 1 Reply Last reply 27 May 2020, 19:59 Reply Quote 0
                • ?
                  A Former User @Macgyver1307
                  last edited by 27 May 2020, 19:59

                  hm, thats interesting - you wouldn't happen to have the old card or have made an image of it? would love to dissect it to try and figure out what went wrong.

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Macgyver1307
                    last edited by 28 May 2020, 02:35

                    Sorry . But I formatted it to put the new image when I got the new pi working . I thought that I had some time and could do the same flash as the new card and pi and it’s crazy it worked . I did use the pi lite image this time compared to the one that was shipped with the board. Maybe that was it ?

                    ? 1 Reply Last reply 28 May 2020, 04:36 Reply Quote 0
                    • ?
                      A Former User @Macgyver1307
                      last edited by 28 May 2020, 04:36

                      lite or not shouldn't make a difference, they do have different dates for some reason - but both images seems to have functional SPI.

                      oh well, no point in beating a dead horse.

                      1 Reply Last reply Reply Quote 0
                      47 out of 47
                      • First post
                        47/47
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA