nRF7002DK Board Compilation Issues with MCUboot Solutions

Hello everyone, I’m reaching out to share my experience and seek some guidance regarding the nRF7002DK development board. I’ve been working on integrating MCUboot into my project, but I’m encountering some challenges that I can’t seem to resolve on my own. I thought this community might offer some insights or solutions.

So, here’s what’s been happening. I’ve been following the Nordic Semiconductor nRF Connect SDK Intermediate lessons, specifically Lesson 9 (formerly Lesson 8), which focuses on DFU (Device Firmware Update) using MCUboot. The exercises provided in these lessons work perfectly on the nRF52833DK board, but when I try to compile them for the nRF7002DK board, I run into issues. The compilation process fails with errors related to memory overflow in the FLASH and RAM regions. This is puzzling because the nRF7002DK is supposed to support USB, which is critical for our DFU implementation.

I’ve tried both the nrf7002dk_nrf5340_cpuapp and nrf7002dk_nrf5340_cpuapp_ns targets, but neither seems to resolve the problem. The error messages indicate that the ‘rodata’ and ‘bss’ sections are exceeding the available memory, which suggests that the memory footprint of the solution might be too large for the nRF7002DK’s CPU core. This is particularly frustrating because the same code works seamlessly on the nRF52833DK board.

I’ve also noticed that even the simpler Exercise 1, which uses UART for DFU, fails to compile for the nRF7002DK. This makes me think that there might be a fundamental issue with how the nRF7002DK is being configured or supported in the SDK. I’ve checked the documentation and forums, but I haven’t found any clear solutions yet.

I’m curious if anyone else has encountered similar issues when working with the nRF7002DK board. Have you successfully integrated MCUboot or implemented DFU on this platform? I’d love to hear about your experiences and any workarounds or best practices you’ve discovered.

In the meantime, I’ll continue to troubleshoot by exploring different configurations and optimizing the memory usage. Maybe there’s a way to reduce the code size or adjust the memory partitions to fit within the nRF7002DK’s constraints. I’ll also reach out to Nordic Semiconductor’s support team to see if they can provide any additional insights.

Thank you for taking the time to read my post. I look forward to hearing from you and hopefully finding a resolution to this challenge!