-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
bugSomething isn't workingSomething isn't workinginternal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking systemprojectsProjects-related (demos, applications, examples) issue or pull-request.Projects-related (demos, applications, examples) issue or pull-request.usbUniversal Serial BusUniversal Serial Bus
Milestone
Description
Describe the set-up
SDK Version: f0f0631
Board: NUCLEO-U5A5ZJ-Q
Compiler: IAR 9.50.1
Describe the bug (skip if none)
I'm a TinyUSB project maintainer, my planning was to compare the CDC throughput performance between usbx with a modified Ux_Device_CDC_ACM echo example.
But even without modification Ux_Device_CDC_ACM runs into hardfault on high load, tx_byte_pool_buffer overflowed and destroy all variables around. If I increase TX_APP_MEM_POOL_SIZE from 1k to 8k it crashes little later.
With attached serial testing script, crash happens about after 10 OUT transfers:
How to reproduce the bug (skip if none)
- Compile
Ux_Device_CDC_ACMproject. - Use attached script, eg.
ser_test.py COM4
sromion
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinginternal bug trackerIssue confirmed and logged into the internal bug tracking systemIssue confirmed and logged into the internal bug tracking systemprojectsProjects-related (demos, applications, examples) issue or pull-request.Projects-related (demos, applications, examples) issue or pull-request.usbUniversal Serial BusUniversal Serial Bus
Type
Projects
Status
In progress