Hello,
i have a problem using the GLCD component. after call the device macro "initalize" the compiler will show the following massage "analog_to_display2.c: 214: (1250) could not find space (128 bytes) for variable _FCV_0ef51_gLCD_SH1106_SPI1__DRAM0"
I have tested wit a PIC16F1827 and a PIC16F18325. Maybe there is samething wrong with the component?
Problem using GLCD_SH1106_SPI
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Problem using GLCD_SH1106_SPI
Hello,
The SH1106 display component requires a 1K RAM buffer to allow for pixel manipulation to work correctly. So basically you have run out of RAM on your selected microcontroller device. Can you choose another device with more RAM available?
I can maybe switch off the buffer functionality or at least provide a property to switch it on and off but without the buffer you will be severely limited in terms of what you can do with the display.
The SH1106 display component requires a 1K RAM buffer to allow for pixel manipulation to work correctly. So basically you have run out of RAM on your selected microcontroller device. Can you choose another device with more RAM available?
I can maybe switch off the buffer functionality or at least provide a property to switch it on and off but without the buffer you will be severely limited in terms of what you can do with the display.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 47
- Joined: Mon Apr 16, 2018 10:28 am
- Location: Germany
- Has thanked: 1 time
- Been thanked: 9 times
- Contact:
Re: Problem using GLCD_SH1106_SPI
yeah no it will work work...... almost.
The code will be compiled an prograammed, but the display shows not the expexted lines......
Ithink it will be a problem with the cloch frequency ....
Maybe someone has an Idea.
The code will be compiled an prograammed, but the display shows not the expexted lines......
Ithink it will be a problem with the cloch frequency ....
Maybe someone has an Idea.
- Attachments
-
- display.jpg (72.57 KiB) Viewed 2700 times
-
- display5.fcfx
- (9.68 KiB) Downloaded 170 times
-
- Posts: 47
- Joined: Mon Apr 16, 2018 10:28 am
- Location: Germany
- Has thanked: 1 time
- Been thanked: 9 times
- Contact:
Re: Problem using GLCD_SH1106_SPI
I have found the problem, one IO-PIN (the D/C Pin) from my PIC was defective.......