Hello Dialog Support Team,
Is there a way to permanently disable execution of the default BootROM code? (For example, by setting some fuse bits or something similar.) The goal is to write customer specific boot loader without use of the default BootROM code. Is it possible to achieve this goal somehow?
If this question was already answered, please, provide the link to the answer.
Thanks.
Keywords:
Device:
Hi pmor,
You could burn a secondary bootloader in the OTP in order to bypass the execution of the ROM Booter. It can be used to replace the ROM bootloader in case a faster booting sequence is needed. Please read theUM-B-012 DA14580/581/583 Creation of a secondary boot loaderfor getting more information regarding the secondary bootloader. The secondary bootloader application code is located in the SDK under \utilities\secondary_bootloader.
Thanks, PM_Dialog
Hello PM_Dialog,
Thanks for the answer.
We have been already consulted this document.
1. Let us precise the terminology. Under the term «BootROM code» or «ROM code» or «ROM Booter» (as you said) we understand the term «the primary boot code (ROM code)» as mentioned in the document above.
2. We understand that it is possible to burn a secondary bootloader in the OTP memory.
3. We don't understand how this (item #2) will cause bypassing of the execution of the BootROM code, because it is the BootROM code, which executes at the power up and then checks whether the OTP memory has been programmed. Please, consider this citation (from the document above): «At power up or reset of the DA14580/581, the primary boot code (ROM code) will check whether the OTP memory has been programmed».
4. What we need is to completely disable (or bypass) execution of the primary boot code at the power up. Is it possible at all?
Many thanks.
Hi pmor,
You cannot replace the BootROM code as it is in the ROM. You can only use a secondary bootloader.
Thanks, PM_Dialog