[EXT_EP-11655] [Data Stream][Display] display_printf() is fail when try to print data larger then threshold of 300-500 bytes Created: 05/Mar/24  Updated: 22/Aug/24

Status: Accepted
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: TI User Assignee: TI User
Resolution: Unresolved Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: SimpleLink CC13x2-26x2 SDK BLE5 Stack
Internal ID: BLE_AGAMA-4846
Found In Release: BLE Stack BLE5-2.2.9 RC6
Fix In Release: BLE Stack BLE5-2.2.11

 Description   

Affects version - SDK 7.40.00.63 

Failed in CC13X4 / CC26X4 platforms:

CC1354P10-6 - Only TICLANG
CC2674P10 - Only TICLANG
CC2674R10' - IAR & TICLANG
CC1354P10-1' - IAR & TICLANG

RTOS: TIRTOS & FREERTOS

Tests description:
Stream Data in range of 256 bytes to 1024 bytes.

Problem description:

Writing long char value with fragmented data over threshold of 300-500 bytes fails. Exact value depends on rtos and compiler used.

After writing long char value in size over the mentioned threshold, the expected ATT_ExecuteWriteResponse event is not coming up. It is coming up in delay with status bleNotConnected.
 

The issue occurs because the MenuModule_printf is not able to handle 300-500 bytes transaction and sending the device to ASSERT:

 case HAL_ASSERT_CAUSE_STACK_OVERFLOW_ERROR:
        Log_error0("*ERROR*");
        Log_error0(">> STACK OVERFLOW!");
        HAL_ASSERT_SPINLOCK;
        break;


Generated at Sat Apr 05 07:21:17 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.