Here is a professional and technically detailed ticket template you can use to submit to Nordic Semiconductor (DevZone), Quectel Support, or your internal System Architect/Lead.
I have structured this to clearly highlight the hardware setup, the software stack, and the specific memory constraint issue.
Ticket Subject:
Urgent: Firmware Binary Size (598KB) Exceeds FOTA Partition Limit (150KB) on nRF5340 + Quectel EC200 Gateway
Ticket Description:
Device Overview:
-
Device Type: IoT Gateway
-
MCU: Nordic nRF5340 (Application Core)
-
Connectivity Module: Quectel EC200 (connected via UART/USB)
-
RTOS: Zephyr RTOS (nRF Connect SDK v2.x.x) [Insert your specific SDK version here]
-
Cloud Provider: AWS IoT Core
Functional Summary:
The gateway acts as a central hub. It scans for BLE Nodes using Extended Advertising packets, processes the data, and pushes it to the cloud via the Quectel EC200 modem using the AWS IoT library over HTTPS/MQTT.
The Problem:
We are implementing FOTA (Firmware Over-The-Air) updates. The current compiled application binary (app_update.bin / zephyr.signed.bin) is approximately 598 KB.
However, our current flash memory partitioning / download slot allocation appears to be restricted to 150 KB. We are unable to perform the FOTA update because the new image does not fit into the secondary slot.
Technical Constraints & Configuration:
-
Current Build Size: ~600KB (Includes Zephyr Kernel, MCUboot, BLE Host, Extended Adv support, AWS IoT Stack, Modem Drivers).
-
Target Size Limit: ~150KB (This seems unusually low for the nRF5340 App Core which has 1MB Flash).
-
Bootloader: MCUboot enabled (
CONFIG_BOOTLOADER_MCUBOOT=y).
Steps Taken So Far:
-
Enabled standard FOTA configurations (
CONFIG_AWS_FOTA,CONFIG_FOTA_DOWNLOAD). -
Attempted to optimize logging, but the size reduction is insufficient.
Requests for Support:
-
Partition Manager: Is the 150KB limit a hard constraint of the default partition manager configuration? How can we adjust
pm_static.ymlto increase the secondary slot size on the nRF5340? -
Optimization: Given that we require the AWS Stack (which relies on mbedTLS) and BLE Extended Advertising, what are the recommended Kconfig options to aggressively strip unused drivers and symbols to reduce the binary size?
-
Modem Offloading: Is it possible to offload the AWS TLS/SSL stack to the Quectel EC200 modem (using modem-internal TCP/IP stack) to remove the heavy
mbedTLSlibrary from the nRF5340 application code?