There is a function that is supposed to return a pointer to a structure in the RAM, let's say it should return 0x200063FC. The problem I got with this function is that its always returning 0x1 and it causes the rest of my program to crash.
I know the function code itself is not the cause. I've used it already with no problem. (its pbuf_alloc() from lwip 1.3.0)
Maybe the target (internal FLASH) isnt set properly or some init code hasnt been called.