[coldfire-gnu-discuss] M52235EVB - Problem using malloc - Access Error Attempted Write to Write-Protected Space

Nathan Sidwell nathan at codesourcery.com
Thu Mar 1 15:43:50 UTC 2007


Daniel McLean wrote:
> Thanks for the quick response Nathan..
> 
> What test would you like in terms of a test case?

I've tried a simple program:

int main ()
{
   printf ("boo\n");
   malloc (5);
   printf ("ya\n");
   return 0;
}

and it works fine for me from ROM on a 5208 board.  I didn't have a 52235 board 
I could run this on.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan at codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the coldfire-gnu-discuss mailing list