Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Unable to run Matter Template sample on Adafruit Feather nRF52840

Hello.

I am attempting to run the Matter Template app sample on the Adafruit Feather nRF52840 Express board.

I created a pm_static.yml file with the following configuration

mcuboot:
  address: 0x0
  size: 0x7000
  region: flash_primary
mcuboot_pad:
  address: 0x7000
  size: 0x200
app:
  address: 0x7200
  size: 0xefe00
mcuboot_primary:
  orig_span: &id001
  - mcuboot_pad
  - app
  span: *id001
  address: 0x7000
  size: 0xf0000
  region: flash_primary
mcuboot_primary_app:
  orig_span: &id002
  - app
  span: *id002
  address: 0x7200
  size: 0xefe00
factory_data:
  address: 0xf7000
  size: 0x1000
  region: flash_primary
settings_storage:
  address: 0xf8000
  size: 0x8000
  region: flash_primary
mcuboot_secondary:
  address: 0x0
  size: 0xf0000
  device: GD25Q16
  region: external_flash
external_flash:
  address: 0xf0000
  size: 0x110000
  device: GD25Q16
  region: external_flash

I also created .overlay file with the following content:

/ {
	chosen {
		nordic,pm-ext-flash = &gd25q16;
	};
};

I built the application using a configuration for the adafruit_feather_nrf52840 target with sysbuild enabled, and the build process completed successfully. After flashing the firmware to the board, it does not show any logs via UART or RTT, and the device does not advertise itself. I suspect the application is not running correctly.

Could you help me identify what might be causing this issue or guide me on how to proceed with debugging?

Thank you.

Parents
  • Hello,

    Have you connected a J-Link device to the feather board to make reading the serial data possible? Alternatively, have you added USB CDC ACM to the board like described in this post?

    For the most relevant support, please also share which nRF Connect SDK version you are using.

    Best regards,

    Maria

  • Hello Maria,
    Thank you for your response.

    Here's some additional context about my setup and the issue:

    I’m using a J-Link device to connect the Adafruit Feather nRF52840 board to my Mac via SWD pins, and I’ve confirmed that the connection is stable. I’ve also tried using an nRF52840DK as a J-Link, but the results were the same. The Adafruit board is unmodified, but I did attempt to enable USB CDC ACM as described in the linked post. Unfortunately, even after following those steps, the device doesn’t appear as /dev/ttyACM* on my Mac.

    I’m using nRF Connect SDK version 2.8.0 and toolchain version 2.8.0. To ensure the board is functioning properly, I tested it with a non-Matter application like Blinky, which works as expected and shows logs via RTT. For this Matter Template app sample, I’ve kept the default prj.conf file from the template

  • Hello,

    Thank you for sharing more details about your setup.

    Amit Twati said:
    To ensure the board is functioning properly, I tested it with a non-Matter application like Blinky

    Good to know that the board can run simple applications.

    To see if the radio is also working, please build and run the Bluetooth LBS or Thread: CoAP Server on the Feather as well. For testing the CoAP server, run the CoAP Client on your nRF52840 DK.

    Amit Twati said:
    For this Matter Template app sample, I’ve kept the default prj.conf file from the template

    The default prj.conf will have UART as the logging method. To be able to get logging over RTT, you need these lines in the configuration file:

    CONFIG_USE_SEGGER_RTT=y
    CONFIG_RTT_CONSOLE=y
    CONFIG_UART_CONSOLE=n

    Best regards,

    Maria

Reply
  • Hello,

    Thank you for sharing more details about your setup.

    Amit Twati said:
    To ensure the board is functioning properly, I tested it with a non-Matter application like Blinky

    Good to know that the board can run simple applications.

    To see if the radio is also working, please build and run the Bluetooth LBS or Thread: CoAP Server on the Feather as well. For testing the CoAP server, run the CoAP Client on your nRF52840 DK.

    Amit Twati said:
    For this Matter Template app sample, I’ve kept the default prj.conf file from the template

    The default prj.conf will have UART as the logging method. To be able to get logging over RTT, you need these lines in the configuration file:

    CONFIG_USE_SEGGER_RTT=y
    CONFIG_RTT_CONSOLE=y
    CONFIG_UART_CONSOLE=n

    Best regards,

    Maria

Children
No Data
Related