lpcware

reset vector

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by IanB on Wed Sep 17 04:15:59 MST 2014
I've just been writing my first interrupt service routine in assembler. I learned the hard way (unexplained hard fault error, and much re-reading of Joseph Yiu's book) that bit zero of the interrupt vector must be set so that the processor knows it's a thumb instruction, and now it works.

So why has all my previous software worked - the reset vector has always been even? (Bit zero clear)

Outcomes