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?
SIGINT cause
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SIGINT cause
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
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
Re: SIGINT cause
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 
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: SIGINT cause
Are all the files from the same ChibiOS version? especially configuration files (which reside in the application).
Giovanni
Giovanni
Re: SIGINT cause
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..
Thanks for your advices..