Closed DaddyCRO closed 3 years ago
Hi
It works
Send a picture which shows the cable and what is the baud rate defined in Marlin and TFT?
Hi,
please find settings bellow...
unified_menu:0
baudrate:5
default_mode:1
serial_always_on:1
marlin_bg_color:1 marlin_fn_color:8
marlin_show_title:1
marlin_fullscreen:0
marlin_type:1
marlin_title:LCD12864 Simulator
Also, as suggested, all these options are enabled in Marlin firmware:
#
#
#
Thank you for support! P.S. I do not know why there is so big font in reply., so sorry for that...
Also, please finf picture of TFT24 and cables...
I am wondering that Marlin works.
Has to be changed to //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER
Try also to change the serial port from 2 to 0.
Tried with both settings already. If I comment //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, it is also not working. Then for LCD/TFT section stays only uncommented "#define CR10_STOCKDISPLAY". Does a board needs (somehow) an information that TFT screens is connected to the board?
If I set serial port to "0", Marlin displays error during building firmware:
Do you have a picture of the mainboard and how the cable looks like there also.
DaddyCRO notifications@github.com schrieb am Sa. 12. Dez. 2020 um 00:03:
[image: BTT TFT24_V1 1] https://user-images.githubusercontent.com/75860696/101962800-5ef09a80-3c0d-11eb-8b80-a61c841bf3e1.jpg Also, please finf picture of TFT24 and cables...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-743471156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZHCPVKDKOQHC4KRN7TSUKQMRANCNFSM4UXGIKSA .
Is only for mainboards with two 10pin cables. Yours is using one on the mainboard and two on the TFT. This also has nothing to do with touch mode but 2 display types are wrong.
Touchmode requires 3 things.
So please change serial back from 0 to 2. Then try to change the baudrate on the TFT to another value (wait 10sec before checking the next value). Last check the black 5pin serial cable with a multimeter and if the orientation is correct. You see the pin value at the back of the mainboard.
DaddyCRO notifications@github.com schrieb am Sa. 12. Dez. 2020 um 00:18:
Tried with both settings already. If I comment //#define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER, it is also not working. Then for LCD/TFT section stays only uncommented "#define CR10_STOCKDISPLAY". Does a board needs (somehow) an information that TFT screens is connected to the board?
If I set serial port to "0", Marlin displays error during building firmware:
error "SERIAL_PORT must be -1 or from 1 to 5. Please update your
configuration."
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-743475772, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZFT7ZTYRMA7JWPQHVTSUKSF3ANCNFSM4UXGIKSA .
RST RST RX2 TX TX2 RX GND GND +5V +5V
I even changed pins on the board side cable connector to match RX-RX and TX-TX but without success...
It is after midnight here in Austria 😁
DaddyCRO notifications@github.com schrieb am Sa. 12. Dez. 2020 um 00:31:
Not in this moment. I will tomorrow (in Croatia is almost midnight :-) ), open a printer, and take a picture. I saw here that there is a difference between v1.0 and v1.1 in pins: [image: image] https://user-images.githubusercontent.com/75860696/101964069-6796a000-3c10-11eb-803b-b53225a5a94b.png So I follow this scheme to connect a cable... BOARD TFT
RST RST RX2 TX TX2 RX GND GND +5V +5V
I even changed pins on the board side cable connector to match RX-RX and TX-TX but without success...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-743480571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZBZIYGLZYQFO2LBUGTSUKTTPANCNFSM4UXGIKSA .
:-) Greetings then from Croatia to Austria... I am working for one Austrian company here in Zagreb...
Greetings back. 👍🏻
DaddyCRO notifications@github.com schrieb am Sa. 12. Dez. 2020 um 00:37:
:-) Greetings then from Croatia to Austria... I am working for one Austrian company here in Zagreb...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-743482345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZGMF2O3PKVMZWEROFLSUKULPANCNFSM4UXGIKSA .
Forgot to mention that I also compared "pins_BTT_SKR_E3_DIP.h" and "pins_BTT_SKR_PRO_common.h" files in VSC. In "pins_BTT_SKR_E3_DIP.h" file is missing section (exists in "pins_BTT_SKR_PRO_common.h" which uses other BTT board, except mini):
#define TFTGLCD_CS PG10
Do not know if that affects to board TFT compatibility...
The combination of mainboard and TFT works out of the box without changing any pins file.
Connection Serial port Baud rate
OK, so the cabling is right.
Assuming the cable is not broken and also that the SKR and the TFT are OK it has to be in software.
So I checked again Marlin and I have the following defined:
//#define SERIAL_PORT_2 -1 //do not need USB so it is uncommented
With this setting and baud rate of the TFT also set to 115200, this has to work. Check the baud rate in the corresponding touchscreen menu.
It is strange that I cannot enter menu in touch screen mode. Long press on screen leads to a menu for choose between Marlin and touch screen mode, so I cannot check baud rate on TFT24. Yesterday I flashed new firmware versio on TFT without problem... In config.ini for TFT baud rate is set to 115200... Single press on any icon on screen has no response... Will try to comment line and rebuild Marlin... Thank you for your help...
Wait. You can not press a button on the touchscreen??
Make an empty textfile named reset.txt and save it on the sd card. Put it in the TFT and reset the TFT. Let me know
I did. After restart, it brings a menu for touch screen calibration... I successfully calibrated the screen, and now I can press on icons. So thank you for this tip! Checked baud rate on TFT24 and it is correctly sated up to 115200... Commented //#define SERIAL_PORT_2 -1 line, and building firmware...
Just did. But I still have "No printer attached!" message on screen. Do not know if it has some matter, but I am compiling in STM32F103RE_btt_USB mode... I have STM32F103RET6 chip on board...
STM32F103RC_btt is my defaults_envs
DaddyCRO notifications@github.com schrieb am So. 13. Dez. 2020 um 22:11:
Just did. But I still have "No printer attached!" message on screen. Do not know if it has some matter, but I am compiling in STM32F103RE_btt_USB mode... I have STM32F103RET6 chip on board...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744069091, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZE7ESWA4O6MXFVPTJTSUUUY3ANCNFSM4UXGIKSA .
Just build "STM32F103RE_btt" and flash. Still the same... No connection...
Replace the cable. Can you make a new one?
DaddyCRO notifications@github.com schrieb am So. 13. Dez. 2020 um 22:28:
Just build "STM32F103RE_btt" and flash. Still the same... No connection...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744071296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZECZTMXYOHZ4TWAQ2LSUUWX7ANCNFSM4UXGIKSA .
I will check it with my instrument (pin by pin connection)... I have digital multimeter at home... But it is brand new. I got it with my TFT24...
Ok.
DaddyCRO notifications@github.com schrieb am So. 13. Dez. 2020 um 22:31:
I will check it with my instrument (pin by pin connection)... I have digital multimeter at home... But it is brand new. I got it with my TFT24...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744071642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZFJTSDGG2J2X7LGRATSUUXCNANCNFSM4UXGIKSA .
What happens when you disconnect the 10pin cables and only keep the 5pin cable connected?
Hi. It powers up normally, butin touch screen mode still reports error message "No printer attached!" Got back from office, will check the cable immediately...
Serial port 2 Baud rate the same
If those two are correct it has to be hardware.
DaddyCRO notifications@github.com schrieb am Mo. 14. Dez. 2020 um 17:39:
Hi. It powers up normally, butin touch screen mode still reports error message "No printer attached!" Got back from office, will check the cable immediately...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744561897, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZBETRRPBITEMFFKRILSUY5TZANCNFSM4UXGIKSA .
Just checked the cable: all pins have connection cable seems OK to me.
One thing that bothers me is cable pinout, I am not sure if it is correct...
At the board, top most PIN is RST, and it is connected with RST pin on TFT24 next pin below on the board is RX2, it is connected to the TX2 pin on TFT24 next pin below on the board is TX2, it is connected to the RX2 pin on TFT24 next pin below on the board is GND, it is connected to the GND pin on TFT24 next pin below (bottom one) on the board is +5V, it is connected to the +5V pin on TFT24
Does TX2 and RX2 pins needs to be connected with corresponding TX and RX pins on TFT24? Or it should be as it is connected right now (describe earlier)?
Just swapped the cable pins so TX on the board points to the TX on TFT24, and RX on the board points on RX on TFT24, but without success. Still no conection...
What about serial port configuration number? I tried with 1 and 2: should I try with other numbers from the range (0 - 5)?
I used the cable without modifications. Connections are straight.
I asked you to disconnect all other cables because the TFT has to work in touchmode with 5pin cable only.
DaddyCRO notifications@github.com schrieb am Mo. 14. Dez. 2020 um 18:23:
Just swapped the cable pins so TX on the board points to the TX on TFT24, and RX on the board points on RX on TFT24, but without success. Still no conection...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744588739, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZC2BPKHMTAPLWY3RLDSUZCXZANCNFSM4UXGIKSA .
Your motherboard requires 2.
DaddyCRO notifications@github.com schrieb am Mo. 14. Dez. 2020 um 18:24:
What about serial port configuration number? I tried with 1 and 2: should I try with other numbers from the range (0 - 5)?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744589786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZF2HDVJG2Y2ACS3XQLSUZC6VANCNFSM4UXGIKSA .
So it is HW issue: either board, TFT or both...
Guess so. Or cable. Or something in pins which you changed falsly. If you send me Dropbox or something else link I can send you the firmware of mainboard and TFT.
DaddyCRO notifications@github.com schrieb am Mo. 14. Dez. 2020 um 19:06:
So it is HW issue: either board, TFT or both...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/bigtreetech/BIGTREETECH-SKR-E3-DIP-V1.0/issues/103#issuecomment-744613321, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6XKZDMA6UJKMIMTQVZQX3SUZHY5ANCNFSM4UXGIKSA .
Can you send it in e-mail in zip file?
Yes
Then please send it to: les.darko@gmail.com Thank you...
Nice!
Please help the community and close the ticket once you do not need it anymore. Thank you
Happy printing
Just to inform that I finally found out where the problem was... Thank you "oldman4U" for your support. I added a filament run out sensor on the board, and somehow line 1183 in "Configuration.h" file stays uncommented:
After commenting this line, TFT works perfect! It seems that there is some sort of collision between serial port communication and this parameter.
Will close the ticket, since problem (for me) is solved...
Recently purchased BigTreeTech SKR E3 DIP v1.1 with four TMC5160 drivers. Everything works like a charm (very quiet drivers). The board is built-in in Creality CR-20 Pro 3D printer. Also purchased Bigtreetech TFT24 v1.1 touch screen display. It is working correctly with E3 DIP board in Marlin mode. However, unable to set it up to work in touch screen mode. Have a message "no printer attached" in this mode. Marlin is last version (2.0.7.2?). Also, TFT24 is flashed with latest firmware from GitHub. Both cables are correctly connected (checked pinout several times).
Any suggestions? Is this board able to work with TFT24 in touch screen mode? Thnx for help/sugestions.