6.5. Writing HEX File into OTP Memory
The SmartSnippets OTP Programmer tool enables to download the default firmware into the System RAM and write a user-defined HEX or BIN file into the OTP memory. The tool can be used to write a secondary bootloader in the OTP memory of a DA1453x/DA1458x.
The following steps are required to write the executable
secondary_bootloader_585.hex
into OTP memory with SmartSnippets
in
UART mode:
Open SmartSnippets and select the chip version as in Figure 84.
Open the Board Setup tool and select the appropriate UART as in Figure 85.
Open the OTP Programmer tool and select the image file to download.

Figure 90 OTP Programmer
Burn the
secondary_bootloader_585.hex
into the OTP memory at offset 0. Enable Application Flag 1 and Application Flag 2, set DMA Length (Length = size / 4) and burn theOTP header
.

Figure 91 OTP Programmer
Note
For more info about SmartSnippets Toolbox, see the “SmartSnippets Toolbox User manual”.