Preflashed Firmware Version?

New Home Forum Mostly Printed CNC – MPCNC Troubleshooting – MPCNC Preflashed Firmware Version?

This topic contains 20 replies, has 5 voices, and was last updated by  Chad Cledgett 6 days, 12 hours ago.

Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #92899

    Chad Cledgett
    Participant

    Hey, how’s it goin? I ordered a RAMBo with a dual endstops kit, but it seems this board came preflashed for series connections… When I “move axis” it only moves one motor, and the “extruder” moves the other very slowly… Is there any way to find out for sure? Anyway, I’ve been trying to reflash it, and not sure if I have conflicting versions of software or what, but my Arduino compiler came up with a very large list of errors when I tried to upload, and I feel very stuck… Here is the list of errors:

    Arduino: 1.8.8 (Windows 8), Board: “RAMBo”

    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\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);

    ^

    exit status 1
    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’

    unsigned int x = u8g.getPrintCol(),

    ^

    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: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’

    unsigned int x = u8g.getPrintCol(),

    ^

    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: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’

    unsigned int x = u8g.getPrintCol(),

    ^

    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:28: error: ‘y’ was not declared in this scope

    u8g.setPrintPos(x + ret, y);

    ^

    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_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:114: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:143:29: error: ‘U8G_SPI_CLK_CYCLE_300NS’ was not declared in this scope

    u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS);

    ^

    In file included from sketch\src\lcd\dogm\ultralcd_DOGM.cpp:62:0:

    sketch\src\lcd\dogm\fontdata/fontdata_ISO10646_1.h:35:47: error: expected initializer before ‘U8G_FONT_SECTION’

    const u8g_fntpgm_uint8_t ISO10646_1_5x7[1328] U8G_FONT_SECTION(“ISO10646_1_5x7”) = {

    ^

    In file included from sketch\src\lcd\dogm\ultralcd_DOGM.cpp:42:0:

    sketch\src\lcd\dogm\ultralcd_DOGM.cpp: In static member function ‘static void MarlinUI::set_font(MarlinFont)’:

    sketch\src\lcd\dogm\ultralcd_DOGM.h:146:27: error: ‘ISO10646_1_5x7’ was not declared in this scope

    #define MENU_FONT_NAME ISO10646_1_5x7

    ^

    sketch\src\lcd\dogm\ultralcd_DOGM.cpp:67:32: note: in expansion of macro ‘MENU_FONT_NAME’

    #define FONT_STATUSMENU_NAME MENU_FONT_NAME

    ^

    sketch\src\lcd\dogm\ultralcd_DOGM.cpp:89:42: note: in expansion of macro ‘FONT_STATUSMENU_NAME’

    case FONT_STATUSMENU : u8g.setFont(FONT_STATUSMENU_NAME); break;

    ^

    Error compiling for board RAMBo.

     

     

    It seems like I’m missing stuff, maybe? Anyway, any help would be greatly appreciated… Thanks!

    #92907

    BT
    Participant

    A couple of thoughts:

    1. Looks like you need to include the graphics library.  The firmware instructions tell you how to add U8glib to your library.
    2. If you’re using Windows, you should be using the beta 1.9 version of the arduino IDE.
    3. If one of the motors is moving when you move the extruder, then it sounds like you have the dual endstop firmware on your board.  One of the easy ways to check is to manually issue an M119 command which will report the endstop status: 5 statuses for dual endstop (X, X2, Y, Y2, and Z) and only 3 for standard setup (X, Y, Z).

     

    1 user thanked author for this post.
    #92909

    Chad Cledgett
    Participant

    Ok, thanks for the quick reply… I followed the directions to add the U8glib, copied and pasted, might have accidentally left a space at the end, if that matters… I am using Arduino 1.8.x, so maybe I’ll try 1.9 and see if that works any better…

    #92917

    Ryan
    Keymaster

    I followed the directions to add the U8glib, copied and pasted, might have accidentally left a space at the end

    It is more of an install, point and click type of thing, there should be nothing to do with spaces? Picture two of any of the flashing instructions. Once it is “installed” to arduino, you do not have to do anything else it is already programmed into the firmware.

    #92997

    Chad Cledgett
    Participant

    So I just sent it a M119, and it only reported back 3 endstops, unfortunately, so standard firmware… Really glad I didn’t take it for a test run, I imagine that would have ended catastrophically… Anyway, I downloaded Arduino 1.9.0, and pasted in https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json and again, it threw a bunch of errors… Is it because I’m using Windows 8? I tend to blame everything on this version of Windows… I might be biased… Anyway, here are the new errors:

     

    Arduino: 1.9.0-beta (Windows 8), Board: “RAMBo”

    panic: interface conversion: error is *exec.Error, not *exec.ExitError

    goroutine 1 [running]:
    github.com/arduino/arduino-builder.(*ArduinoPreprocessorRunner).Run(0xb23924, 0x12bce200, 0xb23924, 0x14f73f80)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/preprocess_sketch.go:129 +0x907
    github.com/arduino/arduino-builder.(*PreprocessSketchArduino).Run(0xb23924, 0x12bce200, 0xb23924, 0x0)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/preprocess_sketch.go:69 +0x2a3
    github.com/arduino/arduino-builder.runCommands(0x12bce200, 0x12d00268, 0x1, 0x1, 0x1, 0x12d00268, 0x0)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/builder.go:207 +0xc1
    github.com/arduino/arduino-builder.(*PreprocessSketch).Run(0xb23924, 0x12bce200, 0xb23924, 0x0)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/builder.go:154 +0xb6
    github.com/arduino/arduino-builder.runCommands(0x12bce200, 0x12dabde8, 0x22, 0x22, 0x1, 0x0, 0x0)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/builder.go:207 +0xc1
    github.com/arduino/arduino-builder.(*Builder).Run(0x12b6df0c, 0x12bce200, 0x7d, 0x12b10780)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/builder.go:125 +0xb3a
    github.com/arduino/arduino-builder.RunBuilder(0x12bce200, 0x7d, 0x12b10780)
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/builder.go:223 +0x29
    main.main()
    /home/jenkins/workspace/arduino-builder-all-cross/src/github.com/arduino/arduino-builder/arduino-builder/main.go:396 +0x72f
    C:\Users\Chad\Downloads\arduino-1.9.0-beta-windows\arduino-PR-beta1.9-BUILD-104\arduino-builder returned 2
    Error compiling for board RAMBo.

    Shorter list, seemingly, but still errors I have no idea how to fix… Anyone else happen to know what might be going on? Thanks, in advance…

    #92999

    Ryan
    Keymaster

    Are you using my flashing instructions?

    Those errors look completely alien to me.

    #93016

    Chad Cledgett
    Participant

    Sorry Ryan, didn’t notice your new reply… You’re right, the link that’s in my last message wasn’t the U8Glib, that was a click and install thing… The link I added was to preferences in the “additional boards manager URL”, I’m assuming so Arduino can find the RAMBo board… Anyway, Arduino 1.9 keeps telling me that “the board at COM3 is not available” but both Pronterface and Repetier-Host can connect to it, and control it… Arduino 1.9.0 actually doesn’t give me the option to change ports, it is grayed out, while 1.8.8 finds the board on COM3 no problem… Really sorry if I’m making anyone crazy… I do appreciate the help…

    #93035

    Chad Cledgett
    Participant

    Yeah, I followed the instructions to a letter, aside from initially using the wrong version of Arduino, which I’ve since corrected… I really have no idea why it’s causing so much trouble… Maybe I need to delete everything, start fresh using the correct version of Arduino from the start? I haven’t restarted my computer since installing Arduino, I’ll try that first, and see if anything changes… Really making me crazy that everything else can find my board on COM3, but Arduino 1.9.0 doesn’t seem to think there are any ports…

    #93094

    Barry
    Participant

    Reboot your computer, then start up arduino to flash, don’t do anything else to connect to the board first.  Sounds like it’s not getting disconnected from the other software.

    #93114

    Chad Cledgett
    Participant

    Ok, thanks… I thought that too, and tried it, but to no avail… I really think my problem is with Arduino 1.9.0… It has a whole batch of errors on this machine, so I tried it on a different machine, and got a brand new batch of different errors… Not sure if it’s a driver issue or what… When I installed 1.8.8 on my other machine, (Windows 10) it made me uninstall Arduino 1.0.6 first, and that made sense, and then I installed 1.8.8… There is no installer for 1.9.0, so it doesn’t really “install” any drivers, but is it trying to use the wrong ones somehow, just the same? On my other machine, it seems to connect to my board fine, but Arduino still throws a pile of errors and won’t compile. This machine, I’m wondering if it is a firewall issue or something causing the errors, but also Arduino doesn’t see any ports… Does nobody else have any problems with Arduino 1.9.0?

    #93122

    Ryan
    Keymaster

    You are using the full version and not the windows app version correct?

    #93151

    Chad Cledgett
    Participant

    Yep, full Windows version, not the app… I’ve even tried uninstalling 1.8.8 and running 1.9.0, and that also didn’t fix anything… I shouldn’t have conflicting software yet, this is a pretty fresh version of Windows…

    #93153

    Ryan
    Keymaster

    Picture of your errors and full Arduino ide screen shot might help.

    #93156

    Jeff
    Participant

    This is gonna sound stupid but do you have a different USB cable to try or try plugging your cable into a different port on your computer.  I’ve run into issues at work with USB port issues (especially between USB3 and USB2 ports).

    Something really interesting that I just noticed – I could have sworn I downloaded and installed Arduino 1.9 on this computer (the one I used to flash my miniRambo) but it’s 1.8.8!!  I may be losing my mind but I’m 95% sure I haven’t changed my Arduino version and must have flashed my miniRambo with 1.8.8…  Now I’m all confused.

    #93201

    Chad Cledgett
    Participant

    Hey Jeff, thanks for the suggestion… I haven’t tried with a different cable yet, but I have tried a different USB port, and it didn’t change anything… Also, everything else seems to connect to it fine, so I think it’s an Arduino problem… Also, Arduino throws errors just trying to compile a blank sketch… Not sure if it’s having trouble connecting to github, or running the sketches it finds there, but on this machine, that seems to be the issue it’s having, as well as connecting to my USB ports at all…  Here’s a screenshot of it, maybe you guys have a better idea what’s going on… These errors are occurring on this machine, running Windows 8… The other computer I tried it on throws considerably more errors, and won’t all fit in a single screenshot…

     

    #93203

    Chad Cledgett
    Participant

    Hey Jeff, thanks for the suggestion… I haven’t tried with a different cable yet, but I have tried a different USB port, and it didn’t change anything… Also, everything else seems to connect to it fine, so I think it’s an Arduino problem… Also, Arduino throws errors just trying to compile a blank sketch… Not sure if it’s having trouble connecting to github, or running the sketches it finds there, but on this machine, that seems to be the issue it’s having, as well as connecting to my USB ports at all…  Here’s a screenshot of it, maybe you guys have a better idea what’s going on… These errors are occurring on this machine, running Windows 8… The other computer I tried it on throws considerably more errors, and won’t all fit in a single screenshot…Arduino190errors-1

     

    #93249

    Chad Cledgett
    Participant

    So I don’t install Windows very often, and as I say, this is a pretty fresh copy… Basically powered up the computer, put in the key, followed whatever directions popped up… Is there anything I may have needed to install to make Arduino work? Apparently it connects to the internet fine, and I know it can talk to the board, because other things talk to it, and it listens… But aside from Java (which I DID install) is there anything else people normally just install without thinking that I might have missed?

    #93251

    BT
    Participant

    Did  you get the driver from Ultimachine (separate from the arduino library)?  https://cdn.shopify.com/s/files/1/1223/5992/files/RAMBo_USBdriver.zip?5837141158898847361

    #93289

    Chad Cledgett
    Participant

    Did you get the driver from Ultimachine (separate from the arduino library)? https://cdn.shopify.com/s/files/1/1223/5992/files/RAMBo_USBdriver.zip?5837141158898847361

    I believe so… My computer recognizes the board as a RAMBo, from Ultimachine… Pretty sure I had to download the driver for it, so it could find it on my computer… I remember it trying to find that on its own and couldn’t, so I had to download it, and show it where I put it… That what you mean?

    #93293

    BT
    Participant

    That’s what I meant.  There was a thread back in January reporting a similar issue but for the Archim – ended up being fixed by installing the Arduino 1.8.8 version.

    1 user thanked author for this post.
    #93302

    Chad Cledgett
    Participant

    Awesome… I’ll try following the fixes in that thread when I get home and can play… Thanks

Viewing 21 posts - 1 through 21 (of 21 total)

You must be logged in to reply to this topic.