Skip to main content
jonathandbrandmeyer
Visitor II
June 23, 2010
Question

Configuring STM32 NULL address

  • June 23, 2010
  • 1 reply
  • 589 views
Posted on June 23, 2010 at 18:59

Configuring STM32 NULL address

    This topic has been closed for replies.

    1 reply

    swhite2
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:55

    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.