Francois Bouchard

MCF52259 and CW 7.1.1 pro (eval) returning value problem

Discussion created by Francois Bouchard on Jun 30, 2009
Latest reply on Jul 1, 2009 by Haihang Sun



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.