 | Discussion Forum |  |
|
|
uVision3 simulator access violation in code banking multi-application programNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author joel stapleton Posted 15-Feb-2010 16:21 GMT Toolset C51 |  uVision3 simulator access violation in code banking multi-application program joel stapleton 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. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|