Skip to main content
sravanm
Associate
August 29, 2012
Question

AN3374 In-application programming for STM3220G-EVAL Project size over 1K

  • August 29, 2012
  • 2 replies
  • 678 views
Posted on August 29, 2012 at 22:48

The binary_template project, (which is the project to be loaded via USART) compiles to be > 1K which is the limit for this project. Is there an updated version of this app note? I have all optimizations turned on and minimal scanf/printf for the library settings.

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    August 29, 2012
    Posted on August 29, 2012 at 23:13

    The binary_template project, (which is the project to be loaded via USART) compiles to be > 1K which is the limit for this project. Is there an updated version of this app note? I have all optimizations turned on and minimal scanf/printf for the library settings.

     

    What 1K limit? What tool chain?

    Sector 0 accommodates 16KB of code. The Keil eval permits 32KB of code generation.

    The application code portion has a limit of 1008 KB (ie 1 MB less the 16 KB the loader lives in), not 1000 bytes.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    sravanm
    sravanmAuthor
    Associate
    August 29, 2012
    Posted on August 29, 2012 at 23:29

    Ohh, 

    okay well I misread that then, thanks for the quick reply!