CYBT343026 RAM usage

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
mdelfiasco
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hello, I have found on my project that when the amount of used RAM is quite high the BT stack will not boot.

To simplify things I have modified one of the software examples to show the issue.

The attached example will:

- give a link error with BSS_SIZE = 256K (ok, just for test)

- work with BSS_SIZE = 64K

- not work with BSS_SIZE = 128K

It seems that the BT stack is unable to boot. Is it a dynamic memory allocation problem by the BT stack boot?

What is the maximum amount of RAM that the application can use?

I expect a link error if my memory layout violates some critical rule, isn't it?

BR

0 Likes
2 Replies
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

Hi,

343026 uses CYW20706.  As the datasheet shows:

The microprocessor also includes 848 KB of ROM memory for program storage and boot ROM, 352 KB of RAM for data scratch-pad, and patch RAM code.

Hence the RAM you can use is < 352 KB, Considering the RAM patch size.

Best regards

0 Likes

Hello,

I'm well below 352K and the BT stack seems to have problems booting up (i.e. puart_app_management_cback() is not called). I'm asking how much RAM my application can really use?

0 Likes