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

Booting firmware image through bootloader

Hi!

I'd already mentioned I'm working on lpc1837.

Having been able to boot firmware through boot-loader successfully(when they are in same flash bank), my next job is to get the same result when boot-loader and firmware are in different flash banks.

I tried my previous approach, i.e. to use test firmware built with base address 0x1b020000 (in flash bank-B),while boot-loader is in flash bank-A at 0x1a020000. While trying this I didn't use remap for vector table. That went well. And I tried the same with my actual firmware and bootloader.

This time whenever "svc 0x00"call is made, the branch is going to 0xffffffff, instead of svc_handler of bootloader which is expected. I used all the same settings with little modifications in test and actual firmware.

Can anyone throw a light upon this matter

Parents
  • Well, there is always a need to decide how to partition the code.

    What parts of the initialization that should be done by the boot loader and what parts should be done by the started application. A number of initialization steps are not designed to be run by both boot loader and application.

    In the end, it really helps to understand all used code.

Reply
  • Well, there is always a need to decide how to partition the code.

    What parts of the initialization that should be done by the boot loader and what parts should be done by the started application. A number of initialization steps are not designed to be run by both boot loader and application.

    In the end, it really helps to understand all used code.

Children
No data