We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using a Goal VRS1000 chip that allows for in-system programming. The ISP program is located at the end of the Flash Memory area. Location 0000h must contain FFh which directs the PC to the beginning of the ISP program upon reset. Depending on the state of Pin 3.2, the ISP program will either continue, or jump to location 100h. Location 100h should be the start of the user program. So, my question is how to specify that my program's main() routine - OR a jump command TO the main routine - is located at 100h? I have tried to change the program start location, in the BL51 Locate option menu. The compiler WILL start the code at 100h. HOWEVER, it arranges the routines in a seemingly arbitrary order so that the first routine at 100h is never the main() routine! Any suggestions? -Michael
Refer to the following knowledgebase article: http://www.keil.com/support/docs/189.htm Jon