I'm trying to init the communication with the PN1740 including DA14580 and my microcontroller. I'm using the AN-B-001 to init the UART communiction but I don't understand the booting sequence. When I powered up the PAN1740 it sends the STX 0x02 command to my RX pin of the controller. Afterward I must send the SOH 0x01 command and the LEN_LSB and LEN_MSB to download the code. But I understand that the DA14580 have the BLE stack included and now I don't now what to download and which length. I tried with length 0x00 for LSB and MSB and get an ACK too. But I don't know if this way is the right one. At the end of the boot sequence explained in AN-B-001 there's explained to send the SW code bytes to DA14580. What do you mean with this code bytes? The PAN1740 send every time 0x02 at the RX of my controller.
My usage for the DA14580 being a PAN1740 module is the communication over the UART interface with an external microcontroller. The way described in UM-B-010 but now threre's no UART communication possible.
Have you sample code for making the boot sequence with an external processor showing the process of the first boot after PAN1740 is powered up?
In UM-B-010 you write that there are "magic numbers" to get the DA14580 in normal mode without possibility to download code from external devices. What are this magic numbers and is the normal mode the mode the DA14580 uses the BLE stack?
I also have read the DA14580 datasheet with the memory management described. But I didn't found the answers to my problems.