On 03/09/2010 09:15 AM, Ruvinda Dhambarage wrote: > hi, > Iam using gcc 4.1.0 to compile code for a ARM922T. > my code runs from the internal 64KB SRAM. > when i run some functions it gets stuck or behaves unexpectedly when > the .bin file gets larger than ~28KB. > curiously, its the functions in the .o files that i added last that > gets stuck. The functions in the .o which were added first, work > without getting stuck. > > what are the possible causes? Bad hardware. OS bug. Linker bug. You made a mistake somewhere that corrupts memory. Etc, etc. Andrew.