This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

malloc() not working in F28335

With the following settings,
  • CCS: v 3.3.38.2
  • Code Generation Tool: v5.2.13
  • Development Board: DSC F28335 
  • Project Settings: Hardware FPU (rts2800_fpu32.lib, fpu32 support)
  • Autoinit Model: Run Time Autoinitialization
  • Heap Size: 0x800
I am having problem in using malloc() function as it does not execute. When I tried to debug the code the following lines of code directs the controller to "illegal ISR".
 
00AE85 761F MOVW   DP,#0x032D
00AE87 C534 MOVL   XAR7,@52
00AE88 3E67 LCR    *XAR7
00AE89 761F MOVW   DP,#0x032D