I have downloaded FW from here Auto Square, Dual EndStops | V1 Engineering Inc for dual end stops with Rambo 1.3 (not mini) version with Full graphic smart controller Big. During installation getting same error as some other users reported. fork/exec C:UsersPRyanDownloadsarduinohardwaretoolsavr/bin/avr-gcc.exe: The filename or extension is too long.
I tried following
reinstalling everything on other PC
Moving the Arduino to root directory to shorten the path
Last step helps but of course it disables the LCD controller.
Any advice what is root cause for "filename too long" error and how to get it work together with LCD?
If I install Marlin version without (MPCNC813_GLCD_EB_T8) end stops then I get blue screen[attachment file=55714]
, but as I found out there might be 4 options how to connect connectors ext1 ext2 so will still have to figure out how it should be connected correctly. Does somebody has the picture how LCD controller shoudl be connected correctly?
Thank you Ryan for this grat machine, didnât have so much fun in long time
Just make sure 1 goes to 1 and two goes to two. Then you have a 50/50 chance. If you bought it from me it should be oriented correctly, if not it is probably backwards.
As for the board it should be pre-flashed as well. If you want to flash it you need to use either the arduino nightly or beta, I will be looking for a better solution today as this comes up several times a day now.
Those are very old threads. I am looking at this right now for a simple solution. The one that works is editing the temp directory, I have no idea why the other arduino builds donât work anymore. Each compile takes forever on the laptop I am using so it might be a little bit but I did not forget about you.
Shoot, the beta issue isnât the file thing. I will update them all and try again. Odd I flashed it with a temp fixed computer and they work, even the dual, the bootscreen was missing but, still worked.
I got past the first problem by changing the temp directory location.
I now have this problem.
C:UsersTHANSE~1.CORAppDataLocalTemparduino_build_757798sketchsrclcddogmu8g_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*)':
C:UsersTHANSE~1.CORAppDataLocalTemparduino_build_757798sketchsrclcddogmu8g_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);
^
C:UsersTHANSE~1.CORAppDataLocalTemparduino_build_757798sketchsrclcddogmu8g_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*)â:
C:UsersTHANSE~1.CORAppDataLocalTemparduino_build_757798sketchsrclcddogmu8g_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);
^
Using library SPI at version 1.0 in folder: C:ArduinohardwarearduinoavrlibrariesSPI
Using library U8glib in folder: C:Usersthansen.CORTINAAppDataLocalArduino15packagesrambohardwareavr1.0.1librariesU8glib (legacy)
exit status 1
Error compiling for board RAMBo.
Looks like it is a problem Ug8_DEV_SSD1306_SH1106_128x64_i2c.cpp file.
I just verified the newest updated file (That I just updated twice). I compiled it on two computers and just flashed it. I have another update to put the bumps back in but later.
Make sure you have rebooted your computer after making the tmp changes, use the newest ug8lib (your says legacy). Works fine for me now in both arduino builds. Not Beta. I have no idea what you mean by SPI.
Dude I feel soooooo stupid right now. It would be so much easier if I just made a marlin 1 version of the dual for the rambo. It seriously never occurred to me. Or you can just edit config, config adv, pins.
You will need to click and the Branch drop down and pick the one that matches your setup.
Then hit the Clone or download.
[attachment file=56063]
If you are looking for the preferences, you can find the file location by going to file drop down and then preferences Arduino.
[attachment file=56047]
Then you can click on the file name and it should open the directory that the Preferences file is in.
[attachment file=56046]
You then need to close the Arduino program then open the Preferences file with a text editor.
Add the build.path to the file as in the screen shot.
[attachment file=56048]
I have tried 4 computeres now, 3 gets me the âtoo long extensionsâ error (Toddâs howto did not solve it), the 4th computer now brings up:
[quote]Arduino: 1.9.0-beta (Windows 7), Board: âArduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)â
In file included from c:\arduino\tmp\sketch\src\hal\HAL_AVR/HAL_AVR.h:46:0,
from c:\arduino\tmp\sketch\src\hal\hal.h:38,
from sketch\src\inc/MarlinConfig.h:28,
from sketch\src\Marlin.h:25,
from sketch\src\Marlin.cpp:31:
c:\arduino\tmp\sketch\src\pins\pins_RAMPS.h:129:31: error: pasting â/30/â and â_RPORTâ does not give a valid preprocessing token #define E1_ENABLE_PIN 24 //30
^
c:\arduino\tmp\sketch\src\hal\HAL_AVR/fastio_AVR.h:85:41: note: in definition of macro â_WRITEâ #define _WRITE(IO, v) do { if (&(DIO ## IO ## _RPORT) >= (uint8_t *)0x100) {_WRITE_C(IO, v); } else {_WRITE_NC(IO, v); }; } while (0)[/quote]
Followed by another 2900 lines of similar messages. Not sure what this is about. Disabled LCD, same message.
Any tips?
edit, what I did so far: disconnected LCD, verified RAMPS is working, replaced USB cable, tried two versions of Arduino IDE (latest Beta and the latest Alpha)
I have no idea what could be wrong. With the LCD disabled you donât need the âtmpâ fix. I also think the updates in the new nightly have fixed it as well. There must be something wrong.
I will try and look around for a Ramps to flash, I have not had any reported issues though and there are people using it.
Alright, got both (hourly IDE and your updated dualendstop-firmware) and now I was able to flash (after doing the âc:\tempâ thing again, obviously, because the hourly arduino IDE is not the beta one. Lol!). Thanks.