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

Download firmware over I2C for another MCU

Hello,

I have a custom board which has NRF52832 SOC(i.e. main MCU) and another ARM Core-M0-based MCU(i.e. target MCU). These two are connected over I2C. I wonder how to download firmware of target MCU from NRF52832 SOC to this target MCU over I2C?

I know we can flash SoftDevice, Bootloader, and Application to NRF52832 by using nRFgo Studio, but what about firmware for target MCU? How do I attach the target MCU's firmware(*.HEX) to the HEX files mentioned above and then doing the target MCU firmware downloading between main MCU and target MCU over I2C?

Im using Nordicsemi nRF5 SDK v11.0.0.

I'm very new to this area and hence your suggestions and experience in this regard will be very helpful.

Many thanks in advance.

Parents
  • @RogerClark ,thanks for your reply and kind reminder. I've modified those two MCUs as main MCU and target MCU. As you said, I want to program the firmware of target MCU. I'm a little confused about "I2C bootloader" for target MCU, does it mean that a bootloader locates in target MCU and can communicate with other MCU via I2C protocol?

    Besides, is it possible to download target MCU's firmware to main MCU via Device Firmware Update (DFU), and then forward the firmware to the bootloader(e.g. ROM) located in target MCU. If so, could I refer to the dfu example within SDK? Thanks!

Reply
  • @RogerClark ,thanks for your reply and kind reminder. I've modified those two MCUs as main MCU and target MCU. As you said, I want to program the firmware of target MCU. I'm a little confused about "I2C bootloader" for target MCU, does it mean that a bootloader locates in target MCU and can communicate with other MCU via I2C protocol?

    Besides, is it possible to download target MCU's firmware to main MCU via Device Firmware Update (DFU), and then forward the firmware to the bootloader(e.g. ROM) located in target MCU. If so, could I refer to the dfu example within SDK? Thanks!

Children
No Data
Related