This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 Firmware update from stm32f407 (non-OS)

Hi Everyone,

I need to develop a bootloader and a firmware update procedure.
My development environment is nRF52840, sdk 15.3.
Program download configuration 
1) Download nRF52840's firmware to stm32f407 memory from server through LTE modem. 2) RS-232C is connected between stm32f407 and nRF52840. 3) The firmware update should be performed on the nRF52840 using the nRF52840 firmware stored in the stm32f407 memory. 4) stm32f407 is non-OS.
Please advise me to develop nRF52840 Bootloader and FW Update procedure in the above environment.

Alex

Parents Reply
  • Hi Alex, 

    alex kim said:

    1. I added DEBUG inside the preprocessor symbol in the keil environment.

        Undefined symbol app_error_save_and_stop (referred from app_error_weak.o) was printed when I build in keil

     The Bootloader projects does not include the app_error.c file where app_error_save_and_stop () is defined to reduce the overal memory usage of the example. You can add it to the project from  nRF5_SDK_15.3.0_59ac345\components\libraries\util

    alex kim said:

    2. Which of the following messages would appear in uart of the secure_bootloader?

      <error> app: Received an error: 0x00000004!

     Error Code 0x04 is NRF_ERROR_NO_MEM meaning that there is No Memory for operation. Which function in the bootloader is returning this error code?

    Best regards

    Bjørn

Children
No Data
Related