Page 1 of 1

Using EEPROM on PIC causes compile error.

Posted: Sun Jan 23, 2022 12:08 am
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 2080 times
See attached snapshot.
Any ideas what I am doing wrong here? Thanks.

Re: Using EEPROM on PIC causes compile error.

Posted: Sun Jan 23, 2022 11:18 am
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.