I don't fully understand the problem pammu but I suspect it arises due to the reset position of the RAM. Check the databook, but in general the RAM block is aligned at 0x0000 at reset so an 8k RAM part has RAM from 0x0000 - 0x1FFF (12k is 0x1000 to 0x3FFF because it is in a 16k block which is top-aligned at reset).
So unless you move the RAM it will not exist above 0x2000 and will cause an error if you attempt to access it.
Have you tried asking Cosmic about this?
Steve,
What you say is correct. On reset the RAM is aligned to 0000. So in my code I am remapping EEPROM and RAM to begin at 800 and 2000 respectively. But this is not working. I am just unable to download the code. But if I remap the RAM to 1000, everything works fine.
I am in contact with Cosmic regarding this. Lets see what they reply.
Message Edited by pammu on 02-01-2006 11:11 AM
Message Edited by pammu on 02-01-2006 11:12 AM