#56 Cortex-m3 MPU port: memory regions rearrangement

open
nobody
None
5
2012-04-18
2012-04-18
Anonymous
No

Please, make possible to place privileged_functions (which includes interrupt vector table) outside of FLASH_segment.
It's needed when developer wants to debug code in large external SRAM on STM32 device. STM32 implementation (and may be many others) doesn't allow setting of SCB VTOR address to point at external SRAM, but allow point to small internal SRAM. Vector table can't be moved outside privileged_functions in usual way. Of course, developer could move it out but he will have to use one of three user memory regions. I believe this is unfair waste of user regions.

P.S. FLASH_segment should be renamed to something like CODE_segment. It sounds much more correctly.

Discussion