7i73 LCD shows rubisch
I just pulled 2.7, got an LCD working, then pulled the latest 2.8 and tried again, and it worked just the same?
What 7i73 firmware version are you using? (Mine might be rather older than yours)
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
The 7i73 firmware? No idea. Same for 7i76e, but it worked flawless when i tested in the beginning.
Please Log in or Create an account to join the conversation.
loadrt hostmot2
loadrt hm2_pci config="sserial_port_0=0x20000000"
loadrt lcd fmt_strings="LinuxCNC - Tool %2i\n%b* X Pos = %11.4f%b* Y Pos = %11.4f%b* Z Pos = %10.3f|Long Number\n%015.2f\n"
loadrt threads
loadrt siggen
addf hm2_5i25.0.read thread1
addf hm2_5i25.0.write thread1
addf lcd thread1
addf siggen.0.update thread1
net chars lcd.00.out hm2_5i25.0.7i73.0.0.display
start
setp lcd.00.contrast 0.7
net stuff lcd.00.page.00.arg.02 siggen.0.sine
net stuff1 lcd.00.page.00.arg.04 siggen.0.cosine
net stuff2 lcd.00.page.00.arg.06 siggen.0.triangle
setp lcd.00.page.00.arg.03 1
setp siggen.0.amplitude 1000
setp siggen.0.frequency 0.000005
halrun -I test.hal
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
For test i just use ABC, in the first position of first line. It i writen there.
But these three letters are immediately positioned additionally everywhere on the screen. I guess it is at least 10 times per second.
I know lcd from my earlier AVR programming times. Could have a similar problem when errors in position commands.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
could not resist and honor your effort... THX
I have 7i76e so had to modify your code to:
loadrt hostmot2
loadrt hm2_eth board_ip="192.168.1.121" config="sserial_port_0=21xxxx"
loadrt lcd fmt_strings="LinuxCNC - Tool %2i\n%b* X Pos = %11.4f%b* Y Pos = %11.4f%b* Z Pos = %10.3f|Long Number\n%015.2f\n"
loadrt threads
loadrt siggen
addf hm2_7i76e.0.read thread1
addf hm2_7i76e.0.write thread1
addf lcd thread1
addf siggen.0.update thread1
net chars lcd.00.out hm2_7i76e.0.7i73.0.1.display
start
setp lcd.00.contrast 0.7
net stuff lcd.00.page.00.arg.02 siggen.0.sine
net stuff1 lcd.00.page.00.arg.04 siggen.0.cosine
net stuff2 lcd.00.page.00.arg.06 siggen.0.triangle
setp lcd.00.page.00.arg.03 1
setp siggen.0.amplitude 1000
setp siggen.0.frequency 0.000005
Result is the same
Can see your text on the screen, but it is overwritten very fast, much more then the guessed 10 times per second
on various positions. The basic image is more or less "reconstructed" on the same place.
Mike
P.S.
I have to move in my bed now, when I intend to survive...
Big THX
Mike
Please Log in or Create an account to join the conversation.
"ABC\n" works better, on both versions.
I think that there is definitely some room for improvement in the lcd component. But I am not seeing any difference at all between 2.7 and 2.8 versions of LinuxCNC on identical hardware.
Please Log in or Create an account to join the conversation.
The 2018 January 14 update went from 1:2.8.0~pre1.3405.ge10c52ea6 to 1:2.8.0~pre1.3520.g0a096c965, which is a pretty large jump that includes the commit Rene pointed out. So that's valuable debugging, thanks.
How do you solve this? is this pure looking to the code difference on git?
I like to look at difference also. Sometimes it's boring, but if it work's after compiling it can be great !
I like to learn more about linux.
Please Log in or Create an account to join the conversation.
So far I am failing to detect the problem. So have no way to test possible fixes.
Please Log in or Create an account to join the conversation.
I will try to look in the code difference on git between :
1:2.8.0~pre1.3405.ge10c52ea6 to 1:2.8.0~pre1.3520.g0a096c965
And then look carefully for changes in touchscreen. It can be a one letter mistake.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
- Posts: 1159
- Thank you received: 185
Mike
Please Log in or Create an account to join the conversation.