Tool/software: Starterware
Hi,
In a simple non RTOS program which needs to work with strings and write bytes into EEPROM, I wanted to convert my C program to a C++.
So I included with #include <iostream>
But on launching debugger the program did not come to main..
I debugged in the starter portion. I found that on reaching initialization of user defines structures and variables the prgram crashed into fault ISR.
But on removing inclusion of iostream, this behavior vanished and the program executed correctly.
So without knowing why I increased stack size to 1024 and arbitrarily set heap size to 100000.
Now the program worked correctly!
Please help me understand the problem and the correct way to migrate to C++
Thank you
Best Regards
Pavitra