USB RAM use

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB RAM use

1,570 次查看
CCandido
Contributor V

Hi,

library usb Virtual Com Port, use 17K RAM.

question 1:

there is a way to decrease the ram size used ?

type const in flash.

pastedImage_2.png

question 2:

how to switch CDC, with request to send or without.

or, how to automatic ECHO request to send MCU.

my code ever send Frame (resquest to send).

cdc without uart.

thanks,

Carlos.

标签 (1)
0 项奖励
回复
2 回复数

1,375 次查看
lpcxpresso_supp
NXP Employee
NXP Employee

Hi Carlos,

The data portion of RAM usage will consist of various elements including heap, stack, variables, buffers etc. The allocation sizes for the heap and the stack may be candidates for reduction:

The MCUXpresso IDE User Guide chapter 'Memory Configuration and Linker Scripts' covers this are is some detail - in particular see 'More advanced heap/stack placement'.

The requirement for buffer space within a USB project will typically be chosen based on some performance requirement. You would have to perform some local testing to see what penalties might be seen if these were reduced.

Questions relating to specific SDK projects should be raised in the SDK forum - where the SDK, MCU, board and project name should be given.

Yours,

MCUXpresso Support

0 项奖励
回复

1,375 次查看
CCandido
Contributor V

Hi  Support,

I'll try to reduce this size.

thanks,

Carlos.

0 项奖励
回复