Part Number:MSP432P401R
Tool/software: Code Composer Studio
I'm currently trying to program an FFT algorithm onto my MSP432 and am running into an error in which half way through the program, several of the variables have values assigned to locations outside of the SRAM_DATA. Specifically, SRAM_DATA is limited between 0x20000000 and 0x20010000 while the variables are starting in location 0x1FFFFFB8. Because of this faulty assignment, I receive the error "Memory map prevented reading 0x1F..."
As a beginner, I'm not very familiar with memory management for different types of variables. What determines the memory location in which variables are stored? How is this dependent on the type of variable it is?
One strange occurrence is when I reduce the FFT length from 2048 (taking up 16% of flash and 3% of ram) to 1024, the algorithm works perfectly. I understand that increasing the array size enough will eventually run out of memory, but I should be nowhere near that limit. I've also noticed that declaring the variable as static removes the prevented reading error from that variable, but still errors later in the program. Any advice is much appreciated!