Forum : ARM
Original Post
Post Information | Post |
---|---|
January 18, 2010 - 1:09pm
|
I've just encountered a problem with my software that occupies only 8kB of FLASH. My project uses STM32F103C8T6 device (64KB of FLASH) There is one constant in my software that must be placed at address 0x800FFFE. When I start debugging session the debugger dsiplays "Code size limit exceeded" despite the fact the software doesn't exceed 32K debug limit. |
Hi,
The "32K limit" means that you cannot use addresses higher than 0x8000 + . The fact that you don't use a part of the lower addresses does not allow you to use the higher addresses instead.
If you need to use addresses higher than 32K, you have to purchase the PRO version of the RLink, or develop without debugging. You could move the variable to a lower address when you want to debug and then put it back in the higher address when going to production, but that might increase the risk of bugs in the production version.
Best Regards,
Vincent