- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm using CYBT-343026 and tried to build and program handsfree program.
CYBT-343026 has 512KB external flash and also 848KB of ROM memory inside CYW20706.
If I did not change something of make file;
Q1: Which ROM area will be used for program instruction area?
External Flash(512KB)? or internal ROM memory(848KB)?
Q2: How can I see how much memory use the program of ROM/RAM?
And, how can I see how much memory is stil free?
The customer will have a plan to enhance program ,such as adding profile.
In such case, the customer would like to know memory usage and free memory area for each application.
*******
Q3: Is there any way to change memory boot area from internal memory to external flash or something?
If possible, I think we should change make file or setting of WICED Studio. Please tell me the way how to change it.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Q1: Which ROM area will be used for program instruction area?
External Flash(512KB)? or internal ROM memory(848KB)?
A: The code will be downloaded into External Flash and will be copied to the RAM.
ROM will contain the stack Firmware etc, to which there is no external access.
Q2: How can I see how much memory use the program of ROM/RAM?
And, how can I see how much memory is stil free?
A: The application code will be running on the RAM.
After building the project in WICED studio, you can check the Build console for the application size
how can I see how much memory is stil free? - Around 180KB is available for the application code in the RAM. So the left out memory after building the project will be equal to 180KB - Application size from the console
*******
Q3: Is there any way to change memory boot area from internal memory to external flash or something?
A: No.
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Could someone help me???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
How are things going on that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Q1: Which ROM area will be used for program instruction area?
External Flash(512KB)? or internal ROM memory(848KB)?
A: The code will be downloaded into External Flash and will be copied to the RAM.
ROM will contain the stack Firmware etc, to which there is no external access.
Q2: How can I see how much memory use the program of ROM/RAM?
And, how can I see how much memory is stil free?
A: The application code will be running on the RAM.
After building the project in WICED studio, you can check the Build console for the application size
how can I see how much memory is stil free? - Around 180KB is available for the application code in the RAM. So the left out memory after building the project will be equal to 180KB - Application size from the console
*******
Q3: Is there any way to change memory boot area from internal memory to external flash or something?
A: No.
Thanks & Regards,
Anjana
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Anjana,
Thanks for your update.
I understand some point but I'd like to clarify more.
Q4:
I think instruction includes customer application , OS(RTOS) and some of WICED library only that the customer called in their application.
And, all of that will be copied to RAM.
Is that right ?
If yes:
Q5: Build the application size in build console shows only customer application with library that it is used, not includes others,such as OS or something?
Q6: 180KB of RAM could be used for only customer application, not includes OS?
Q7: According to your picture, application size is almost 5KB so remaining instruction area is 180KB-5KB=175KB.
Is my understanding correct?
Q8: What is "Patch" in the build console?(Patch size)
Sorry for many questions.
Thank you.
--TAK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Q4:
I think instruction includes customer application , OS(RTOS) and some of WICED library only that the customer called in their application.
And, all of that will be copied to RAM.
Is that right ?
A) The OS , ROM code is running in ROM. It won't be copied in to the RAM. Only Application code will be copied to the RAM.
Q6: 180KB of RAM could be used for only customer application, not includes OS?
A) Yes, It won't include the OS
Q7: According to your picture, application size is almost 5KB so remaining instruction area is 180KB-5KB=175KB.
Is my understanding correct?
A) That particular application needs only 5KB. It will vary depending up on your specific application and code.
Q8: What is "Patch" in the build console?(Patch size)
A) Any enhancements to the particular functionality in the ROM code will be redirected to run from a modified code in some space of RAM.
That code in RAM is called patch code.
Thanks & Regards,
Anjana