I have a strange problem in that initialised variables in external RAM are not being initialised by the 'C' startup code when the size of data exceeds a certain size - it gets zero initialised instead. Therefore I need to debug my code and either single step through __main or at the very least examine the source for it. However, I cannot find the code for __main. Can anyone help?
Yes, as it works OK when I decrease the size of data and the initialised part of the data is located within the first few bytes of the RAM. Do you know where I can find __main?