HI,
I need help on the bootloader. I could not get it work.
thanks,
David
HI,
I need help on the bootloader. I could not get it work.
thanks,
David
Hi David,
I've tested this with SDK 16.0.0. I didn't make any modifications to the bootloader except for changing the public key. To test it, unzip the attached zip and program the softdevice and bootlaoder in \dfu_test\bl+sd. Then try to do DFU with the included app_dfu.zip package.
Note: there seems to be a bug in the latest pre-release of nrfutil. Please make sure you're using nrfutil v.5.2.0. https://devzone.nordicsemi.com/f/nordic-q-a/54202/error-of-invalid_object-when-using-nrf-connect-desktop-after-generating-dfu-zip-file-with-new-keys
Hi Vidar,
Do you have the document for bootloader?
How it initializes and sends data package to from the APPs to bootloader?
I mean the shakehand of the communication between the Apps & bootloader.
Thanks,
David
Hi David,
The Message sequence charts in the bootloader documentation illustrate the packet exchange between the app (dfu master) and the bootloader.
Regards,
Vidar
Hi Vidar,
Following is my uart txd code:
Case #1: it is good. I sends 10 bytes and it receives 10 bytes
void sendData()
{
uByte Array[10] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A};
HAL_UART_Transmit(&huart1, (uint8_t *) Array, 10, 200);
}
case#2: it does not work. I sends 10 bytes but it receives 182 bytes. Do you know why?
void sendData()
{
uByte Array[10] = {0x01,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xAA};
HAL_UART_Transmit(&huart1, (uint8_t *) Array, 10, 200);
}
Hi Vidar,
Following is my uart txd code:
Case #1: it is good. I sends 10 bytes and it receives 10 bytes
void sendData()
{
uByte Array[10] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A};
HAL_UART_Transmit(&huart1, (uint8_t *) Array, 10, 200);
}
case#2: it does not work. I sends 10 bytes but it receives 182 bytes. Do you know why?
void sendData()
{
uByte Array[10] = {0x01,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xAA};
HAL_UART_Transmit(&huart1, (uint8_t *) Array, 10, 200);
}
Hi Vidar,
I sent data from other CPU to the nRF52810 CPU over UART
Thanks,
David