AnsweredAssumed Answered

STM32F030 Vector Table Relocation Problem

Question asked by dupont.michael on Jul 18, 2014
Latest reply on Sep 26, 2014 by Clive One
Have used sample code provided by forum-master, Clive, to relocate my application's vector table to 0x20000000 (base of RAM) in preparation for use with a bootloader.  I also referred to app note AN4065 and the associated sample code.

When I run the code with this relocation, my interrupts all act erratically (in particular, EXTIs appear to trigger from unrelated events).  Power-cycling the prototype results in inconsistent behaviour from one power-up to the next.

The sample code with AN4065 is extremely simple and my application is using a whole bunch of interrupts.

Exact code without vtable relocation executes flawlessly.  It's as though RAM is "lost."  What am I NOT doing that I should be doing?

Thanks for any insight.
MDupont


Outcomes