Rambo not flashing/ error message

New Home Forum Mostly Printed CNC – MPCNC Troubleshooting – MPCNC Rambo not flashing/ error message

This topic contains 16 replies, has 4 voices, and was last updated by  Colby 2 weeks, 2 days ago.

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #114418

    Colby
    Participant

    Hello,

    I am very new to the MPCNC community, so I don’t know much, but I have run into a problem. Whenever I try to use my board in Repetier, it gives me a kill() error caused by the kill button. I have tried to flash the board (I got the Rambo 1.4 kit), following the instruction in this discussion: https://www.v1engineering.com/forum/topic/kill-caused-by-kill-button-pin/ but I am getting this error message on the Arduino software (note that I have followed the instructions step-by-step):

    sketch\src\lcd\dogm\u8g_dev_ssd1306_sh1106_128x64_I2C.cpp: In function ‘uint8_t u8g_dev_sh1106_128x64_2x_2_wire_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_ssd1306_sh1106_128x64_I2C.cpp:117:29: error: ‘U8G_SPI_CLK_CYCLE_300NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_ssd1306_sh1106_128x64_I2C.cpp: In function ‘uint8_t u8g_dev_ssd1306_128x64_2x_2_wire_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_ssd1306_sh1106_128x64_I2C.cpp:185:29: error: ‘U8G_SPI_CLK_CYCLE_300NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_st7920_128x64_HAL.cpp: In function ‘uint8_t u8g_dev_st7920_128x64_HAL_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_st7920_128x64_HAL.cpp:111:29: error: ‘U8G_SPI_CLK_CYCLE_400NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_400NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_st7920_128x64_HAL.cpp: In function ‘uint8_t u8g_dev_st7920_128x64_HAL_4x_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_st7920_128x64_HAL.cpp:154:29: error: ‘U8G_SPI_CLK_CYCLE_400NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_400NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function ‘int lcd_put_wchar_max(uint32_t, pixel_len_t)’:

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:36:24: error: ‘class U8GLIB_ST7920_128X64_RRD’ has no member named ‘getPrintCol’; did you mean ‘setPrintPos’?

    unsigned int x = u8g.getPrintCol(),

    ^~~~~~~~~~~

    setPrintPos

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:39:23: error: ‘ret’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^~~

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:39:23: note: suggested alternative: ‘reti’

    u8g.setPrintPos(x + ret, y);

    ^~~

    reti

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:39:28: error: ‘y’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^

    sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function ‘int lcd_put_u8str_max(const char*, pixel_len_t)’:

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:45:24: error: ‘class U8GLIB_ST7920_128X64_RRD’ has no member named ‘getPrintCol’; did you mean ‘setPrintPos’?

    unsigned int x = u8g.getPrintCol(),

    ^~~~~~~~~~~

    setPrintPos

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:48:23: error: ‘ret’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^~~

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:48:23: note: suggested alternative: ‘reti’

    u8g.setPrintPos(x + ret, y);

    ^~~

    reti

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:48:28: error: ‘y’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^

    sketch\src\lcd\dogm\lcdprint_u8g.cpp: In function ‘int lcd_put_u8str_max_P(const char*, pixel_len_t)’:

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:53:24: error: ‘class U8GLIB_ST7920_128X64_RRD’ has no member named ‘getPrintCol’; did you mean ‘setPrintPos’?

    unsigned int x = u8g.getPrintCol(),

    ^~~~~~~~~~~

    setPrintPos

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:56:23: error: ‘ret’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^~~

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:56:23: note: suggested alternative: ‘reti’

    u8g.setPrintPos(x + ret, y);

    ^~~

    reti

    sketch\src\lcd\dogm\lcdprint_u8g.cpp:56:28: error: ‘y’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^

    sketch\src\lcd\dogm\u8g_dev_uc1701_mini12864_HAL.cpp: In function ‘uint8_t u8g_dev_uc1701_mini12864_HAL_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_uc1701_mini12864_HAL.cpp:115:29: error: ‘U8G_SPI_CLK_CYCLE_300NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_uc1701_mini12864_HAL.cpp: In function ‘uint8_t u8g_dev_uc1701_mini12864_HAL_2x_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_uc1701_mini12864_HAL.cpp:144:29: error: ‘U8G_SPI_CLK_CYCLE_300NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_st7565_64128n_HAL.cpp: In function ‘uint8_t u8g_dev_st7565_64128n_HAL_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_st7565_64128n_HAL.cpp:154:29: error: ‘U8G_SPI_CLK_CYCLE_400NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_400NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_st7565_64128n_HAL.cpp: In function ‘uint8_t u8g_dev_st7565_64128n_HAL_2x_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_st7565_64128n_HAL.cpp:188:29: error: ‘U8G_SPI_CLK_CYCLE_400NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_400NS);

    ^~~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_tft_320x240_upscale_from_128x64.cpp: In function ‘uint8_t u8g_dev_tft_320x240_upscale_from_128x64_fn(u8g_t*, u8g_dev_t*, uint8_t, void*)’:

    sketch\src\lcd\dogm\u8g_dev_tft_320x240_upscale_from_128x64.cpp:130:42: error: ‘U8G_SPI_CLK_CYCLE_NONE’ was not declared in this scope

    dev->com_fn(u8g, U8G_COM_MSG_INIT, U8G_SPI_CLK_CYCLE_NONE, &lcd_id);

    ^~~~~~~~~~~~~~~~~~~~~~

    sketch\src\lcd\dogm\u8g_dev_tft_320x240_upscale_from_128x64.cpp:130:42: note: suggested alternative: ‘U8G_I2C_ERR_NONE’

    dev->com_fn(u8g, U8G_COM_MSG_INIT, U8G_SPI_CLK_CYCLE_NONE, &lcd_id);

    ^~~~~~~~~~~~~~~~~~~~~~

    U8G_I2C_ERR_NONE

    Multiple libraries were found for “U8glib.h”
    Used: C:\Users\colby\AppData\Local\Arduino15\packages\rambo\hardware\avr\1.0.1\libraries\U8glib
    Multiple libraries were found for “SPI.h”
    Used: C:\Program
    exit status 1
    Error compiling for board RAMBo.

     

    I have tried everything, downloading different Arduino versions, and even tried on an apple machine (currently on windows 10). What can I do from here?

    • This topic was modified 1 month ago by  Colby.
    #114491

    Ryan
    Keymaster

    Your flashing issues are do to missing the ug8lib, there are step by step instructions on the firmware page showing how to get that involved, make sure you are using the full arduino not the windows app version.

    #115038

    Colby
    Participant

    I got the flashing all done, and I even commented out the “#define KILL_PIN 80” but I’m still getting that killed error. Is there anything I can do, or shall I buy a new LCD?

    #115045

    Jamie
    Participant

    Do you get the error when the lcd is unplugged? If so then a new lcd wont help. Also, are you sure you’re disabling the kill pin in the right place? It’s the only way that kill message can be generated so you might not have modified the right location.

    #115051

    Colby
    Participant

    I tried running it without the lcd, and got the same error. I went under Marlin\src\pins\pins_RAMBO.h, and commented out line 167, and still got the same error message. Is there another place to comment out?

    #115061

    Jamie
    Participant

    Hmm, that sounds right but I am at a loss for what else to try. In any case the board shouldn’t be creating that error in the first place. Disabling the pin is just a workaround.

    Can you post a picture of your rambo board in case there is something else unusual?

    #115063

    Colby
    Participant

    Here is my board:

    You can’t see the screen, but it has the “killed” error message on it

    • This reply was modified 3 weeks, 6 days ago by  Colby.
    Attachments:
    #115065

    Colby
    Participant

    I know I have the LCD cable turned around in the photo, because I was testing it. (I flipped it back)

    #115067

    Jamie
    Participant

    I’m sorry, I’m afraid I am out of ideas.  I’m really not seeing how disabling the pin doesn’t disable the kill function.  You could re-download the firmware from https://github.com/Allted/Marlin/tree/MPCNC_Rambo_T8_16T_LCD and try again, first without the fix and again with the fix.  If the results are no different then I am stumped.

    #115068

    Colby
    Participant

    I have reflashed it multiple times to no avail, so I guess I just have to wait this one out. Ill keep testing and update on my progress

    If anyone has any ideas at all, I would love to know them. Any advice would be greatly appreciated.

    • This reply was modified 3 weeks, 6 days ago by  Colby.
    #115120

    Ryan
    Keymaster

    Depending on if you bought it from me, and on how long you have had it we can swap it out.

    #115134

    Colby
    Participant

    I received the kit on July 10 from your website

    I live in the Bay Area, maybe I could swing by and drop off the board? (If a replacement is available)

    • This reply was modified 3 weeks, 5 days ago by  Colby.
    • This reply was modified 3 weeks, 5 days ago by  Colby.
    #115155

    Ryan
    Keymaster

    Whatever works for you. I am in Tracy. If you come out here I can flash and test, and swap on the spot if it does not work.

    #115160

    Colby
    Participant

    Sounds good! Would this weekend work for you?

    Thanks everyone for all of your help!

    • This reply was modified 3 weeks, 5 days ago by  Colby.
    #115328

    Colby
    Participant

    RESOLVED!

    Hey all,

    I decided to try and re flash one last time on my mac book pro (from a windows machine) and it ACTUALLY WORKED! There are 3 libraries that pop ut when you type in U8glib. I used the one by Oliver, called U8glib (version 1.19,1), and not the U8g2 or LCDMenuLib. IT ended up flashing fine with no error message.

    Thank you guys for all your help. I’m sure ill have many more questions, but for now, I’m going to celebrate my success 🙂

    • This reply was modified 2 weeks, 2 days ago by  Colby.
    1 user thanked author for this post.
    #116363

    Keith Brown
    Participant

    what did you do to get the firmware to flash im running into the same issue

    #116482

    Colby
    Participant

    There are 3 libraries that pop ut when you type in U8glib. Make sure to use the one by Oliver, called U8glib (version 1.19,1), and not the U8g2 or LCDMenuLib.

    1 user thanked author for this post.
Viewing 17 posts - 1 through 17 (of 17 total)

You must be logged in to reply to this topic.