I want to design a boot loader. I create two project (boot and flash).
If program start from boot area. How to jump to flash area?
IDE: e2 studio
MCU : RL78/F14 (R5F10PPH)
The simple way is to have the start address of the application on a fixed address and do an unconditional branch from the boot loader to this address. BR application_start
In reply to FrankL:
In reply to Adams:
Please have a look at this application note. www.renesas.com/.../D3011973.html My recommendation is NOT to make 2 projects but to make only one project including both boot loader and application code. You can still separate both by renaming the sections for either boot loader or application and placing them in different memory blocks. But it makes handling of reset vector, interrupt vectors and option bytes much easier, not to speak of debug memory usage. And you can use a simple function call from boot loader to application code.