7i73 LCD shows rubisch

More
09 Feb 2018 10:54 - 09 Feb 2018 10:55 #105625 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
There aren't any positioning commands as such.
The LCD HAL component just outputs the format string one character at a time every 1mS. When it gets to the end of the format string it sends a control sequence and starts again.
    if (inst->f_ptr > inst->pages[*inst->page_num].length){
        *inst->out = 0x18; // clear line
        inst->buff[0] = 0x1E; // home
        inst->buff[1] = 0; //end
        inst->c_ptr = 0;
        inst->f_ptr = 0;
        inst->a_ptr = 0;
        return;
    }
The whole file is here: github.com/LinuxCNC/linuxcnc/blob/master...hal/components/lcd.c

I am not sure that sending the "clear line" character is a good idea.

BUT: None of this has changed for a long time, certainly not between 2.7 and 2.8. If there is a difference there then it has to be in the sserial driver. (And as far as I know none of the process data stuff there has changed at all)
Last edit: 09 Feb 2018 10:55 by andypugh.

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

More
09 Feb 2018 13:12 #105630 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Very strange in deed.
For sure that behaviour occured after a synaptic update, but i don't know witch 2.8 version was my oldest working one before.
And Norbert confirmed to have the same problem..
When i read through the github issue and see something like eeprom.. :
@pcw
Is there eventually some "download" for 7i73 to "reset" lcd control firmware?
From my guts feeling i would also suspect something there.

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

More
09 Feb 2018 13:34 #105632 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
I dont think the EEPROM data has been to be touched as that would "stick" and you would have issues with
2.7

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

More
09 Feb 2018 13:35 - 09 Feb 2018 13:36 #105633 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
You need to actively update software on the 7i73 with Mesaflash. It won't happen as part of any update.

Actually, it isn't even Mesaflash, it's a batch file downloadable from Mesa, which uses halrun.
Last edit: 09 Feb 2018 13:36 by andypugh.

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

More
09 Feb 2018 13:37 #105634 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

I dont think the EEPROM data has been to be touched as that would "stick" and you would have issues with
2.7


Has anyone stepped back to 2.7 and proved that the problem goes away?

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

More
09 Feb 2018 16:04 #105643 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Maybe this helps

Mike

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

More
09 Feb 2018 19:39 #105654 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
One thing more
If I stop the program the scrambling stops and stays constant till i start another lcnc program.
Mike

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

More
09 Feb 2018 20:09 #105655 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
I think the thing that would help most as Andy says is seeing if its fixed by going back to 2.7

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

More
09 Feb 2018 20:17 #105656 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Hi PCW
Hope you do not ask me to do that.
I'm very happy to have finally a 2.8 running.
And as linux is not easy for me i fear to try going back.
Mike

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

More
09 Feb 2018 21:09 #105657 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

One thing more
If I stop the program the scrambling stops and stays constant till i start another lcnc program.
Mike


That's even more baffling, because the smart-serial updates go out every 1mS whether a program is running or not.

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

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