The datasheet says that "During the boot sequence, the four SPI pins of port P2 are used to access the internal Flash memory." (p. 19 Table 1 of DA14586 datasheet). Can I write to this memory area when the DA14586 boots? I'd like to write the firmware image to the DA14586 using the SPI interface (P2_0/SPI_CLK, P2_3/SPI_EN, P2_4/SPI_DO, P2_9/SPI_DI).
Is there information about the protocol that I'd need to use to write to the flash when it boots?
Thanks