4 Replies Latest reply on Aug 16, 2012 6:44 PM by userc_43954

    Flash space inadequate

      With a little time on the demo board, did a board design with the PSoc3 68pin version.


      I've actually been amazed at quickly getting up the JTAG, USB, A/D, D/A's, SPI, filter, various control registers and the like.


      But now with little more than test routines and demo code, used more than 32% of flash space.


      And our programmer still has to add a user interface !


      Yes when push comes to shove, we'll pull off the PSoc3 and go with the deeper PSoc5, but why not have a PSoc3 with more flash ?


      Have already gone thru configuration and whittled down the obvious, saving about 1k, but doubt will be able to get any better.


      Any suggestions ?



        • 1. Re: Flash space inadequate

          The flash limit of 64K is caused by the 8051 core structure. Pointers are only 16 bit wide, the upper bytes of a pointer are used to specify to which memorty area it points to.


          30% used already? 10% was used to  program the hardware (components) another part is the firmware for the used components which is not a small amount.


          70% free for a user interface can be sufficent, I would be more optimistic.





          • 2. Re: Flash space inadequate

             It's quiet normal the first 20K is used up quickly. This has to do with component api's and included Keil libraries. For example the DeltaSigma ADC component already uses almost 4K of flash.




            When I started using PSoC3 I was amazed also how quick the first 30K was used. But, as all components, libraries and startupcode already are placed in flash, you will see how long it takes before you use up the next 10K.




            You also have EEPROM you can use for GUI or settings. And only 'bare' code doesn't consume much.







            • 3. Re: Flash space inadequate

              This might help -








              Regards, Dana.

              • 4. Re: Flash space inadequate

                Much thanks for the consensus. So maybe no "push to shove" afterall.


                Yes I recall a number of FPGA usages where I quickly got to 65-70%, but years later never was able to fill it up, or not route it.


                And good tips too for later.