Chibios 18.2.1 and interrupts

Discussions and support about ChibiOS/HAL, the MCU Hardware Abstraction Layer.
tsichevski
Posts: 35
Joined: Fri Feb 09, 2018 12:44 am
Has thanked: 2 times
Been thanked: 5 times

Chibios 18.2.1 and interrupts

Postby tsichevski » Wed Jun 13, 2018 7:30 am

Hi,

I'm trying to upgrade from ChibiOS_17.6.3 to Chibios 18.2.1 by replacing corresponding files in my project. I've managed to build the executable, but when started, it fires (unhandled in my case) exceptions starting from VectorF8 downward (i.e. VectorF4, VectorF0 and so on.). These were never enabled with the nvicEnableVector() call. So I gather maybe I've missed some call which disables them all first?

Regards,
Vladimir

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

Re: Chibios 18.2.1 and interrupts

Postby Giovanni » Wed Jun 13, 2018 8:12 am

Those vectors are used by the serial driver if I remember well, not sure why this is happening, try starting from a new demo as template and reintegrate your code, this will make sure that makefiles and configuration files are up to date.

Giovanni

tsichevski
Posts: 35
Joined: Fri Feb 09, 2018 12:44 am
Has thanked: 2 times
Been thanked: 5 times

Re: Chibios 18.2.1 and interrupts

Postby tsichevski » Wed Jun 13, 2018 11:49 am

Thanks, Giovanni.

No, these are the TIM8 interrupts, though I do not use this timer.
And after I've provided empty handlers for all the TIM8 interrupts, the interrupts with lesser numbers continue to trigger :(

> try starting from a new demo as template...
I did it once with ChibiOS 17, and a have a feeling, eventually, I will do it again with ChibiOS 18.
I use Atollic TrueSTUDIO, and I do not know a way to integrate the ChibiOS code with my projects other than create a library project for chibios and put all chibios files from the distro into it. So it will be a long way from a demo to my project in its current state :(

Regards,
Vladimir

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

Re: Chibios 18.2.1 and interrupts

Postby wurstnase » Wed Jun 13, 2018 12:18 pm

I remember to have a similar issue.
On my side, I had a not initialized pointer to a function. Probably you have something similar?
\o/ Nico


Return to “ChibiOS/HAL”

Who is online

Users browsing this forum: No registered users and 9 guests