I'm coding with C++ on an MSC8156EVM. As I'm either reading large input data files (40MB of total data that I need to save to memory) and storing them into memory:
float *tx_x = new float ;
or performing a function that I've defined:
mat = new char *[d1];
for (int i = 0; i < d1; i++)
mat[i] = new char [d2];
results << mat[i] << "\n"; //To check the progress of this loop (only iterates 24 times)
for (int i=0; i < d1; i++) //Program never gets here
for (int j = 0; j < d2; j++)
mat[i][j] = 0.0;
Everything builds, compiles, and begins running fine but quickly terminates with a reference to "rte" in the startup__startup_msc8156_.asm file.
I've increased my heap size to "0xc000" which is the max I can make it, but am still hitting this wall. Is my problem a memory problem? Do I need to modify the LCF?