STM32F746GDISCOVERY _unhandled_exception problems

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

Moderator: RoccoMarco

Post Reply
rolanddixon
Posts: 26
Joined: Wed Feb 25, 2015 9:45 pm
Has thanked: 1 time
Been thanked: 2 times

STM32F746GDISCOVERY _unhandled_exception problems

Post by rolanddixon »

I am having problems with the STM32F746GDISCOVERY board at startup. Execution jumps straight into _unhandled_exception before it gets to main(). I have tried chibios161 and chibios_trunk with GCC 4.7, 4.8 and 4.9. This is happening for all STM32F7 examples in the chibistudio workspace. I have tried changing compiler optimisation values, fpu settings, LTO settings, etc. with no success. Is there anyone else experiencing these problems? Any solutions?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32F746GDISCOVERY _unhandled_exception problems

Post by Giovanni »

Hi,

Clock setup is done before reaching the main() function, it is possible that something is happening there.

Can you try another board? it is strange because it is the one I use for general development.

Giovanni
rolanddixon
Posts: 26
Joined: Wed Feb 25, 2015 9:45 pm
Has thanked: 1 time
Been thanked: 2 times

Re: STM32F746GDISCOVERY _unhandled_exception problems

Post by rolanddixon »

Thank you for the reply. It's working today and the only thing that I have changed was a firmware update on the st-link/V2. Excited to try this beast out now. I see there is a second round of STM32F7 chips, this time they have ARM's double precision FPU design. Should be interesting...
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: STM32F746GDISCOVERY _unhandled_exception problems

Post by Giovanni »

Yes, and there should be a 400MHz dual core device later this year, they are moving fast.

Giovanni
Post Reply