What is the minimal Flash size for a USB bootloader?

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

cross mob
JoBr_1593366
Level 5
Level 5
100 sign-ins 50 questions asked 100 replies posted

On a new project, I'm a little worried about the Flash consumption (a previous project was using 94%). 

For my reference, what's the smallest possible USB Bootloader on PSoC3?  With PK51 and optimization 11, I'm getting 13500 B = 21% of Flash right now.

0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi  @JoBr_1593366 

I tried creating a simple USBFS Bootloader project using PSoC Creating 4.4 for PSOC 3. I used only these two components in the TopDesign. I have also set the optimization to 11. After building the project I got the following memory utilization:

Flash used: 17698 of 65536 bytes (27.0%). Application: 17442 bytes. Metadata: 256 bytes.
SRAM used: 1021 of 8192 bytes (12.5%). 

You can also refer to the PSoC 3 Code and Memory Optimization techniques that may help you to decrease the flash size in you project.

Could you provide more details regarding the issue you are facing?

Thanks and Regards

Ekta

 

View solution in original post

1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hi  @JoBr_1593366 

I tried creating a simple USBFS Bootloader project using PSoC Creating 4.4 for PSOC 3. I used only these two components in the TopDesign. I have also set the optimization to 11. After building the project I got the following memory utilization:

Flash used: 17698 of 65536 bytes (27.0%). Application: 17442 bytes. Metadata: 256 bytes.
SRAM used: 1021 of 8192 bytes (12.5%). 

You can also refer to the PSoC 3 Code and Memory Optimization techniques that may help you to decrease the flash size in you project.

Could you provide more details regarding the issue you are facing?

Thanks and Regards

Ekta