Using EEPROM on PIC causes compile error.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
chezkrimles
Posts: 9
http://meble-kuchenne.info.pl
Joined: Thu Jan 14, 2021 7:12 pm
Has thanked: 2 times

Using EEPROM on PIC causes compile error.

Post by chezkrimles »

Hello, I am having difficulty using the EEPROM on a PIC16F882 which has 128 bytes of flash storage on Flowcode 9.
I keep getting compile errors no matter what I try. I have used EEPROM storage just fine when using Flowcode 5 in the past.
eeprom read example.png
eeprom read example.png (225.68 KiB) Viewed 1121 times
See attached snapshot.
Any ideas what I am doing wrong here? Thanks.

kersing
Valued Contributor
Posts: 168
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 71 times
Been thanked: 62 times

Re: Using EEPROM on PIC causes compile error.

Post by kersing »

Your code size exceeds the available flash in this device. According to the compiler messages you could be using floating point math which takes up a large amount of flash, if you don’t need it that might free up the required space.

Post Reply