Page 1 of 2

gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 9:26 am
by Osta
Everything works in the compiler.
Not on the real device.
What am I doing wrong?
PIC18F67K22

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 10:35 am
by BenR
Hello,

I've compiled the project in v11 to see if that makes a difference for you.

Here is the compiled hex file.
MDFC9.zip
(8.39 KiB) Downloaded 6 times
If this works ok then we will compare the v11 component with the v9 component.

If it doesn't work then we will investigate the code for the ST7567 component.

You could also maybe try the ST7565 component.

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 11:03 am
by Osta
Hello!
I compared there are changes.
I'll send you a picture now

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 11:18 am
by Osta
As in the first option, the program freezes.
The interface does not switch.
It turns out it freezes at the time of graphics output

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 1:46 pm
by BenR
Ok that's progress at least.

Have you done a library update to check you have the latest version of the component.

Help -> Library Updates

I'm just comparing the component code between v9 and v11 here and though there are some changes these are more to do with feature improvements. The core pixel drawing routines look identical.

I'm also trying to find out why you are getting that strange maze type corruption so will continue chasing that problem.

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 2:07 pm
by BenR
I see why we're getting the corruption now and also maybe the lockup.

I've now pushed an update to v10 and v11 components that should hopefully solve this.

Here is the latest v9 component, just copy and paste into this directory.
C:\ProgramData\MatrixTSL\FlowcodeV9\Components

gLCD_ST7567_SPI.fcpx
(12.29 KiB) Downloaded 4 times

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 2:14 pm
by Osta
I updated the libraries, copied the file, I'll try now

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 2:22 pm
by Osta
It's all back again...
Does your HEX work..

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 2:31 pm
by Osta
Hooray!!!
I restarted the compiler and everything worked!!!!!
You are the best!!!!!!!!!!!!!!!

Re: gLCD_ST7567_SPI1 problem

Posted: Wed Oct 22, 2025 2:34 pm
by Osta
Thanks a lot!