Why is the fx3 img file so big? How can I reduce the size?

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

cross mob
Anonymous
Not applicable

Hi, 

   

I need to transplant one of my project from LPC18xx to cypress fx3 super speed. On LPC18xx, my img size is only <56k. 

   

After changing necessary functions, I made it work on FX3, but the total size is >250k. 

   

If look at the simplest boot loader example that FX3 provided, it's already around 200k. Why is the img so big on FX3?  What extra materials are included in FX3 img compared with LPC18xx?

   

Could anybody tell me how to reduce the unnecessary files/modules from FX3 to make it as small as my LPC18xx img?

   

Thank you very much. 

0 Likes
1 Reply
lock attach
Attachments are accessible only for community members.
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

The size of bootloader image file is around 21 KB. I couldn't understand how did get it around 200KB. Can you explain where did you get the source code and how did build the image?

   

Attached the image file bootloade code provided with SDK in the following default path - Cypress\EZ-USB FX3 SDK\1.3\firmware\boot_fw\src

0 Likes