I did some more tests to narrow the problem down.
I tested GCC 7.1.0 from the Archlinux repositories, GCC 6.3.1 from here and GCC 5.4.1 from here .
The binaries produced by GCC 7 and GCC 6 crash after a few seconds, the binary produced by GCC 5 runs without issues for hours.
The problem also ...
Search found 2 matches
- Thu Aug 17, 2017 6:08 pm
- Forum: STM32 Support
- Topic: USB CDC example crashes
- Replies: 3
- Views: 2774
- Mon Aug 14, 2017 11:23 pm
- Forum: STM32 Support
- Topic: USB CDC example crashes
- Replies: 3
- Views: 2774
USB CDC example crashes
Hi,
I'm trying to run the (unmodified) example in testhal/STM32/STM32F0xx/USB_CDC on my STM32F072B-Discovery.
The code is from svn r10430, compiler is arm-none-eabi-gcc 7.1.0.
I'm able to flash the controller and run the code and I can also connect to the board and use the terminal, but after ...
I'm trying to run the (unmodified) example in testhal/STM32/STM32F0xx/USB_CDC on my STM32F072B-Discovery.
The code is from svn r10430, compiler is arm-none-eabi-gcc 7.1.0.
I'm able to flash the controller and run the code and I can also connect to the board and use the terminal, but after ...