AnsweredAssumed Answered

Launch termination with reference to "RTE" from the interrupt handler.

Question asked by Daniel Rankin on Jul 26, 2012
Latest reply on Aug 10, 2012 by Daniel Rankin

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 [640];




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 :smileysad:
        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?


Any suggestions are very much appreciated :smileyhappy: Attached is one of the codes I've written that generates this error.