7i73 LCD shows rubisch

More
04 Mar 2018 18:50 #106922 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
To find the firmware version, one way is:
open a terminal

halrun
loadrt hostmot2
loadrt hm2_eth board_ip=192.168.1.121 (or whatever you use)

Then you should see some pinout info.

Then:

Show param *7i73"

To see the 7i73 parameters, one of which is "swrevision"

And, please can you try the decimal-separator switch? That's one way to be totally sure that your system is running the new lcd module version.

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

More
04 Mar 2018 19:09 #106923 by PCW
Replied by PCW on topic 7i73 LCD shows rubisch
Can you post your current hal/ini files?
I can try and duplicate this since i have identical hardware available

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

More
04 Mar 2018 19:10 #106924 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
I USED YOUR FILE and here some cutouts:

...............
hm2_eth: 192.168.1.121: Hardware address: 00:60:1b:10:40:be
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
Board hm2_7i76e.0.7i73.0.1 Hardware Mode 0 = nokeyboardnodisplay
Board hm2_7i76e.0.7i73.0.1 Software Mode 0 = inputoutputencoder
Board hm2_7i76e.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalog
Board hm2_7i76e.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalog
Board hm2_7i76e.0.7i73.0.1 Hardware Mode 1 = nokeyboarddisplay
Board hm2_7i76e.0.7i73.0.1 Software Mode 0 = inputoutputencoderdisplay
Board hm2_7i76e.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogdisplay
Board hm2_7i76e.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogwidedisplay
Board hm2_7i76e.0.7i73.0.1 Hardware Mode 2 = keyboard4by8nodisplay
Board hm2_7i76e.0.7i73.0.1 Software Mode 0 = inputoutputencoderkeycode4by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogkeycode4by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogkeycode4by8
Board hm2_7i76e.0.7i73.0.1 Hardware Mode 3 = keyboard4by8display
Board hm2_7i76e.0.7i73.0.1 Software Mode 0 = inputoutputencoderdisplaykeycode4by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogdisplaykeycode4by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogwidedisplaykeycode4by8
Board hm2_7i76e.0.7i73.0.1 Hardware Mode 4 = keyboard8by8nodisplay
Board hm2_7i76e.0.7i73.0.1 Software Mode 0 = inputoutputencoderkeycode8by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogkeycode8by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogkeycode8by8
Board hm2_7i76e.0.7i73.0.1 Hardware Mode 5 = keyboard8by8display
Waiting for component 'hm2_eth' to become ready.Board hm2_7i76e.0.7i73.0.1 Software Mode 0 = inputoutputencoderdisplaykeycode8by8
Board hm2_7i76e.0.7i73.0.1 Software Mode 1 = inputoutputencoderanalogdisplaykeycode8by8
.Board hm2_7i76e.0.7i73.0.1 Software Mode 2 = inputoutputencoderanalogwidedisplaykeycode8by8
.......hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)

..................

7 s32 OUT 2098000000 hm2_7i76e.0.0.debug
7 float OUT 1.656471 hm2_7i76e.0.7i73.0.1.analogin0

7 float OUT 23.60954 hm2_7i76e.0.7i76.0.0.fieldvoltage

7 float IN 1 hm2_7i76e.0.dpll.base-freq-khz
7 u32 OUT 0x0000002A hm2_7i76e.0.dpll.ddsize
7 float OUT -3.622883 hm2_7i76e.0.dpll.phase-error-us
7 u32 IN 0x00400000 hm2_7i76e.0.dpll.plimit
7 u32 OUT 0x00000018 hm2_7i76e.0.dpll.prescale
7 u32 IN 0x000007D0 hm2_7i76e.0.dpll.time-const

