SIGINT cause

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
joaquin
Posts: 50
Joined: Sat Jan 22, 2011 8:44 pm
Has thanked: 1 time
Been thanked: 3 times

SIGINT cause

Post by joaquin »

I had a working project with Chibios 2.2.3, and when I tried to migrate to Chibios 2.2.7 I get SIGINT signal and the program goes to _unhandled_exception subroutine.
I know it's an stupid question, but I'm not able to find out what causes the SIGINT (I suspect from the I2C irq handling I developed to read an eeprom). Anybody knows how to investigate the cause?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: SIGINT cause

Post by Giovanni »

Hi,

Hard to tell with no info, please verify if the I2C IRQ vector points to the correct handling function, that could explain the unhandled exception. You may also try to use increasing OS versions, knowing exactly which version caused the regression could help.

Giovanni
joaquin
Posts: 50
Joined: Sat Jan 22, 2011 8:44 pm
Has thanked: 1 time
Been thanked: 3 times

Re: SIGINT cause

Post by joaquin »

I coded all interrupt vectors, and I have been able to track down the problem to a HardFault. Maybe some misalignment, tough the code is exactly the same and the only thing I changed was the version of ChibiOs.. I'll take it as an oportunity to learn more about the STM32 ;-)
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: SIGINT cause

Post by Giovanni »

Are all the files from the same ChibiOS version? especially configuration files (which reside in the application).

Giovanni
joaquin
Posts: 50
Joined: Sat Jan 22, 2011 8:44 pm
Has thanked: 1 time
Been thanked: 3 times

Re: SIGINT cause

Post by joaquin »

I think so; I've done it several times with increasing versions of ChibiOs in the past with success. I'll do it over again from scratch again,just to discard any mistake.
Thanks for your advices..
Post Reply