This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Starting at address other than 0

Hi,

I'm using Keil v4 along with Cortex M4 (in this casa Freescal's K40)
I have to create a project that will be linked and executed at address grater than 0 (0x400 to be exact).

It will help if I will be able to compile and build the Blinky sample at an address > 0.
Simply changing the address in the TARGET page will result in a non functioning project (it will abort as soon as it will be executed on the target)

Thanks,
Eitan.

Parents
  • The point of this is to create a boot loader (Keil + Freescale K40).
    The target will be loaded with the boot loader which in turn will get data from a UART channel and update the flash with the main application, the last thing it will do is to jump to the application address and execute it.

    as an early step I'm simply attempting to use Keil to flash a program at any address other then 0 , and then using the debugger jump to this address and execute it.

    I guess that this is not that simple, it's not working.

Reply
  • The point of this is to create a boot loader (Keil + Freescale K40).
    The target will be loaded with the boot loader which in turn will get data from a UART channel and update the flash with the main application, the last thing it will do is to jump to the application address and execute it.

    as an early step I'm simply attempting to use Keil to flash a program at any address other then 0 , and then using the debugger jump to this address and execute it.

    I guess that this is not that simple, it's not working.

Children