RADDS repetier FW - can't serial connect

edited September 2018 in General
Hi guys,

I have the Repetier firmware running on my RADDS board, I can upload firmware from the arduino IDE without any problem and it uploads without issues.
When I want to serial connect my printer to my laptop with the repetier host or when I want to connect to octoprint it just won't let me. It gives connected in the gui of repetierbut it also keeps giving the waiting message, inside octoprint it gives connecting and then offline.

My serial.log of octoprint is attached.

Could you guys please help me?

Thanks in common
cheers,
Dennis
«13

Comments

  • Is your Baudrate set correct?
  • RAyWB said:
    Is your Baudrate set correct?
    It's set to:

    // ################# Misc. settings ##################

    #define BAUDRATE 115200

    Is this correct?
  • you also have to set the same baudrate in repetier host
  • edited September 2018
    did that, also for octoprint. Both won't work.
    Tried to use both microusb ports
  • Do I also need a screen to be installed? Because I don't have one.
  • if firmware is setup correct , usually not.
    your complete configuration.h would be useful
  • RAyWB said:
    if firmware is setup correct , usually not.
    your complete configuration.h would be useful
    here it is: https://pastebin.com/Eqhr0mHi


  • as you have no display you have to set

    #define FEATURE_CONTROLLER 0   (actually it´s set to7)

    rest looks ok on first sight

  • RAyWB said:
    as you have no display you have to set

    #define FEATURE_CONTROLLER 0   (actually it´s set to7)

    rest looks ok on first sight

    Thanks! Does this have any influence on the not connecting? Just don't get why it will connect with the arduino ide but not the repetier host.
  • Might be I´m wrong , as Controller 7 is the radds extention board,tot related to display.

    what´s the exact message on repetier host?

    wait? or 1 command waiting?

    if 1command waiting try to set eeprom mode to 2 and upload firmware again
  • RAyWB said:
    Might be I´m wrong , as Controller 7 is the radds extention board,tot related to display.

    what´s the exact message on repetier host?

    wait? or 1 command waiting?

    if 1command waiting try to set eeprom mode to 2 and upload firmware again
    I changed the eeprom mode to 2 in my the arduino IDE and uploaded the sketch to the printer.
    Then I fired up the repetier-host and pressed connect... I got the following:

    17:07:54.014 : No start signal detected - forcing start
    17:07:54.029 : N1 M110*34
    17:07:54.029 : N2 M115*36
    17:07:54.029 : N3 M105*36
    17:07:54.029 : N4 M114*35
    17:07:54.045 : N5 M111 S6*98
    17:07:54.045 : N6 T0*60
    17:07:54.045 : N7 M20*22
    17:07:54.045 : N8 M80*19
    17:07:54.045 : N9 M105*46
    17:07:57.091 : N10 M105*22

    :(

  • edited September 2018
    which micro usb port do you use?

    the one near power supply connector or the other one?

    what happens if you press the arduino reset button? (keep repetier host connected)
  • RAyWB said:
    which micro usb port do you use?

    the one near power supply connector or the other one?

    what happens if you press the arduino reset button? (keep repetier host connected)
    I'm using the one near the power supply connector. The reset button on the DUE or the black reset button on the radds board. because I tried that with my pi connected and that black button pressing fried it
  • so you seem to have Due Clone, not original one.
    some of them need a fix on 16U2 serial converter.
  • RAyWB said:
    so you seem to have Due Clone, not original one.
    some of them need a fix on 16U2 serial converter.
    It is an original since it came in the original arduino box from a arduino certified seller. The think is it worked before in my test setup.

    this is the due I own:
    and I was talking about that red button, which is the reset one (what I asked about)


    Now I guess you are talking about this button:

    About frying my pi, it didn't boot anymore but it showed that it was working.
  • the red one on Due is same function as black one on radds.is your radds board mounted on arduino during your test?


  • RAyWB said:
    the red one on Due is same function as black one on radds.is your radds board mounted on arduino during your test?


    Everything is mounted.

    I thought the red button was the wipe button <span>:blush:</span>

    So I attach my laptop to the due (with the radds attached)? and then hit the reset button when the repetier host is connected?
  • exactly. (laptop connected to programming port)
  • So, I tried 4 different scenarios.
    1) use the connection without the PSU turned on

    19:24:40.713 : No start signal detected - forcing start
    19:24:40.728 : N1 M110*34
    19:24:40.728 : N2 M115*36
    19:24:40.728 : N3 M105*36
    19:24:40.728 : N4 M114*35
    19:24:40.728 : N5 M111 S6*98
    19:24:40.728 : N6 T0*60
    19:24:40.728 : N7 M20*22
    19:24:40.728 : N8 M80*19
    19:24:43.836 : N9 M105*46
    19:24:46.898 : N10 M105*22

    2) Use the connection while the PSU is turned on

    19:25:26.984 : Communication timeout - reset send buffer block
    19:25:26.984 : N11 M105*23
    19:25:26.991 : N12 G1 Z1 F100*7
    19:25:26.991 : N13 G1 Z1 F100*6
    19:25:26.991 : N14 G1 Z1 F100*1
    19:25:29.866 : N15 M105*19
    19:25:32.927 : N16 M105*16
    19:25:36.012 : N17 M105*17
    19:25:39.120 : N18 M105*30

    3) Use the connection after hitting the reset button on the radds

    19:26:19.207 : Communication timeout - reset send buffer block
    19:26:19.207 : N19 M105*31
    19:26:22.282 : N20 M105*21
    19:26:25.358 : N21 M105*20
    19:26:28.465 : N22 M105*23
    19:26:31.550 : N23 M105*22
    19:26:34.610 : N24 M105*17
    19:26:37.617 : N25 M105*16
    19:26:40.693 : N26 M105*19
    19:26:43.706 : N27 M105*18

    4) Use the connection after hitting the reset button on the DUE

    19:27:23.790 : Communication timeout - reset send buffer block
    19:27:23.790 : N28 M105*29
    19:27:26.765 : N29 M105*28
    19:27:29.819 : N30 M105*20
    19:27:32.826 : N31 M105*21
    19:27:35.902 : N32 M105*22
    19:27:38.956 : N33 M105*23
    19:27:41.969 : N34 M105*16
    19:27:44.980 : N35 M105*17

    All four result in having: "1 command waiting in queue"

  • hmm...close repetier host and open arduino ide.

    select tools->serial monitor 

    is there any response?
  • It does really nothing at all. But I never had that serial monitor working.

    My settings are:

  • so I´m very sorry, no more idea from my side
  • Damn :( it's just, it worked before, like a charm but now it doesn't. So now I will unplug everything and gradually build up until something fails; which will be a labour intensive job. Thanks for all your help!
  • try to remove radds board and upload arduinos blink sketch, see if that works.

    as you wrote before you fried something ... may be eeprom on radds is broken what would result in non booting

  • RAyWB said:
    try to remove radds board and upload arduinos blink sketch, see if that works.

    as you wrote before you fried something ... may be eeprom on radds is broken what would result in non booting

    Yeah, but it was on the raspberry pi. I fried that due to the electrical spike it got.
    How can I determine if my eeprom is broken?
  • first check if due works, try blink sketch from arduino. remove radds for that test
    if test is ok , reinstall radds and load I2c scanner (https://playground.arduino.cc/Main/I2cScanner)
    then you should see eeprom address on arduinos serial monitor.
    if address is not visible change eeprom

  • RAyWB said:
    first check if due works, try blink sketch from arduino. remove radds for that test
    if test is ok , reinstall radds and load I2c scanner (https://playground.arduino.cc/Main/I2cScanner)
    then you should see eeprom address on arduinos serial monitor.
    if address is not visible change eeprom

    So the blink works just fine, but... the i2c scanner says "no devices found". So how do I change that eeprom? the interwebs aren't talking about :(
  • just to be shure : you put the radds on the due before running the i2c scanner?

  • RAyWB said:
    just to be shure : you put the radds on the due before running the i2c scanner?

    Yes, not sure if i did the thing right.
    Uploaded repetier to due, then I uploaded the i2c scanner. Was that right?
  • so you can try another thing :

    (we`re back on repetier firmware now)

    open pins.h    goto line 250  and change from : #define EEPROM_AVAILABLE 1  to
    #define EEPROM_AVAILABLE 0

    in configuration.h  set

    #define EEPROM_MODE 0

    recompile and upload , now repetier should boot again





Sign In or Register to comment.