7i73 LCD shows rubisch

More
26 Feb 2018 21:02 #106571 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
No problem. That is ok.
Thx that you remember

Business brings the coins to enjoy our hobbies.

Mike

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

More
26 Feb 2018 21:49 #106574 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
One more strange observation
I have switch that can choose between four pages ( separated by the pip sign)
A|B|C|D
On 1. screen I see A but also jumping B .. ok sh.t
On 2. screen I see not to my biggest astonishing B plus random C
On 3 screen as you expect C plus D

BUT absolutely not explicable for me on 4. screen letter D plus jumping F.

There is no letter F in my declaration !!!

THX
Mike

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

More
27 Feb 2018 08:44 #106608 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

Mike_Eitel wrote: BUT absolutely not explicable for me on 4. screen letter D plus jumping F.
There is no letter F in my declaration !!!


I think that the only explanation is that your LCD is haunted.

(I have absolutely no way to explain that)

Can you halscope the lcd.out pin and see if it is actually taking the "F" value?

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

More
27 Feb 2018 14:05 #106619 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Nope Sir
Naturaly i tested with other lcd already before asking for help here. And Norbert has after upgrade problems too.

I have several lcds and quite some years of expierience programing them with avr's. And also for me it is very strange that a hex character augments by one.

May i asking you how sserial bus works. Is it a protocol with crc. Or is it a simple fifo bit shifting. ( What explains you request of halscope )

Anyhow i will make a halscope and a Video auf YouTube it tonight.
Mike

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

More
27 Feb 2018 14:16 #106620 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

Mike_Eitel wrote: I have several lcds and quite some years of expierience programing them with avr's. And also for me it is very strange that a hex character augments by one.


If the last page contains "D" and you see "F" then it has incremented by two.

May i asking you how sserial bus works. Is it a protocol with crc. Or is it a simple fifo bit shifting. ( What explains you request of halscope )


I am not 100% sure of the details of the smart-serial protocol at the data-line level.

However the lcd component outputs one character every servo thread cycle from the format string, and that is passed to an input pin in the smart-serial driver. The driver then sends this byte to an FPGA register via the PCI / Ethernet / other bus.
The FPGA should then detect the register write and sends the data to the CPU on the 7i73, which converts it to an LCD driver protocol.

So there are many steps in this chain where something could be going wrong.

Anyhow i will make a halscope and a Video auf YouTube it tonight.


Don't bother with the video, but a halscope of the output of the LCD component would be useful. (You can save the data to a file, I can then analyse the file).

If the lcd component data looks correct then we have at least eliminated one possibility.

The evidence seems to be that it works with PCI but not Ethernet, so far at least. (Which would also tend to suggest that the problem is not with the lcd component)

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

More
27 Feb 2018 14:48 #106621 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
Another angle to poke at this is to see if the Ethernet link data differs between 2.7 and master

sudo tcpdump -x -i eth0 > logfile

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

More
27 Feb 2018 15:12 #106622 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Yes naturaly two bits.

I will try to deliver halscope, I'm not very expierience with it till now. My feeling ist that it is not in lcd component.

I suspect more in data transfer.

i do not believe neither in emv, all is on clean labor table.

And suddenly started after an update. Before everything worked super on the first try.
Mike

P.s. Mabe in 1-2 hours i have it. Still on the road,( Train)

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

More
27 Feb 2018 15:24 #106623 by rene-dev
Replied by rene-dev on topic 7i73 LCD shows rubisch
you can all confirm its related to the parameters commit?
The actual parameters are all the same, after startup?
The display data is one byte per cycle, in the process data? how is that synced, after the last character?
Is it possible to delay, or slow down the updates, to see better what is going on? or try a shorter string?

looking at the video, sometimes part of the text appears somewhere else. so it sounds like a sync problem.
there are pins/parameters to check for package errors in hm2_eth and sserial.

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

More
27 Feb 2018 17:29 #106634 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
For the tcpdump:

I'm on stretch and that does not know the command tcpdump anymore and also my eth1 is now called enp0s25
If you are testing with older debian ..... that might be a point, as stretch is in my eyes still a beast ... maybe the reason...

I will try if there is a save way to get tcpdump again.
Mike

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

More
27 Feb 2018 17:34 #106636 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
tcpdump may be in /sbin or /user/sbin and its likely you don't have a path setup for these

you can check with
locate tcpdump

if its not there you can
sudo apt-get install tcpdump
The following user(s) said Thank You: Mike_Eitel

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

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