7 bit OUT FALSE hm2_7i76e.0.packet-error
7 bit OUT FALSE hm2_7i76e.0.packet-error-exceeded
7 s32 OUT 0 hm2_7i76e.0.packet-error-level
7 s32 OUT 0 hm2_7i76e.0.read-request.time
7 s32 OUT 723640 hm2_7i76e.0.read.time
7 u32 OUT 0x00000000 hm2_7i76e.0.sserial.port-0.fault-count
7 u32 OUT 0x00000003 hm2_7i76e.0.sserial.port-0.port_state
7 u32 OUT 0x00000000 hm2_7i76e.0.sserial.port-0.port_state2
7 u32 OUT 0x00000000 hm2_7i76e.0.sserial.port-0.port_state3
7 bit IN TRUE hm2_7i76e.0.sserial.port-0.run

7 bit OUT FALSE hm2_7i76e.0.packet-error
7 bit OUT FALSE hm2_7i76e.0.packet-error-exceeded
7 s32 OUT 0 hm2_7i76e.0.packet-error-level
7 s32 OUT 0 hm2_7i76e.0.read-request.time
7 s32 OUT 723640 hm2_7i76e.0.read.time
7 u32 OUT 0x00000000 hm2_7i76e.0.sserial.port-0.fault-count
7 u32 OUT 0x00000003 hm2_7i76e.0.sserial.port-0.port_state
7 u32 OUT 0x00000000 hm2_7i76e.0.sserial.port-0.port_state2
7 u32 OUT 0x00000000 hm2_7i76e.0.sserial.port-0.port_state3
7 bit IN TRUE hm2_7i76e.0.sserial.port-0.run

..................

7 u32 RW 0x00000001 hm2_7i76e.0.7i73.0.1.hwrevision
7 u32 RW 0x00000000 hm2_7i76e.0.7i73.0.1.keymode
7 u32 RW 0x00008000 hm2_7i76e.0.7i73.0.1.nvanalogfilter
7 u32 RW 0x00000009 hm2_7i76e.0.7i73.0.1.nvbaudrate
7 u32 RW 0x00002710 hm2_7i76e.0.7i73.0.1.nvcontrast
7 u32 RW 0x00000414 hm2_7i76e.0.7i73.0.1.nvdispmode
7 u32 RW 0x00000000 hm2_7i76e.0.7i73.0.1.nvencmode0
7 u32 RW 0x00000000 hm2_7i76e.0.7i73.0.1.nvencmode1
7 u32 RW 0x00000000 hm2_7i76e.0.7i73.0.1.nvencmode2
7 u32 RW 0x00000000 hm2_7i76e.0.7i73.0.1.nvencmode3
7 u32 RW 0x0000001E hm2_7i76e.0.7i73.0.1.nvkeytimer
7 u32 RO 0x130000B2 hm2_7i76e.0.7i73.0.1.nvunitnumber
7 u32 RO 0x00000032 hm2_7i76e.0.7i73.0.1.nvwatchdogtimeout
7 bit RW FALSE hm2_7i76e.0.7i73.0.1.output-00-invert

7 u32 RW 0x0000000E hm2_7i76e.0.7i76.0.0.swrevision

7 bit RW FALSE hm2_7i76e.0.io_error
7 s32 RO 1 hm2_7i76e.0.packet-error-decrement
7 s32 RW 2 hm2_7i76e.0.packet-error-increment
7 s32 RW 10 hm2_7i76e.0.packet-error-limit
7 s32 RW 80 hm2_7i76e.0.packet-read-timeout
7 s32 RW 0 hm2_7i76e.0.read-request.tmax
7 bit RO FALSE hm2_7i76e.0.read-request.tmax-increased
7 s32 RW 817264 hm2_7i76e.0.read.tmax
7 bit RO FALSE hm2_7i76e.0.read.tmax-increased
7 bit RW FALSE hm2_7i76e.0.sserial.00.tx0.invert_output
7 bit RW FALSE hm2_7i76e.0.sserial.00.tx0.is_opendrain
7 bit RW FALSE hm2_7i76e.0.sserial.00.tx1.invert_output
7 bit RW FALSE hm2_7i76e.0.sserial.00.tx1.is_opendrain
7 u32 RW 0x00000001 hm2_7i76e.0.sserial.port-0.fault-dec
7 u32 RW 0x0000000A hm2_7i76e.0.sserial.port-0.fault-inc
7 u32 RW 0x000000C8 hm2_7i76e.0.sserial.port-0.fault-lim

