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

Nathan Sidwell nathan at codesourcery.com
Mon Mar 5 12:58:19 UTC 2007


Daniel ,
> Thanks for you help.  You were correct in being suspicious of my data
> initialisation.  I had an offset problem in my linker control file that was
> causing the data and BSS sections to be 1k further along in memory than they
> should have been. (My mistake as I'd marked the vector RAM table as NOLOAD)

glad you've found the problem.

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