Replacement of BootROM by customer specific boot loader

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
4 posts / 0 new
Last post
pmor
Offline
Last seen:1 year 8 months ago
加入:2019-06-03 19:11
Replacement of BootROM by customer specific boot loader

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:
PM_Dialog
Offline
Last seen:3 days 3 hours ago
工作人员
加入:2018-02-08 11:03
Hi pmor,

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

pmor
Offline
Last seen:1 year 8 months ago
加入:2019-06-03 19:11
Hello 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.

PM_Dialog
Offline
Last seen:3 days 3 hours ago
工作人员
加入:2018-02-08 11:03
Hi pmor,

Hi pmor,

You cannot replace the BootROM code as it is in the ROM. You can only use a secondary bootloader.

Thanks, PM_Dialog