I have a multi-application program as in APP Note 180: http://www.keil.com/appnotes/docs/apnt_180.asp
My application is built in one project and then I include the OMF file in my boot loader project (Link Publics Only) to build it seperately. The Keil simulator steps through the boot loader and application code as long as the boot project does not use code banking. When code banking is used for the boot loader, the simulator reports an access violation for the code memory the application uses and shows NOP instructions for all that memory.
The boot loader uses C:0x0000-C:0x1FFF. The application uses C:0x2000-C:0x2FFF. The code banks are defined in C:0xC000-C:0xFFFF.
I tried using the MAP command in the simulator console to allow READ and EXEC access to the application memory (C:0x2000,C:0x2FFF) but that only stopped the error message - there is still NOP instructions in all the application assembly and the simulator will not step into the code.
Any ideas appreciated.