Vector definitions

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderator: RoccoMarco

Post Reply
User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times

Vector definitions

Post by wurstnase »

Hi all,

I'm playing with a very custom STM32F103VCT6 board.
Unfortunately it will hit an unhandled exception. When I'm adding a

Code: Select all

void VectorFC(void)   {
  while (true) ;
}


in main, I run in the next unhandled exception. Any hints are welcome.
https://github.com/Wurstnase/chibios-rt-stm32f103vc

Edit: Just found my main mistake. Reset the config to NULL but using it. I should add more osalDbgCheck to my setup.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Vector definitions

Post by Giovanni »

Main mistake? there is more?

Giovanni
User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times

Re: Vector definitions

Post by wurstnase »

The main mistake I couldn't identify :)

E.g. using chThdSleepMilliseconds in locked state. But with the debug options enabled in chconf.h it is very simple to catch them, and learning...
Post Reply