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 -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24 -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 16 Mar 2025, 20:17 -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 23 days ago -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 26 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29