Dialog Semiconductor customer support - Advanced Boot loader https://support.dialog-semiconductor.com/resource-keywords/advanced-boot-loader en Advanced Boot loader and usage of SRAM https://support.dialog-semiconductor.com/advanced-boot-loader-and-usage-sram < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

Hi,

Please let me ask the questions about the Advanced Boot loader and usage of SRAM related things on DA14583.

We would like to create the Advanced Boot loader for DA14583. I’ve already read “UM-B-012” but I would like to comfirm these related things.

Our Scenario:
- We write two application images(bin) on Flash. The size of both images are almost 32kB(ROM)/8kB(RAM). When each image is executed 40kB RAM would be consumed.
- We assign 1 Byte flag on Flash to select which image should be loaded.
- Advanced boot loader will check this flag and decide which one to boot.

Questions:
1. I suppose that Advanced Boot Loader is loaded to SysRAM and it would be executed (from 0x2000000). Size of Advanced Boot Loader is approximately 6KB. Are these right?
2. When Advanced Boot Loader loads an appriication image to RAM, are there any rooms to load? (An application image size is 40kB on RAM, but Advanced Boolt Loader have also consumed 6kB RAM…) Does it work well? Is our scenario achievable???
3. When Advanced Boot Loader loads an apprication image to SRAM, can we assign the address to be loaded on SRAM? Or, is it fixed?
4. When Advanced Boot Loader resets itself, can we set the entry address of Program Counter? or is it fixed?

Sorry for many questions, but we wouled like to confirm whether our scenario is possible or not.

Thank you very much for your supports in advance.

Best Regards,
CD

Device: 
Thu, 28 Jan 2016 13:26:21 +0000 CD 2638 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/advanced-boot-loader-and-usage-sram#comments