Everything works in the compiler.
Not on the real device.
What am I doing wrong?
PIC18F67K22
gLCD_ST7567_SPI1 problem
-
Osta
- Posts: 60
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 1:12 pm
- Has thanked: 1 time
- Been thanked: 5 times
gLCD_ST7567_SPI1 problem
- Attachments
-
- MDFC9.fcfx
- program
- (38.03 KiB) Downloaded 6 times
-
- In the device
- LCD.jpg (70.93 KiB) Viewed 128 times
-
- In the compiler
- FC9.jpg (17.88 KiB) Viewed 128 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
Hello,
I've compiled the project in v11 to see if that makes a difference for you.
Here is the compiled hex file. 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.
I've compiled the project in v11 to see if that makes a difference for you.
Here is the compiled hex file. 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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
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
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
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
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel