Disable OTA updates for Matter and turn off External Flash

Hi,

I'm building a small Matter device and I'm in the very early stages of prototyping.

I'm using a MinewSemi ME54BE01 module on a custom PCB.

The development kit from MinewSemi (ME54BE01) doesn't have external flash and my custom PCB won't have external flash (initially)

My code will not currently run and debugging using `west debug` shows this in response to the backtrace command

#0 z_arm_reset () at /home/tomasmcguinness/ncs/v3.1.0/zephyr/arch/arm/core/cortex_m/reset.S:73

I followed guidance from https://devzone.nordicsemi.com/f/nordic-q-a/125219/nrf-connect-debugger-stuck-on-arm-reset-s/552555  and added

CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y

This didn't help.

I now believe my problem is the External Flash configuration. I am using code from the Matter Template sample, which defines external flash.

external_flash:
  address: 0x165000
  size: 0x69B000
  device: MX25R64
  region: external_flash

If I remove the "secondary" items from the pm_static file, I just get compilation errors about the missing SECONDARY sections.

How can I turn off OTA updates and avoid the need for external flash? 

Parents
  • Hi Tomas, 
    You can take a look at the answer from one of my coworker: 
    It is possible to use the samples without OTA, but the Matter specification states in section "13.5 Firmware" that nodes shall support OTA firmware updates.
    If it is only for testing, you can disable OTA by removing the bootloader-related configs from Kconfig.sysbuild, i.e., lines 19-60. You must also modify the pm_static file to remove the MCUboot partitions.

Reply
  • Hi Tomas, 
    You can take a look at the answer from one of my coworker: 
    It is possible to use the samples without OTA, but the Matter specification states in section "13.5 Firmware" that nodes shall support OTA firmware updates.
    If it is only for testing, you can disable OTA by removing the bootloader-related configs from Kconfig.sysbuild, i.e., lines 19-60. You must also modify the pm_static file to remove the MCUboot partitions.

Children
No Data
Related