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?
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.
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?