Hi I am also facing the same problem, CAn you pl tell me the answer for the same ??????????????/
Thanks venu Andrew Lunn-2 wrote: > >> 16 .bss 00004d4c 81200bf8 81200bf8 00028bf8 2**4 >> ALLOC >> ----------------------------------------------------------------- >> and a dump showing __heap1 >> >> 81205948 A __heap1 >> 81200ac0 D cygmem_memalloc_heaps >> 812033b4 B cygmem_pool_heap1 >> >> --------------------------- >> >> Hmm. If I do the arithmetic and I understand things correctly, >> >> my heap pointer __heap1 = 8120 5948 >> which is 4 bytes past the end of bss = ( 8120 0bf8 + 0000 4d4c ) = >> 0x8120 5944 >> >> which would seem to be incorrect. My RAM allocation (as per my linker >> file sent in previous message) ends at 8120 0000 + 20 0000 = 8140 0000 >> >> Therefore I conclude __heap1 is sent incorrectly. > > _heap1 is the start of the heap. It is normally directly after the bss > and goes to the top of memory. So you heap should be 0x81205948 - > 0x81400000 > > So this looks O.K. I think the problem is somewhere else. > > Andrew > > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > > > -- View this message in context: http://www.nabble.com/malloc1-test-and-posix-stdio-fails-tp4412402p19309033.html Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
