Hi All,
I'm using the MSP-EXP430F5438 with MPS430430F5438A, i'm using the SPP Demo of Bluetopia and modifid it a little. In the main right after the clock intialiation i want to calloc a memory space of 32 chars. But when i run the code the program "Freezes" when i pause the debuger i get No source available for "0x4".
Can anyone tell me why i can't allocate memory, malloc also doesn't worl
The code that i use:
char * Test_Pointer = 0;
/* will configure the hardware and initialize the OS Abstraction */
/* layer, create the Main application thread and start the scheduler.*/
int main(void)
{
/* Turn off the watchdog timer */
WDTCTL = WDTPW | WDTHOLD;
/* Configure the hardware for its intended use. */
HAL_ConfigureHardware();
Test_Pointer = (char*) calloc (32,sizeof(char)); // it hangs here