Page 1 of 1

Vector definitions

Posted: Sun Jan 28, 2018 7:31 pm
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.

Re: Vector definitions

Posted: Sun Jan 28, 2018 9:56 pm
by Giovanni
Main mistake? there is more?

Giovanni

Re: Vector definitions

Posted: Sun Jan 28, 2018 10:16 pm
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...