gLCD_ST7567_SPI1 problem

Any bugs you encounter with Flowcode should be discussed here.
Osta
Posts: 60
http://meble-kuchenne.info.pl
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Flowcode v9 gLCD_ST7567_SPI1 problem

Post by Osta »

Everything works in the compiler.
Not on the real device.
What am I doing wrong?
PIC18F67K22
Attachments
MDFC9.fcfx
program
(38.03 KiB) Downloaded 6 times
In the device
In the device
LCD.jpg (70.93 KiB) Viewed 130 times
In the compiler
In the compiler
FC9.jpg (17.88 KiB) Viewed 130 times
Last edited by Osta on Wed Oct 22, 2025 10:03 am, edited 3 times in total.

BenR
Matrix Staff
Posts: 1985
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 523 times
Been thanked: 709 times

Re: gLCD_ST7567_SPI1 problem

Post 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.

Osta
Posts: 60
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Re: gLCD_ST7567_SPI1 problem

Post by Osta »

Hello!
I compared there are changes.
I'll send you a picture now
Attachments
New
New
New HEX.jpg (97.42 KiB) Viewed 99 times

Osta
Posts: 60
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Re: gLCD_ST7567_SPI1 problem

Post 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

BenR
Matrix Staff
Posts: 1985
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 523 times
Been thanked: 709 times

Re: gLCD_ST7567_SPI1 problem

Post 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.

BenR
Matrix Staff
Posts: 1985
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 523 times
Been thanked: 709 times

Re: gLCD_ST7567_SPI1 problem

Post 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 3 times

Osta
Posts: 60
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Re: gLCD_ST7567_SPI1 problem

Post by Osta »

I updated the libraries, copied the file, I'll try now

Osta
Posts: 60
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Re: gLCD_ST7567_SPI1 problem

Post by Osta »

It's all back again...
Does your HEX work..
Attachments
New lib
New lib
New lib.jpg (121.35 KiB) Viewed 66 times

Osta
Posts: 60
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Re: gLCD_ST7567_SPI1 problem

Post by Osta »

Hooray!!!
I restarted the compiler and everything worked!!!!!
You are the best!!!!!!!!!!!!!!!
Attachments
Qk!!!!!!!!!!.jpg
Qk!!!!!!!!!!.jpg (100.55 KiB) Viewed 52 times

Osta
Posts: 60
Joined: Thu Dec 10, 2020 1:12 pm
Has thanked: 1 time
Been thanked: 5 times

Re: gLCD_ST7567_SPI1 problem

Post by Osta »

Thanks a lot!

Post Reply