.........................

7 u32 RW 0x004C4B40 hm2_7i76e.0.watchdog.timeout_ns
7 s32 RW 42088 hm2_7i76e.0.write.tmax
7 bit RO FALSE hm2_7i76e.0.write.tmax-increased
10 u32 RW 0x0000002E lcd.00.decimal-separator
10 s32 RW 1992 lcd.tmax
10 bit RO FALSE lcd.tmax-increased
14 s32 RW 854656 thread1.tmax

.........................
Exported Functions:
Owner CodeAddr Arg FP Users Name
00007 7f46425c76cf 55da5ff309d0 YES 1 hm2_7i76e.0.read
00007 7f46425c765f 55da5ff309d0 YES 0 hm2_7i76e.0.read-request
00007 7f46425c757c 55da5ff309d0 YES 1 hm2_7i76e.0.write
00010 7f46421b87cb 7f46445f3398 YES 1 lcd

Realtime Threads:
Period FP Name ( Time, Max-Time )
1000000 YES thread1 ( 721120, 854656 )
1 hm2_7i76e.0.read
2 lcd
3 hm2_7i76e.0.write

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

More
04 Mar 2018 19:13 #106925 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
7 u32 RW 0x0000000E hm2_7i76e.0.7i76.0.0.swrevision

That's newer than mine, I can try updating. But I suspect that PCW would have mentioned if there had been any LCD updates in the firmware?

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

More
04 Mar 2018 19:20 #106926 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Here a copy

It is able to run but until now only on my test bench.
And not yet proper documented, but the lcd stuff is in the display.hal

File Attachment:

File Name: MeBigCNC3a.tar
File Size:850 KB


Sorry, I don't know if I can come back to you tonight, we have guests and I'm already twice asked to come toe eat.

but TX again
Mike
Attachments:

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

More
05 Mar 2018 16:16 #106962 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
@pcw
Do you need some explaining for the project dir i did send you?
Thx Mike

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

More
05 Mar 2018 21:07 #106973 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch
One other variable.
Exactly which LCD display are you using? Perhaps I should try to get the identical one?

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

More
05 Mar 2018 21:28 #106978 by Mike_Eitel
Replied by Mike_Eitel on topic 7i73 LCD shows rubisch
Actually this is quite an old one, important is only the controller chips.
I read BT 42008 LED V1
www.datasheetlib.com/datasheet/1135432/bt42008_data-modul.html

They are from production spares i got some years ago. Nice big ones.
But when i tested 7i73 first time i also used some different tinier ones, laying around and they also worked flawless. (Was in my deciding phase of designing my tableau)

Only thing to know. These kind of lcd tend to need slightly negative voltage for the brightness.
That's why i have a small icl7660 and poti for the brightness pin witch is disconnected from the 7i73.

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

More
05 Mar 2018 21:40 #106982 by newbynobi
Replied by newbynobi on topic 7i73 LCD shows rubisch
Hallo Andy,
hallo mike,

i followed this thread, but did not test the so called fixes.
I mentioned in an ealier post, the push that destroid the display communication.
Can you please explain, why you do change lcd.comp? It might not be clean coded, but the communication problem must be related to something else.

I have just reseted the computer from my machine to the working branch and since that step, my displayworks fine!

Same as Mike, i am using a 7i76e with the 7i73 connected directly to that one.
As mentioned earlier, i can borrow you such a config, i just do not have a second display, may be Mike can borrow you one.

Please do not considder this post as unpolite critism, i just want to guide your attention to the fakt that a known push destroid the communication.

Norbert
The following user(s) said Thank You: Mike_Eitel

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

More
05 Mar 2018 21:45 #106983 by andypugh
Replied by andypugh on topic 7i73 LCD shows rubisch

Mike_Eitel wrote: Actually this is quite an old one, important is only the controller chips.
I read BT 42008 LED V1
www.datasheetlib.com/datasheet/1135432/bt42008_data-modul.html .


OK, I found one on eBay, should be here by Friday.

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

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