DA14580
Comparison between the internal OTP and external memories
At power up or reset of the DA14580 the primary boot code (ROM code) will check if the OTP memory is programmed.
- In this case the DA14580 enters “Normal Mode” and proceeds with mirroring the OTP contents to System RAM and program execution.
- Otherwise, it enters “DevMode” and it scans a predefined number of pins to communicate with external devices using the three interfaces available on chip: UART, SPI and I2C.
SUOTA
Two different schemes are provided when SUOTA is used:
- Scheme 1: The secondary bootloader is stored in the external non-volatile memory.
- Scheme 2: The secondary bootloader is burnt into the internal OTP.
Booting
If single application binary was used without second bootloader, an additional 8 bytes need to be add at the head of the binary, then put it in address 0x0000
This register is modified in bootloader to execute user application