7i73 LCD shows rubisch

More
04 Mar 2018 15:47 - 04 Mar 2018 15:48 #106910 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

Mike_Eitel wrote: In my avr programming ( compiler msc bascom) i never saw the problem of the last character.

Bear in mind that with that code you were communicating directly with the LCD.
The lcd HAL component actually communicates with the 7i73 using a different protocol (modelled on an old serial terminal) and then the 7i73 converts those commands to LCD protocol.


What I'm absolutely sure is that it worked before absolutely in the way i expected. Norberts screen was shown perfect.


You should be able to install this updated version of the lcd component to see if it works better. (I think it does)
Amongst the bug fixes: you can now use a decimal separator of your choice.

Install with
sudo halcompile --install lcd.c
Attachments:
Last edit: 04 Mar 2018 15:48 by andypugh.

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 16:25 #106911 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Yes it is different, but no, it is not yet good.
the single letters are coming now in all lines plus the sign =
If I use the "big" version of Norbert, it is even worthier, nearly unrecognizable

Have to wait until my tablet finish its unexpected update ( damm !!), then i will post a YouTube

AND many TXt that you take so much efforts !

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 16:32 #106912 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
What is the "addf" order in your HAL file?

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 16:43 #106913 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
I am wondering if the lcd component needs to be between the read and write functions in the thread sequence (I can't see why it would matter, but...)

Can you download the attached file and then test it with
halrun -I lcdtest7i76E.hal
(That is a capital i, not a 1)

You should be able to change pages with
setp lcd.00.page_num 2
etc
Attachments:

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 16:59 #106914 by andypugh

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 17:20 #106916 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
I have to modify to
loadrt hm2_eth board_ip="192.168.1.121" config="sserial_port_0=2100000"
otherwise it does not connect the 7i73.

And strangely it does also not accept writing something like =0x21

But result is not better, still scrambled

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 17:22 #106918 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
I do use all ports on the 7i73, the 4 analog inputs and all digital in and outputs....No keyboard

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 17:39 #106919 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
And here my video

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 18:35 #106920 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
So, the question has to be "what is different"

First we ought to make sure that your system is using the new version of the LCD component.
"halcmd setp lcd.00.decimal-separator 38" should set all the decimal points to "&" characters if the system has picked up the new version. (That was one of the things I fixed, it wasn't working before)

I am running a 7i80DB connected to a 7i76 connected to a 7i73. This should be really quite similar to your 7i76E
I am _not_ running a full LinuxCNC config, I find it easier to run a smaller system for development work (in fact, the HAL file I already posted) but it is possible that your system has interactions that mine doesn't. (timing is likely to be different)

My 7i73 is using firmware version "C" (show params and it is "swrevision") and LinuxCNC warns me that I should update it.

Please Log in or Create an account to join the conversation.

More
04 Mar 2018 18:45 #106921 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
I used your file.
Switched of power of pc and mesa before.
Your config explains why I had to change the sserial port.
And for sure your config is a bit slower in throughput.
How can I readout my versions? With mesaflash?

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.107 seconds
Powered by Kunena Forum