Hi All,
I use a custom DA14531 board connected to the DA14531 DEVKIT-PRO. I am able to program the ble_app_barebone еxample in the SYS RAM and execute, the board is working fine.
I am able to program the ble_app_barebone example to the SPI Flash on my board with SmartSnippet Toolbox and the process is sucessfull (I can read the flash and see that I've burned it successfully with the SmartSnippet Toolbox). The problem is that I use the following configuration on my custom board:
SPI-CLK: P0_4; SPI-CS: P0_1, SPI_MISO: P0_3 & SPI_MOSI: P0_6
So when I reset the board the DA14531 SoC cannot read from the SPI flash. As I understand this is because the DA14531 DEVKIT-PRO uses a Configuration Script stoared in the OTP header that tells the processor to use the default SPI configurations SPI-CLK: P0_4; SPI-CS: P0_1, SPI_MISO: P0_3 & SPI_MOSI: P0_0.
Where can I find the Configuration Script source code so I can change the SPI pins to match my custom header? What is the procedure to compile it & flash it to my custom board's OTP?
FYI: I tried modifying the flash_programmer_531.bin and the secondary_bootloader_531.bin (to use my SPI configs MOSI: P0_6), but this didn't make any difference.
Thanks,
Yordan