Atmega328p and flash memory
-
Hello all,
I'm trying to combine several sketches and unfortunately with signing i am running out of flash memory. The code cannot be optimised further.
I do like atmega328p and wonder if there is any chance to use a serial SPI flash (the library is here https://github.com/LowPowerLab/SPIFlash) to accommodate a larger sketch size? Or my only option is to switch to atmega1284?Thanks
Alex
-
@alexsh1 atmega328 does not support running code from external flash, so you are out of luck. You could also consider switching to a different cpu architecture (esp, atsamd, stm32,... ) with more flash.
-
@Yveaux Thanks. This is a battery run multisensor so ESP8266 is not an option. ESP32 is an overkill. I'm not that much familiar with other platforms so I suppose my only option is atmega1284 :((
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Why is the output of ACS712 current measurement module unchanged?
General Discussion • 19 Jul 2021, 09:09 • Tessie T 29 Mar 2025, 16:30 -
What is actual status of MySensors?
General Discussion • 18 days ago • perfectom 10 days ago -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 27 Mar 2025, 06:07 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 29 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29