AnsweredAssumed Answered

Abort Exception while executing Malloc() in Faraday evb

Question asked by sathishkumar sigamani on Feb 7, 2014
Latest reply on Feb 10, 2014 by sathishkumar sigamani

Hi All,


I have moved my program to QSPI0 and trying to boot(Execute in place) from there. The software is booting up but while executing the malloc() function, it is throwing Data Abort exception.


It is due to the invalid "_impure_ptr" value which is used in the malloc function.

The map extract of it is ...


.data      0x3f01433c   0xf4 C:/Program Files/CodeSourcery/Sourcery G++ Lite/arm-none-eabi/lib/thumb2\libc.a(lib_a-impure.o)
            0x3f01433c            _impure_ptr


I am getting this issue only if i am booting from QSPI. If it is running in DDR, the "_impure_ptr" having the valid address.


I couldn't able to locate, how this address got loaded?


Can anyone help me out on this?


Thanks for your Time