This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Program Size

Dear All, Iam new to STM32F103ZE evaluation kit and realview compiler in uVision 3.24,just i tried some example programs. The Total ROM size is too high for simple application programs.
Total ROM Size (Code + RO Data + RW Data) 31892 ( 31.14kB) By checking the map file it shows like

Load Region Execution Region ER_IROM1 (Base: 0x08000000, Size: 0x000001c4, Max: 0x00080000, ABSOLUTE)

Execution Region ER_IROM2 (Base: 0x08004180, Size: 0x000027d8, Max: 0xffffffff, ABSOLUTE, FIXED)

Just its skipping about 16kb from LR-IROM1 and starts from ER_IROM2. I tried for optimization but still it remain same. And I tried the option in Target IROM1 to set in 0x8000000 and IROM2 in 0x8000500 but still it takes like old 0x08004180.

please let me know what would be the problem.In Evaluation version scatter file also not possible to create iguess.

Rgds
Rajesh

Parents
  • Hi,
    Iam using Keil MCBSTM32E ,and i tried all type of example its doing the same
    just i tryied simple program which contains only main
    and startup file.where startup file creates by keil automatically,the gives the result like this.

    Total ROM Size (Code + RO Data + RW Data) 17264 ( 16.86kB)

    The Problem is this

    Region$$Table$$Base 0x08000144 Number 0 anon$$obj.o(Region$$Table)

    Region$$Table$$Limit 0x08000154 Number 0 anon$$obj.o(Region$$Table)
    __ARM_argv_veneer 0x08004155 Thumb Code 4 lib_init.o(.emb_text)

Reply
  • Hi,
    Iam using Keil MCBSTM32E ,and i tried all type of example its doing the same
    just i tryied simple program which contains only main
    and startup file.where startup file creates by keil automatically,the gives the result like this.

    Total ROM Size (Code + RO Data + RW Data) 17264 ( 16.86kB)

    The Problem is this

    Region$$Table$$Base 0x08000144 Number 0 anon$$obj.o(Region$$Table)

    Region$$Table$$Limit 0x08000154 Number 0 anon$$obj.o(Region$$Table)
    __ARM_argv_veneer 0x08004155 Thumb Code 4 lib_init.o(.emb_text)

Children