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)|
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