OpenMarine
LCD JLX12864 flashing - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17)
+--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18)
+--- Thread: LCD JLX12864 flashing (/showthread.php?tid=4403)

Pages: 1 2 3 4


RE: LCD JLX12864 flashing - stelian - 2023-01-09

I for one suspect the initialisation sequence, looking at https://github.com/bitbank2/uc1701/blob/master/uc1701.c and https://github.com/olikraus/u8g2/blob/master/csrc/u8x8_d_st7567.c there are some differences worth to be tested...


RE: LCD JLX12864 flashing - seandepagnier - 2023-01-09

my driver may be different because you can plug and unplug the display at any time and it still works, so it resets all the registers every frame, but this may cause a refresh somehow.


RE: LCD JLX12864 flashing - seandepagnier - 2023-01-11

I am not sure what is going on exactly but I think I fixed it:

https://github.com/pypilot/pypilot/commit/8b40189875c3f947e7a893a1a987e837b3dbc104


RE: LCD JLX12864 flashing - stelian - 2023-01-11

Did you try adding a small delay between each boost command ?

Because in u8g2 I see this:
/* power on sequence from paxinstruments */
U8X8_C(0x028|4), /* all power control circuits on */
U8X8_DLY(50),
U8X8_C(0x028|6), /* all power control circuits on */
U8X8_DLY(50),
U8X8_C(0x028|7), /* all power control circuits on */
U8X8_DLY(50),

Just wondering...


RE: LCD JLX12864 flashing - stelian - 2023-01-11

Is this change compatible with both old and new displays ?

I just tested and it seems it works with my older JLX displays


RE: LCD JLX12864 flashing - Onno - 2023-01-12

Thanks Sean! Yes it works on both old and new version display!


RE: LCD JLX12864 flashing - seandepagnier - 2023-01-12

I wonder why it works.


RE: LCD JLX12864 flashing - m-feddersen - 2023-01-23

Yes it''s work on openplotter/Raspi3b after updating via

git clone https://github.com/pypilot/openplotter-pypilot
cd openplotter-pypilot
sudo python3 setup.py install
and:
edit the hat.conf "default" to jlx12864

Thanks

I also have a Tinypilot on a zero w (Build with the manual https://github.com/AndreasW29)
If I want to do the update like in the workbook

cd
mkdir pypilot-update
cd pypilot-update/
git clone git://github.com/pypilot/pypilot
git clone --depth 1 git://github.com/pypilot/pypilot_data
cp -rv pypilot_data/* pypilot
cd pypilot
. pypilot.build

the git command is not executed "fatal: unable to connect to github.com"
pink google.com works for example. I don't know what mistake I'm making.


RE: LCD JLX12864 flashing - stelian - 2023-01-23

github removed support for unauthenticated git recently : https://github.blog/changelog/2022-03-15-removed-unencrypted-git-protocol-and-certain-ssh-keys/

You can clone over https as you did for openplotter: instead of git://github.com/pypilot/pypilot use https://github.com/pypilot/pypilot and same thing for pypilot_data.


RE: LCD JLX12864 flashing - m-feddersen - 2023-01-26

I had already tried that, but unfortunately no https connections via git seem to be established with Tinypilot images. Fatal error: Cannot find remote helper for 'https'