We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
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)
Yes, the problem is that Keil gives a 16kB filler to make sure people don't use the eval version for commercial projekts. So you are not expected to be able to "fix" this problem. Either accept the extra code size, or buy a license.
More on this: http://www.keil.com/forum/docs/thread13392.asp
"Yes, the problem (sic?) is that Keil gives a 16kB filler..."
Problem? Isn't this what they mean when they state in the "Limitations" of the free Evaluation:
"The vector table, reset handler, and library initialization code are linked at the base address. The remaining user code and constants are offset from the base address by 0x4000 (16 KBytes). Programs generated with the Evaluation Version of the tools may not be programmed into single-chip devices with less than 16 KBytes of on-chip ROM/Flash."
http://www.keil.com/demo/limits.asp
So it sounds like it is doing exactly what it says on the tine - isn't it?
Oops: I mean, of course, "exactly what it says on the tin"
Did you reinstall your computer, or just woke up and decided that today was a good time to switch from "Andy" to "Andrew"?