Vector definitions

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

Moderators: RoccoMarco, barthess

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

Vector definitions

Postby wurstnase » Sun Jan 28, 2018 7:31 pm

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.
\o/ Nico

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: Vector definitions

Postby Giovanni » Sun Jan 28, 2018 9:56 pm

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
Contact:

Re: Vector definitions

Postby wurstnase » Sun Jan 28, 2018 10:16 pm

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...
\o/ Nico


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 11 guests