Hi Rose,
SYS/BIOS does not use the -heap section in the linker.cmd file. After you set the heap size in the .cfg file (Rahul's sample code above), SYS/BIOS allocates that space within the program data section. The -heap section should remain at 0.
Let me know if you still encounter any problems.
Regards,
--Emmanuel