Hi,
I am working on an application to transfer firmware file via BLE-GATT to nRF52833.
Can you kindly suggest any sample code for me to evaluate.
Thanks,
Ubaid
Hi,
I am working on an application to transfer firmware file via BLE-GATT to nRF52833.
Can you kindly suggest any sample code for me to evaluate.
Thanks,
Ubaid
Hello,
We don't have anything like this for SPI, but we do have something like this for QSPI. See these configs:
# Required by QSPI CONFIG_NORDIC_QSPI_NOR=y CONFIG_NORDIC_QSPI_NOR_FLASH_LAYOUT_PAGE_SIZE=4096 CONFIG_NORDIC_QSPI_NOR_STACK_WRITE_BUFFER_SIZE=16 # Required by QSPI CONFIG_MULTITHREADING=y
I am sorry, I don't know the details on how this works at this point in time, but you can do some research on what these configs do in the mcuboot's source code (particularly the CONFIG_NORDIC_QSPI_NOR), and see if you can exchange the QSPI with SPI. What it does by default is just as you describe, only with SPI.
BR,
Edvin
Hi Edvin,
Thanks, For me to get started, all the mcuboot source code will be present in the folder "bootloader\mcuboot\boot\zephyr" right..?
Do i need to look elsewhere..?
Also can you tell me the file name in mcuboot project where SLOT-1 to SLOT-0 copying is happening..?
Thanks,
Ubaid_M said:Also can you tell me the file name in mcuboot project where SLOT-1 to SLOT-0 copying is happening..?
I am not sure where this is happening. Search for the CONFIG_NORDIC_QSPI_NOR.
Talking to our development team, I was told that there is actually a pull request doing more or less what you are trying to do. You can have a look at it here.
It is not in working condition at this point in time, but perhaps you can use it to get some pointers on where to look.
Best regards,
Edvin