missing vectors
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2009-09-14 4:33 PM
Posted on September 15, 2009 at 01:33
missing vectors
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:23 AM
Posted on May 17, 2011 at 13:23
I am using Keil MDK V3 to develop a project based on the STM32F103RDT6 device. I am also using the ST fwr libraries for setting up peripherals.
Problem: I have noticed that there are 17 external vectors missing in the STM32F10x.s file that is created when the MDK project is first created. The lack of vectors cases a hardfault exception error (IAC violation) if trying to use IRQ's on say UART5. I have searched on the net and forums and can not find a full vector table version of the STM32F10x.s file. Has anyone else had this problem and found a complete vector table file or am I missing something fundamental. Any help appreciated please.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 4:23 AM
Posted on May 17, 2011 at 13:23
Simply set all unused / unknown vectors to “dc32 xxx� then “xxx: b xxx�. If you know the name use that name. Thus at 0x6c I have “dc32 DmaChan1� then at DmaChan1 I have “b DmaChan1�
That way if some vector gets used unexpectedly you will stop hard and with your debugger you at least have a clue as to what happened.