Flash Utilisation

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

cross mob
chmoc_1567941
Level 4
Level 4

hi,

   

i am have been working on psoc-4. my flash is almost full.its about 99.1% and Sram is around 43.5%.

   

when i starting the program right now then its not working perfect.

   

but when i commented some of module and take Flash below 90% then remaining module working perfect.

   

so can anyone suggest me what is problem??

   

is that we can not use flash above 90% ?? 

0 Likes
2 Replies
Vasanth
Moderator
Moderator
Moderator
250 sign-ins 500 solutions authored First question asked

Hi Chirag,

You may have to optimize your code for size. In workspace right click on the project Build settings -> Compiler -> Optimization -> Optimization level -> size . This should solve your problem.

Best Regards,
VSRS

0 Likes
chmoc_1567941
Level 4
Level 4

Hi VSRS,

   

Thanks for your help. This is very valuable for me.

   

 

   

best regards,

   

Chirag Modesara

0 Likes