USB RAM use

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

USB RAM use

1,517件の閲覧回数
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,322件の閲覧回数
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,322件の閲覧回数
CCandido
Contributor V

Hi  Support,

I'll try to reduce this size.

thanks,

Carlos.

0 件の賞賛
返信