2010-06-23 09:59 AM
Configuring STM32 NULL address
2011-05-17 04:55 AM
No its not possible to disable this.
The STM32 flash starts at 0x08000000 but the ARM exception vector table needs to be at 0x00000000 after reset so the entire flash is aliased starting at 0x00000000. If you have a part with an MPU (memory protection unit), and most don't (the STM32L15x data brief says they will), you could possibly program that to produce a fault when 0x00000000 is referenced. BTW this is shown in the specific datasheet (NOT manual!) for the particular STM32 you're using. Look in the ''Memory Mapping'' section.