Every so often I chase memory overflows (IRAM or variable space) and I never remember where the settings are that need to be changed.
I added a global structure array that caused my code not to even run. When I reduced the size of the new array, the code ran again, so I knew I was on the edge of an overrun. But, it doesn't look like it, or I don't know what I am looking for. My IRAM1 starts at 0x40000800 with a size of 0xC000. I have a stack space of 1K and heap size of 2K in my startup. In the memory map, the RW Data + ZI Data is 30528. If I raise the size of the array, that makes the RW+ZI 30750, the system won't run. What does the 0xC000 include? That is 49K. Is that not associated with RO+ZI? What other settings do I need to check? Thanks.
Sutton