Hello,
I'm trying to switch from softdevice s332 v2 to s332 v5 (tried also v4), but I get this error: "region RAM overflowed with stack". I'm guessing the problem is in the linker file configuration, but I can't find the proper values of RAM and FLASH.
For example ANT documentation for v5 says: Flash 0x2D000 and RAM 0x1F30, so I set:
MEMORY
{
FLASH (rx) : ORIGIN = 0x2D000, LENGTH = 0x53000
RAM (rwx) : ORIGIN = 0x2000E0D0, LENGTH = 0x1F30
}
and for v4: Flash 0x29000 and RAM 0x1E30, so:
MEMORY
{
FLASH (rx) : ORIGIN = 0x29000, LENGTH = 0x57000
RAM (rwx) : ORIGIN = 0x2000e1d0, LENGTH = 0x1e30
}
Is this the problem? Am I setting the wrong values?
Thank you very much,
Francesco