-
-
Notifications
You must be signed in to change notification settings - Fork 19.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] error LULZBOT_TOUCH_UI #15134
Comments
attach 2 config files as zip file just as the issue template suggests |
@Lino77 Das sollte nicht auskommentiert sein und dann muss es ein Array sein
#define MAX_MANUAL_FEEDRATE { 240, 240, 240, 240 } Aber ich denke, da werden noch mehr Fehler auftauchen. @marcio-ao can you say more about that? |
@Ludy87: Yes, it looks like that config file is incorrect. I agree that the following would be a fix:
I'll create a PR with this fix. |
Thx @marcio-ao |
@Ludy87 hattest recht es kam noch ein Fehler anbei meine Config und was ich geändert habe das es durch kompiliert jetzt fehlt mir nur noch das Display zum testen hoffentlich kommt es bald, sollte schon letzte Woche eigentlich da sein, kannst du mir sagen für was "LCD_STR_THERMOMETER" eigentlich steht |
that's because it's not called @marcio-ao will release a PR with bug fixes |
- Added UTF8 support to FTDI rendering code. - Added support for most Western language characters in Latin-1 Supplement - Fix for MarlinFirmware#15134
@marcio-ao AO_EXP2_PINMAP
The USB Reader is from You Furthermore, I get with the current git an error , see here. /tmp/arduino_build_118472/sketch/src/lcd/extensible_ui/lib/lulzbot/screens/boot_screen.cpp: In static member function 'static void BootScreen::onIdle()': |
@Lino77: For the moment, you should be able to bypass the compilation error by disabling TOUCH_UI_USE_UTF8 in As for why your display is blank, let's gather some more information. Uncomment "#define UI_FRAMEWORK_DEBUG" in Marlin/src/lcd/extensible_ui/lib/lulzbot/config.h Then recompile. Then power on the printer and immediately connect via serial. You can confirm whether the USB is working by looking for the following:
The important bit is to look for Unfortunately, the way the FT810 works, the screen is blank even if it is powered, so troubleshooting can be a bit tricky. We first need to make sure communications is happening before we can move to the next steps. |
- Fixed compilation error due to missing declaration.
@marcio-ao |
@Lino77: Something isn't quite right. Check your wiring. You could start by disabling the |
The USB port works only with activated Touch_ui. look at the log.txt, the Usb Port starts yes, but the rest does not want it to be that I have a broken ft810 I can not test the part somehow Drucker ist jetzt Online. echo:Not enough space in GRAM to cache display list, free space: 2048 Required: 8191 |
With the Achim board, it is difficult to see error messages at startup, as the board always resets the serial connection. So, edit "Marlin/src/lcd/extensible_ui/lib/lulzbot/ftdi_eve_lib/basic/commands.cpp" and replace:
With:
This should cause your printer to hang at startup printing either |
Also, let me know exactly which display you purchased. |
Another idea: Power on the printer with your finger touching the display. This is a special condition that will tell the printer it to force the settings to default. Sometimes the LCD brightness could be stuck at 0% you won't be able to see anything unless you force the settings to the defaults. |
with the connected display. does not boot the board |
Check your pinout. I noticed that when you posted your pin mappings, the arrangement of the pin numbers was opposite of the ones here Also, use a multimeter and make sure you can read 5V between the 5V and GND pads next to the ribbon cable on the FTDI board. |
Today's Marlin, it's just touch ui and USB support enabled, /tmp/arduino_build_204641/sketch/src/lcd/extensible_ui/lib/lulzbot/screens/boot_screen.cpp: In static member function 'static void BootScreen::onIdle()': |
Okay, I have omitted the touch, and a normal smart controller connected Connecting ... |
@Lino77: Try connecting a few pins at a time. First connect GND and 5V and check whether the board reboots. Then connect PD, CS, SCLK, MOSI and MISO in that order. See where the board starts to reboot. This will give you information on where the problem is. |
@marcio-ao echo:Waiting for 16 bytes in command queue, now free: 0... fault |
@Lino77: So MISO is "Master In, Slave Out", meaning it is a signal that comes from the LCD module to the Archim board. The fact that your board is crashing when that is connected indicates a couple possibilities:
If you have a resistor available (something in the order of 1kOhm), try to put that in series with the MISO line. If the board ceases to crash, then we know whether these issues were at play. Once we get the board not to crash, we can continue troubleshooting. |
1kOhm resistance is in it. the board does not crash anymore, but still black echo:Waiting for 4 bytes in command queue, now free: 0... done |
@Lino77: Okay, that's good news. I guess we should confirm that the MISO pin was not damaged on the Archim. My understanding is that you had gotten the USB to work before? Can you confirm it still works? Since the USB uses MISO, we can confirm that the MISO is good if the USB functions. |
First try the USB without the display connected. Then try it with the display connected. If the first case works, then we know the MISO is good on the Archim. If connecting the display causes the USB to fail, then we know the MISO on the display is interfering somehow. |
USB works without touch USB device inserted |
The display lights up white without the USB Reader plugged in |
@Lino77: This is peculiar. Check one thing for me. If you disconnect MOSI, the display will remain blank, correct? The fact that it is turning white suggests to me it at least is sending commands to the display and activating the backlight. It seems like you may have wired everything up like our TAZ Pro, so try our official FW and see if it shows anything on the screen: Marlin_Quiver_TAZPro_Quiver_DualExtruder_2.0.0.165_d1611cd53.bin.txt |
Also, please check your Archim 2.0 for identifying information. Maybe Ultimachine made different versions of the Archim. Does it have a version number? |
@marcio-ao |
@Lino77: Excellent! Having working FW will make it much easier for us to understand what is different from upstream Marlin. The exact firmware you are using hasn't been pushed to our repo quite yet, but I'll give you instructions on how to compile what is there right now.
With Linux:
With Arduino IDE:Run:
Run Arduino IDE (you need the beta build, earlier ones fail) on "Marlin/Marlin.ino": Choose "Preferences" from the "File" menu and add "https://raw.githubusercontent.com/ultimachine/ArduinoAddons/master/package_ultimachine_index.json" to the "Additional Boards Manager URLs". In the "Boards Manager" search for "Archim" and install "Archim by UltiMachine" Compile and upload. If it works, I recommend you start by comparing the "Configuration.h" and "Configuration_adv.h" for differences. |
okay under linux I could build a firmware and it works too. under Arduino 1.9 beta I get the following error |
I have the error arduino does not transfer the firmware properly to the board. I have created a hexfile under Arduino IDE, and loaded with cura the firmeware. And lo and behold! It works |
@marcio-ao & @Lino77 any news on this one? |
@boelle @shitscreek this one can get closed. Arduino IDE issue. |
oki, will swing the axe then :-D |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It may be that a few configuration settings are missing. I can not find MAX_MANUAL_FEEDRATE anywhere
tmp/arduino_build_721483/sketch/src/lcd/extensible_ui/lib/lulzbot/screens/move_axis_screen.cpp: In static member function 'static float MoveAxisScreen::getManualFeedrate(uint8_t, float)':
/tmp/arduino_build_721483/sketch/src/lcd/extensible_ui/lib/lulzbot/screens/move_axis_screen.cpp:112:47: error: 'MAX_MANUAL_FEEDRATE' was not declared in this scope
constexpr float max_manual_feedrate[XYZE] = MAX_MANUAL_FEEDRATE;
^
Bibliothek Wire in Version 1.0 im Ordner: /home/lino/.arduino15/packages/ultimachine/hardware/sam/1.6.9-c/libraries/Wire wird verwendet
Bibliothek TMCStepper in Version 0.4.6 im Ordner: /home/lino/Arduino/libraries/TMCStepper wird verwendet
Bibliothek SPI in Version 1.0 im Ordner: /home/lino/.arduino15/packages/ultimachine/hardware/sam/1.6.9-c/libraries/SPI wird verwendet
exit status 1
Fehler beim Kompilieren für das Board Archim.
The text was updated successfully, but these errors were encountered: