I want my code to run from address 0x1000 since my bootloader will be stored in the 0x0000-0x0FFF address space. There is no bootloader programmed in this space yet, but I want to see if I can get my code running from address 0x1000. I've done the following but the code does not execute:
http://www.keil.com/support/docs/143.htm
My application is using interrupts and like I said its not running. Is there something else that I should do, and if so what will it be?
The reset and interrupt vectors on 8051 devices are usually fixed at 0x0000, 0x0003, 0x000B, 0x0013, 0x001B, ...
If you relocate your program to an alternate address, you need to do something to guarantee that interrupts are redirected from their default addresses to the new addresses. This is usually done with a redirection table.
Refer to http://www.keil.com/support/docs/132.htm and http://www.keil.com/support/docs/2707.htm for some ideas.
Jon