Page 2 of 2

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

Posted: Mon Dec 31, 2018 11:04 am
by Giovanni
Hi,

I have been unable to reproduce that problem with USB and state checker, could you provide more details?

Giovanni

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

Posted: Thu Apr 04, 2019 4:15 pm
by Nathan
Hey

I'm new to the forum.

Just wanted to say this thread helped me in case it helps anyone else.

I've been trying to run the demo on STM32F429ZI nucleo-144 board and the project compiled fine and appeared to be running on the board with the triple light flashing sequence but could not see the test output on the virtual com port.

I'm on linux using arm gcc toolchain and feel like I tried everything, settings in halconf.h, mcuconf.h etc. Searching everywhere, comparing settings in other demos.

It turns out the problem was the compiler as suggested here.

I'm fairly new to linux dev, coming from the safety of windows IDEs and so I used gcc-arm-none-eabi from the ubuntu repository thinking it would be up-to-date.

I manually installed the latest arm-none-eabi-gcc from arm, compiled the project and using:

Code: Select all

screen /dev/ttyACM0 38400

after pressing the user button on the dev board I now see the test output!

Thank you!

Re: STM32F429-DISCOVERY demo unhandled exception and state checker issue

Posted: Thu Apr 04, 2019 6:09 pm
by Giovanni
Hi Nathan,

Thanks for confirming, you are not the first hitting this kind of problems. Compilers on software repositories are "just compiled" not really tested. GCC from ARM is very well maintained and high quality.

Giovanni