Tool/software: TI C/C++ Compiler
Hi,
I have problem with calloc function :
ptr = (int *) calloc(200, sizeof(int));
for(i=0; i<200; i++) {
ptr[i] = i+1;
}
When i compile the code and debug the first line i have ptr address 0x00000000 {-12238}. Then of course code get crashed and jump to : __TI_ISR_TRAP
The point is if I change size to 50 is working fine.
I have 65% of 16KB RAM free and I want to allocated about 2KB array.
Any idea?
Regards
Kris
