Boot a ldr file larger than 64K

Hi, 

In my bootloader, it is possible to write a ldr file in flash and boot the file from flash by calling "adi_rom_Boot((void *)0x40010000, 0, 0, 0, 0x207)" and it works fine. But the size of the ldr file is now more than 64K and it is not possible anymore to boot to the application when I call the same command. Do I need a precondition when I write to the two blocks in flash?

Using BF706

Thanks



New
[edited by: SVA at 9:11 AM (GMT 0) on 2 Jun 2020]
Parents
  • If I write the ldr file into the 0x00 in flash, then I can boot the application successfully by adi_rom_Boot((void *)0x40000000, 0, 0, 0, 0x207) . The issue is when I write the ldr file at addresse 0x10000 into the flash, and then I can't boot the application by adi_rom_Boot((void *)0x40010000, 0, 0, 0, 0x207). My bootloader is at addresse 0x0000, and I want to boot the application from addresse 0x10000. 

    Any idea?

Reply
  • If I write the ldr file into the 0x00 in flash, then I can boot the application successfully by adi_rom_Boot((void *)0x40000000, 0, 0, 0, 0x207) . The issue is when I write the ldr file at addresse 0x10000 into the flash, and then I can't boot the application by adi_rom_Boot((void *)0x40010000, 0, 0, 0, 0x207). My bootloader is at addresse 0x0000, and I want to boot the application from addresse 0x10000. 

    Any idea?

Children