Hi,
In the process of testing DFU on the hardware, I am trying to send the DFU Packets through a TTL Cable to a different pins(P0.02, P0.03. No HWFC) instead of sending them from onboard J-Link. Here's what I did:
- In the "Project ‘secure_bootloader_uart_mbr_pca10056’" project, I updated the UART Tx and Rx pin definitions in "nrf_dfu_serial_uart.c -> uart_dfu_transport_init()"
- Merged this hex file with Settings, MBR and Application hex files and flashed the same onto the board. The board bootsup as expected.
- Created the Zip file for application.
- Send the DFU packets using
nrfutil dfu serial -pkg PD52840V1R3_PA_Secure.zip -p COM4
where COM4 is the TTL Cable COM port.
No matter what I do, i could never send the packets through the TTL cable. However, everything's working fine using the JLink.
This post explains that I will need to update the nRFUtil as well. But, I don't know how. Can you please help me update the nRFUtil and Compile it in a way I can test the DFU on the custom board?
Thanks